How do you add a station kit to a TL ? (resolved)
Moderators: Scripting / Modding Moderators, Moderators for English X Forum
-
- Posts: 14163
- Joined: Sun, 16. May 04, 13:01
How do you add a station kit to a TL ? (resolved)
How do you add a station kit to a TL ?
For the life of me, I cant figure out how to specify the station kit into a variable so you can add the variable to the ship.
Can I buy a vowel please ?
For the life of me, I cant figure out how to specify the station kit into a variable so you can add the variable to the ship.
Can I buy a vowel please ?
Last edited by apricotslice on Wed, 5. Aug 09, 12:01, edited 1 time in total.
-
- Posts: 2255
- Joined: Mon, 31. Oct 05, 08:44
Re: How do you add a station kit to a TL ?
Hi mate, not at home to look but if you have Cycrows Cheat Script installed (for testing of course!) there is an Add Station to TL command.apricotslice wrote:How do you add a station kit to a TL ?
For the life of me, I cant figure out how to specify the station kit into a variable so you can add the variable to the ship.
Can I buy a vowel please ?
LA
-
- Posts: 3144
- Joined: Sun, 19. Dec 04, 02:41
-
- Posts: 813
- Joined: Fri, 11. Nov 05, 23:18
-
- Posts: 2255
- Joined: Mon, 31. Oct 05, 08:44
I get you, will it not istall as a ware? Just been through this with the MPM rebuild, ST in the hold get returned as a ware and I just check for storade type.apricotslice wrote:Its not helpful.
I'm scripting a TL ship into a game start and want to add a station in its cargo bay.
The cheat script accepts the station type from user input, I need to select it automatically. Thats the bit I cant work out.
Could simply be:
$ware = {station}
= $ship-> add 1 units of $ware
LA
Last edited by Logain Abler on Wed, 5. Aug 09, 12:18, edited 1 time in total.
-
- Posts: 3144
- Joined: Sun, 19. Dec 04, 02:41
the command, <retvar/if><expression>, becomesapricotslice wrote:How do I put the station in the variable though ? Thats my problem.
$var = <?> ...
Then you choose the <?> and pick down somewhere near the bottom 'select station type', and choose a CCK?
edit
meh i really should stay out of these discussions, ive got no clue wtf im doing >.<
Last edited by Lancefighter on Wed, 5. Aug 09, 11:57, edited 1 time in total.
-
- Posts: 14163
- Joined: Sun, 16. May 04, 13:01
Doesnt work.Logain Abler wrote: Could simply be:
$ware = {station}
= $ship-> add 1 units of $ware
But I'm not sure I'm using the right command.
The only one I can find is $ware = datatyp[station]
If there is another one, where the h*ll is it on the menus ?
Edit : Lancefighter, I'll try that, thanks
Edit 2 : That was it !!!

Typical, the totally simple command that hides in the menu as a complicated one. Couldnt see the tree for the forrest.
Thanks everyone

-
- Posts: 3144
- Joined: Sun, 19. Dec 04, 02:41
-
- Posts: 3144
- Joined: Sun, 19. Dec 04, 02:41
-
- Posts: 3144
- Joined: Sun, 19. Dec 04, 02:41
-
- Posts: 14163
- Joined: Sun, 16. May 04, 13:01
-
- Posts: 14163
- Joined: Sun, 16. May 04, 13:01
Me too. Its these little things that do your head in when your programming.
That completes a game start for me, for now.
Next thing I need to work out is the timing factors. As in I'm thinking of adding a job that spawns every 6 hours. If the Battlestar Galactica start is used, I'm thinking that a Cylon attack spawning every 6 game hours would be realistic
That completes a game start for me, for now.
Next thing I need to work out is the timing factors. As in I'm thinking of adding a job that spawns every 6 hours. If the Battlestar Galactica start is used, I'm thinking that a Cylon attack spawning every 6 game hours would be realistic

-
- Posts: 3144
- Joined: Sun, 19. Dec 04, 02:41