How do you do this bit?

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

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

Xenon_Slayer
EGOSOFT
EGOSOFT
Posts: 13129
Joined: Sat, 9. Nov 02, 11:45
x4

How do you do this bit?

Post by Xenon_Slayer »

A simple question.
I have put it new factories and a new ware. The Space Fly Queen for a mod im doing. I cant find where to alter the ware perameters though. I have the line.
28;0;0;0;0;60;5763;0;17;1;1;0;SS_WARE_SPACEFLY QUEEN;
In the TWareT.txt file. I cant see what to do with this. Where do I alter the price, size and size type. I just cant figure this out.

Also, how do you change the peramiters for factories. I suppose it has something to do with the TFactories file but again I cant make heads or tails of it.
For Example
1;0;0;0;0;1;4871;108;-1.2;-3;200;4023;29;1;37;38;9000;90000;25;20;5;SS_FAC_A_PP_ALPHA;
My guess this is the alpha ppc factory but where the hell are the product peramiters, resource peramiters.

Just to clear it up I have added the new wares to the 440001 and 440002 files. All help apresiated.
Come watch me on Twitch where I occasionally play several of the X games
AalaarDB
Posts: 2282
Joined: Thu, 29. Jan 04, 08:19
x3tc

Post by AalaarDB »

Read the tutorials that are stickied here to find which ones to alter, I believe it it 9 and 11 though. Afaik you can't add new wares, just alter the extra wares already existing, so you're going about it wrong.
XeHonk
Posts: 1087
Joined: Sun, 7. Mar 04, 23:03
x3tc

Post by XeHonk »

aalaardb: you can add new stuff: http://www.egosoft.com/x2/forum/viewtopic.php?t=51132 :)

Xenon_Slayer: do what aalaardb said for changing the prices (or use some x2-txt-editor ^^)
the wares of stations seem to be hard-coded though, you might need a script that does some checking (in a loop) whether a station already contains the wanted products, and if not, adds 'em
Xenon_Slayer
EGOSOFT
EGOSOFT
Posts: 13129
Joined: Sat, 9. Nov 02, 11:45
x4

Post by Xenon_Slayer »

I replaced the free ware space "Ware 5763" so I did alter one. I cant remember where to get a script to change all that stuff though.
Thanks.
Come watch me on Twitch where I occasionally play several of the X games

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