spawning stations

The place to discuss scripting and game modifications for X²: The Threat.

Moderators: Scripting / Modding Moderators, Moderators for English X Forum

ROLSTONE
Posts: 68
Joined: Mon, 7. Jun 04, 02:09
x2

spawning stations

Post by ROLSTONE »

sorry if I'm becoming something of a pest :P

after browsing throught he create station commands I found there are templates for almost every kind of factory for all the 5 major races.

to take a looksie I spawned a 25mw shield factory of the Argon flavour, I was able to give it it's shielding, make energy cells, meatsteaks and Ore it's Primary resources, able to make 25MW shields it's product.

the problem I am having is how to set how much of each resource the production cycle requires and how much time the cycle takes.

I'm new to scripting so please be gentle :D
User avatar
Burianek
Posts: 2981
Joined: Mon, 29. Dec 03, 03:29
x3tc

Post by Burianek »

Production parameters such as cycle time, resources required etc. are defined in the types files based off of the relvalue of the individual wares.
I know that doesn't make sense, sry.
I have a tutorial on station creation and economy stuff linked from the tutorials sticky, it's a decent read.
Cheers.
"Nature's first green is gold" . . . stay golden.
ROLSTONE
Posts: 68
Joined: Mon, 7. Jun 04, 02:09
x2

Post by ROLSTONE »

okay having read your notes I am still at a loss to find his command to start production cycles the nearest I can find is:

<refname>Station trade and production commands:on <var>

under trade commands, but when I added this to the bottom of my script as $station for my refname and [TRUE] as the variable, nothing happens...

:?
User avatar
Red Spot
Posts: 3461
Joined: Fri, 4. Feb 05, 13:44
x3

Post by Red Spot »

what he means is (if I've got it correct) ..

is that prices/cycles and such are being set by numbers in certain files ..
(the T-files)..



G
User avatar
Burianek
Posts: 2981
Joined: Mon, 29. Dec 03, 03:29
x3tc

Post by Burianek »

ROLSTONE,
If you've set up primary resources and products, that command will start the factory producing.
It's the right one.
Cheers.
"Nature's first green is gold" . . . stay golden.

Return to “X²: The Threat - Scripts and Modding”