Price Factor modifier
-
Hi there,
is there a way to modify prices of all equipements, commodities, weapons, ship, etc… by a factor ?
exemple :
Divide all prices by 5
cause in a mod on which i work on, cash limit is reach before ship is fuly equiped, so we want to divide all prices by 5 (include all, weaps, commodities, ship, equipements…)Is there a way to use a constant as a divide or multiply factor for all the files or must i modify it one by one in each files ?
Thank for reading it
-
The ship “package” purchased from ship vendors can be found in equipment\goods.ini. Unfortunately, there’s no where to stick a multiplier (that I’m aware of)… but you can manually modify the following files:
equipment\weapon_good.ini - prices for weapons… guns, missile launchers, mine droppers, torpedo launchers as well as the ammo for the last three.
equipment\st_good.ini - you’ll find prices for thrusters and shields.
inside equipment\misc_good.ini, you’ll find prices for nanobots, shield batteries and counter measures (both deploying devices and counter measure ammo)
Finally, there’s equipment\market_commodities. This is a base by base break down, using multipliers, to control the prices of items between various bases. If the commodity is listed at a certain base, that multiplier is applied to the commodity price found in equipment\goods.ini. If there is an item not listed at that base, that means the base uses the price of the commodity from equipment\goods.ini w/o a multiplier.
Hope that helps… also, if you know someone good w/ programming scripts, you can probably write something scour through each of the files mentioned, take the lines that have “price = X” in them, and then multiply X by a decimal value (or just divide).
-
There is special proggy for it:
-
Thanks for the atachement
This is such proggy i’m looking for
But, how it works ? cause there is no readme file, and i don’t understand the workflow of this software o_O, it generates emptys files in the output folder, event if i put the exe in the FL root folder. -
No, man, you must at first click Pick FL Folder, then choose readme.rtf inside it and only then you may click Build Goods Scripts.
After this you may read instructions inside generated txt files