Setting station product amount

The place to discuss scripting and game modifications for X³: Terran Conflict and X³: Albion Prelude.

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

maxrsp
Posts: 72
Joined: Sun, 5. Nov 06, 01:07

Setting station product amount

Post by maxrsp »

I have scanned these forums but cannot find out how to set the amount of product being held in a station... does such a script/cheat exist?

I have used Cycrows cheat to add a specific product, but it somehow predetermines the amount the station holds depending on the product (and no, it is not just limiting by total cargo space).

For example I tried to add Nividium as a product in my trading station and it does work but only lets you hold 2 units. Some other products 4,000 units; still others 10,000. It would be nice to be able to set/modify.

Thanks in advance.
ThisIsHarsh
Posts: 1135
Joined: Sun, 19. Oct 08, 18:46
x3tc

Post by ThisIsHarsh »

I assume you mean the maximum amount that can be stored, not just simply adding more to to the station? That's modding territory. TWares.txt I think, the relval parameter. Don't know that much about it myself, but I do know there is no script-based way (short of running a script in the background to constantly refill until the 'real' amount is gone).
Saint-Ashley
Posts: 1267
Joined: Sat, 3. Dec 05, 03:40
x4

Post by Saint-Ashley »

I actually said this before here, and im yet to release a quick mod to make it where I can just say go here, however yes it can be done for the player. It works on Equipment docks the Xenon hub and I beleive it also works on tradeing stations, (I forget if I tried them or naught at this point).

Code: Select all

// 116
SG_DOCK_STORAGE_FACTOR;48;				// Normal Docks       Storage Multiplier
SG_HUB_STORAGE_FACTOR;48;				// Terraformer Hub    Storage Multiplier
This is the bottom of Globals.txt which alows you to change those two lines. This is what I have it modified for and it should alow enough room to place goods on a station. This change does not effect factories, but im also working on that one. :wink:

If no one has a mod out before I get back from work I will probally upload my own to fix this. I explored this initially due to a limit of teladianium I could transfer to the hub at one point. :)
maxrsp
Posts: 72
Joined: Sun, 5. Nov 06, 01:07

Post by maxrsp »

Thanks Harsh & Ash... I'll keep my eyes peeled for your mod Ash :)

Return to “X³: Terran Conflict / Albion Prelude - Scripts and Modding”