How to add completely new stuff to the T files

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

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

Bezredahl
Posts: 136
Joined: Sun, 13. Jun 04, 01:14
x2

Post by Bezredahl »

look here: http://www.egosoft.com/x2/forum/viewtopic.php?t=53228

will add more detail as I figure it out.
You ask me who I am when I'm alone.
I am never alone, for Death is always with me.......
Sun Tzu
Posts: 5
Joined: Mon, 7. Jun 04, 18:54
x2

Post by Sun Tzu »

Hmm, I'm missing something then. I've scripted in a trade station & been mucking about with it. Adjusting the entry under that column in a TWares file directly changes the quantity of the product held by the station the end result being =20000/x, where is the x 'Price' field in TWare_. This formula seems to apply regardless of ware price in the factory, volume etc. Actual product price does not change in the slightest.

I assumed station stock was correlated to price/volume before I started playing with the price figure, & was surprised by the result...

I'll go have another look, but tests so far indicate the above is correct?
Fachtna
Posts: 722
Joined: Mon, 2. Feb 04, 23:25
x3

Post by Fachtna »

Burianek wrote:It's not an error, the price of a ware affects how many can be held by a station. The more expensive the ware, the fewer the object, to a minimum of 2.
Does that mean it is possible to modify the tware file to allow more of an item to be stocked at a station?, hopefully without reducing the price?

Would be handy if my 25mw shield fact could stock more than 2 at a time but i dont want the price adversely affected...

Currently am using the "stockpiling" script, but the factory hasnt made any shields yet. cos of a restart. :D
User avatar
Burianek
Posts: 2981
Joined: Mon, 29. Dec 03, 03:29
x3tc

Post by Burianek »

No they're tied together. There's no way to currently adjust one independently of the other. :(
All sorts of things are dependent on ware price, namely, how long it takes to make one unit, how many resources are consumed to do so, how many can be stored in a station, and maybe a few others I can't think of right now. Change the ware price and they all change. They can't be changed without changing the ware price.
Maybe this will change in X3. (here's hoping)
Cheers.
"Nature's first green is gold" . . . stay golden.
Fachtna
Posts: 722
Joined: Mon, 2. Feb 04, 23:25
x3

Post by Fachtna »

so if i change the price of a 25mw shield i get 5000 per station and produced 276 at a time and costs buttons (with no races allowed to trade with station)

We Have A Winner :lol:
User avatar
Burianek
Posts: 2981
Joined: Mon, 29. Dec 03, 03:29
x3tc

Post by Burianek »

yeah, you could do that if you wanted, I think.
"Nature's first green is gold" . . . stay golden.
Fachtna
Posts: 722
Joined: Mon, 2. Feb 04, 23:25
x3

Post by Fachtna »

Gawd, the temptation :-)

Better not. Would just spoil the game. And the 25Mw fact is so useful for training BPH pilots. They soar through the ranks...
TSO
Posts: 212
Joined: Wed, 26. Oct 05, 03:11
x3

Post by TSO »

Where you find these Tfiles? and what or how you open them? I think i can work the rest out for my self... another thing...can someone make some mod to make tradeing simpler?

I just can't seem to make enough credits to start the game :/ every time I just have either my ships destoryed or I get tired of going back and forth with energey cells when I would like to just put a factory (comp or my own) as home and and let it handle the tradeing....
"Since the house is on fire, let us warm our selves"
"Warning. We detect illegal cargo on board your ship. Please eject it immediately.... Ok everyone out the air lock! (Slaves) "

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