Editing manufacturing costs...

More
16 years 8 months ago #19056 by Torch
I was wondering is it possible to edit manufacturing costs of items? I was looking through resource.zip and couldn't find the values in any of the files.

What I want to do, is just lower the cost of T-Fighters from 1500 to something more manageable :)

Please Log in or Create an account to join the conversation.

More
16 years 8 months ago #16746 by JT
Replied by JT on topic Editing manufacturing costs...
There's no way to do it externally, since the manufacturing cost is defined in the POG system. However, if you were to call a function every time the base was loaded, it might be possible to use a mod to edit the cost:

hcargo hFighter = iCargo.Find( CT_TurretFighter );
iCargo.SetManufactureValue( hFighter, 1500 ); //1500 is default

You'd have to write a mod that would call that procedure on a periodic basis before the manufacture screen was displayed.

_______________

Surgeon-General's Warning: Early test cases of Torn Stars have resulted in fatalities. The errors in the software should be gone by now. Hopefully.

_______________

Surgeon-General's Warning: Early test cases of Torn Stars have resulted in fatalities. The errors in the software should be gone by now. Hopefully.

Please Log in or Create an account to join the conversation.