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

----TUTORIAL----- adding custom commodities

Here you find the different tutorials on editing and MODing Freelancer

Post Mon Jun 02, 2003 8:59 pm

----TUTORIAL----- adding custom commodities

OK first of all you will need

FLED-IDS
Bini/BiniQDU

Ok decompress and open up goods.ini and find an existing commodity, for instance, gold. Copy the code section for gold and create a copy below it, for this example we will use slaves as our commodity, now simply change all instances of the word gold to the word slaves and change the price to something that you see fit, say 500. Now save and exit.

Then decompress and open up select_equip.ini and find and copy the gold commodity and again change the word gold to slaves, then save select_equip.ini.

Now go to the exe folder of your freelancer game and make a copy of nameresorces.dll and infocards.dll, renaming them my_nameresources and my_infocards respectively, then open up freelancer.ini and under resources add this

DLL = My_nameresources.dll ; my names
DLL = my_infocards.dll ; my infocards

Then save freelancer.ini

Then open up FLED-IDs and in the right hand box labelled res_id to ids_name, choose my_nameresources.dll from the drop down box and enter 1 in the textbox and press convert. Copy the resulting number into the box at the top labelled ids_name. In the large textbox enter the word "slaves" and then hit save ids_name.
Copy the number that you put in the ids name box and paste that into the ids_name field of your commodity in the select_equip.ini file.

Then re-enter fled-ids and choose my_infocards in the right hand drop down box, and enter 1 again, press convert and just leave the number there so that you can see what it is, then in the ids_info box at the top enter the number 65898 and press get ids info, in the big text box change the word GOLD to SLAVES (it is in-between two <text> and </text> statements) and change the description to anything that you like ( between the next two <text> and </text> statements).

When you are done copy the number that you got from the res_id \ids_info box into the ids_info box at the top and press save ids_info. Then copy this number also into the ids_info box in the select equip.ini file under your commodity and you are almost done.

Then decompress and open up market commodities.ini and enter this under any base that you want to:

MarketGood = commodity_slaves, 0, -1, 150, 500, 0, 1.333300 - this last number is the price multiplier for selling and buying this commodity, change this to whatever you want.

Then save this file and voila! you have your very own commodity!

Post Sat Jun 07, 2003 1:20 pm

Using FLed-ids, the program isnt detecting the new my_nameresources.dll nor the other, after having created them. Whats going on?

Post Sat Jun 07, 2003 6:33 pm

you have to add this line in freelancer.ini under the resources tab:

[resources
(game dll's here)
DLL=My_nameresources.dll ;contains my name resources

Post Sat Jun 07, 2003 6:56 pm

another addition: how to make illegal or highly perishable goods

Highly Perishable goods:
this is nice and easy, in the select_equip.ini file, find your commodity and set the decay rate per second to 1, you might be able to set it to other numbers for more perishable goods, although i have not tried this.

Illegal goods:
This is a little harder, but not much, firstly go into the missions folder of your freelancer game and decompress and open up faction_prop.ini. Find the factions that you want to scan for your cargo, police factions always have a _p_ in the middle, and find the scan_for_cargo field, copy and paste a new one below and then change the commodity name to your commodity as defined before. You must do this for every faction that you want to scan for your cargo, and by the way i do not know any of the factions names from their codes, so do not ask

Post Sat Jun 07, 2003 10:30 pm

The whole problem that im having is that when i save the freelancer.ini, Bini QDU staggers all the command lines when it saves. This causes the game to crash everytime. So what i did instead, is just add to the pre-existing .dll's specified in your tutorial, and have the mod manager plug them. But....... when I run the game, the framerate slows down so much its unplayable, but at least i have my own commodity right? Im not sure if this action conflicts with the dll's or what. Know what im saying?

Post Sat Jun 07, 2003 10:55 pm

I have mod that is ready to go except all I need to do is zip it up b4 i post it, how do i do that?


~Perfect Heath~

Post Sun Jun 08, 2003 2:38 am

Where do you download the BINI program from? Cannot find it anywhere on this site. HELP!!!!!

Post Sun Jun 08, 2003 12:08 pm

Q&o&OandQ: I have no idea what is wrong with your ini file, try downloading bini.exe from the utilities sectionof this site, it is on the navbar under the heading editing. Download bini lite and bini.exe comes with it, to use it just drag an encrypted ini file onto it and the edit the text file that is produced, then rename that text file to a .ini file and move the original ini file to a backup folder, the files do not have to be re-encrypted, try editing freelancer.ini this way and see if it makes any difference.

PerfectH: If you have winXP then you can select all of the files that you want to zip, right-click and select "send to zipped folder" and follow the instructions, or go to winzip.com and download winzip, install it then right click on the files and select add to zip and follow the instructions

timothystow: The binilite program, which contains bini.exe can be found in the utilies section under "editing" in the navbar. For how to use it look at my post to
Q&o&OandQ

Hope that anwers everyones qustions, but if it doesn't feel free to moan at me!

Post Thu Jun 12, 2003 10:13 am

why wont my BINI thing open the files!?! i clik Open and NOTHING HAPPENS PLEASE HELP

Post Thu Jun 12, 2003 2:20 pm

you have to drag and drop the compressed ini files onto the actual exe and it will produce a .txt file

Post Fri Jun 13, 2003 7:33 am

Sorry guys, but I, being new at everything, cant find the FLED-IDs program thing. Can someone show me the way? I got everything else perfectly fine, but I just need to know where to get it. Once again, I apologize for my poor observational skills or whatever it is.

Return to Freelancer Editing Tutorial Forum