Important Message

You are browsing the archived Lancers Reactor forums. You cannot register or login.
The content may be outdated and links may not be functional.


To get the latest in Freelancer news, mods, modding and downloads, go to
The-Starport

Commodities

Here you find the different tutorials on editing and MODing Freelancer

Post Mon Aug 04, 2003 3:52 pm

Commodities

All I want to know right now is how to edit the price a base sells commodities for, and the price it buys them for. DETAILS NEEDED ARE: 1)The correct name of the ini files to edit. 2) A list of the bases names as they are in the ini files (example: 01_base_whatever = Manhattan.) I don't remember exaclty how base 01 is written in the ini's thats why it looks like it does above, but you get the idea.

Post Tue Aug 05, 2003 6:51 am

You need to get SubXero's FreelancerMiscDataBase.xls file from the editing tools section of this forum. It has lists of all the names and numbers of all the objects in the game... Invaluable.

Then of course, while you are there, you need to get bini.exe, to render the encrypted files into text files, and should also pick up Fled-ids so you can examine the ids_name and ids_info refrences in the game and maybe even make new ones.

After decrypting the:
freelancer\data\equipment\market_commodities.ini file, you will see stuff like this...

[BaseGood ;<===this braket will not be closed here, but needs to be in the game
base = Br01_01_base
MarketGood = commodity_gold, 0, -1, 150, 500, 0, 1.080000
MarketGood = commodity_silver, 0, -1, 0, 0, 1, 1.350000
MarketGood = commodity_oxygen, 0, -1, 150, 500, 0, 0.500000
MarketGood = commodity_water, 0, -1, 150, 500, 0, 0.500000
MarketGood = commodity_diamonds, 0, -1, 150, 500, 0, 1.600000
MarketGood = commodity_food, 0, -1, 150, 500, 0, 0.689700
MarketGood = commodity_alien_artifacts, 0, -1, 0, 0, 1, 4.250000
MarketGood = commodity_luxury_food, 0, -1, 150, 500, 0, 1.200000
MarketGood = commodity_fertilizers, 0, -1, 150, 500, 0, 4
MarketGood = commodity_mox_fuel, 0, -1, 0, 0, 1, 0.500000
MarketGood = commodity_H_fuel, 0, -1, 150, 500, 0, 1.160000
MarketGood = commodity_basic_alloys, 0, -1, 150, 500, 0, 1.900000
MarketGood = commodity_construction_machinery, 0, -1, 150, 500, 0, 3.500000
MarketGood = commodity_pharm, 0, -1, 150, 500, 0, 1.473700
MarketGood = commodity_optronics, 0, -1, 150, 500, 0, 5.733300
MarketGood = commodity_consumer_goods, 0, -1, 150, 500, 0, 3.700000
MarketGood = commodity_luxury_consumer_goods, 0, -1, 150, 500, 0, 3.500000
MarketGood = commodity_engine_components, 0, -1, 150, 500, 0, 5.333300
MarketGood = commodity_cardamine, 0, -1, 0, 0, 1, 0.880000
MarketGood = commodity_sidearms, 0, -1, 150, 500, 0, 1.250000

The last numbers in the series, like 1.250000 above, is the price this goes for at this base. It is a multiple of the "average" price of the particular commodity as found in the goods.ini file, like this one for sidearms:

[Good
nickname = commodity_sidearms
msg_id_prefix = gcs_gen_commodity_sidearms
equipment = commodity_sidearms
category = commodity
price = 280
combinable = true
good_sell_price = 2.550000
bad_buy_price = 2.550000
bad_sell_price = 1
good_buy_price = 1
shop_archetype = Equipment\models\commodities\nn_icons\cwire_munitions_1.3db
item_icon = Equipment\models\commodities\nn_icons\COMMOD_lightarms.3db
jump_dist = 4

Note the price is 280 and the multiplier at the above base is 1.25 so you would pay 350 for sidearms at this base (planet New London). I really encourage you to get the FreelancerMiscDataBase I referenced above. You will not know how you lived without it while playing Freelancer. Other useful downloads are LancerThing (worth it for the map alone..!) Fled-ids, and bini.exe. Let me know how it comes out.

JustSomeGuy

Post Tue Aug 05, 2003 8:29 am

Actually I think I already did download that misc database. I just haven't looked at it yet. And I already figured out all that stuff on my own just by compareing the market_commodities.ini to the goods.ini, and it was really simple to figure out. But thanks anyway.

Return to Freelancer Editing Tutorial Forum