Creating Stations

The place to discuss scripting and game modifications for X³: Reunion.

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

Post Reply
Adius Silver
Posts: 9
Joined: Sat, 5. Nov 05, 16:36
x3

Creating Stations

Post by Adius Silver » Sun, 6. Nov 05, 02:51

i Have managed to create a station using the script editor, but i can't re-position them...

Any idea's?

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

Post by Burianek » Sun, 6. Nov 05, 20:46

You can't move a station that's already been placed.
You'd have to destroy it and create a different one.
Cheers.
"Nature's first green is gold" . . . stay golden.

Adius Silver
Posts: 9
Joined: Sat, 5. Nov 05, 16:36
x3

Post by Adius Silver » Sun, 6. Nov 05, 22:19

i mean, is there an way to make the editor put it in a specific place, it onl puts it in the center of the sector, and ignores and co-ords i tell it.

Oldowenr
Posts: 13
Joined: Fri, 29. Oct 04, 00:02
x3

Post by Oldowenr » Mon, 7. Nov 05, 10:01

The only way I have managed to do it is to create a ship and position the ship where I want a factory/station to be and place it over the ship. The ship ususally gets destroyed - but that's OK.
What I'm having trouble with is creating factories with shields - any thoughts?

Adius Silver
Posts: 9
Joined: Sat, 5. Nov 05, 16:36
x3

Post by Adius Silver » Mon, 7. Nov 05, 17:30

Ah ok, i can sacrifice a ship or two to build me stations
Thanks.. :D

Adius Silver
Posts: 9
Joined: Sat, 5. Nov 05, 16:36
x3

Post by Adius Silver » Mon, 7. Nov 05, 17:31

And for the Sheilds, i havent thought about it, if i find out how, ill post it here.

User avatar
nuclear_eclipse
Posts: 1129
Joined: Thu, 2. Sep 04, 01:54
x3tc

Post by nuclear_eclipse » Mon, 7. Nov 05, 18:01

For shields:


$station -> install $num units of ware $ware

$num is how many you want
$ware should be linking to the 10 GJ shield ware.

Adius Silver
Posts: 9
Joined: Sat, 5. Nov 05, 16:36
x3

Post by Adius Silver » Mon, 7. Nov 05, 23:59

great, thanks :D

markkram95
Posts: 74
Joined: Wed, 24. Dec 03, 19:34
x3

Post by markkram95 » Tue, 8. Nov 05, 11:30

doesn't the Numberpad keys 2,8,4 & 6 move the cursor for placement like in X2?? Give it a try!!!

Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 22201
Joined: Sun, 14. Nov 04, 23:26
x4

Post by Cycrow » Tue, 8. Nov 05, 12:21

thats only where ur placing it from a TL
i think he means when using the script to create a station

ThatGuyBob
Posts: 48
Joined: Thu, 9. Dec 04, 18:10
x3tc

Post by ThatGuyBob » Tue, 8. Nov 05, 22:11

The CreateStation command takes four parameters that are relevant to station position: Sector, X, Y, and Z.

If your script has a parameter called "Location" of type Sector Position, the script will prompt the user, by way of the universe and sector map, what the value of that parameter should be.

The parameter will then be loaded with a 4-value array. Values 0 through 3 are X, Y, and Z in that order. The fourth (value[3]) is the sector.

Pump those values into the CreateStation command and voila!

Post Reply

Return to “X³: Reunion - Scripts and Modding”