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

Changing price/place of sell of a ship

Do you want to start editing Freelancer, but have no clue where to begin? This is the place for you to find things and talk about getting started on Freelancer Modding

Post Mon Jun 11, 2007 11:39 am

Changing price/place of sell of a ship

Hi there, I'd like to edit some things in a mod I found, but I awfully can't do this alone... I guess it's quite easy when you know what to do but I dunno.
Here is my question: I'd like to change the price and the place where a ship can be bought. I found the .ini file, but nothing about the price or the location. I also found a ".cmp" and a ".sur" file. Is the key of my problem in these files? Or not? Can anybody tell me which tools to use, and even how? Please help me, I still want to play Freelancer a bit LoL.
Thanks.

Post Mon Jun 11, 2007 4:37 pm

goods.ini has the ship prices
marketship.ini tells where to sale them.

Post Tue Jun 12, 2007 2:11 pm

^^Right. More detail. For each ship, there are codes. They start with the house, then the class, and often a number. Eg. Li_fighter_elite is the Liberty Defender I believe. You would open goods.ini, do a ctrl+f and search for your ship name. If it's a custom ship in someone's mod, then theres a good chance it'll have a logical name. So search for the name. There should be more than one entry - in one will be your price. In marketships.ini, there are listings of your bases that sell ships. Do another search for the ship, and you'll find the entry where it is sold now. Copy that whole line, then do a search for the base you want to sell it at. Theres a list of base codes around TLR somewhere... then paste the entry you copied under that base. Just to warn you - you can only sell 3 ships at any base. So remove all the entries under that base that you don't want sold. Makes things simpler. That should do it.

Post Sat Jun 16, 2007 12:59 am

The ship price, to my very limited knowledge, is linked to the hull cost in the goods package. If you follow the advice above and get a list of the flyable ship "nick names" and search in the goods.ini you will find the the ship is linked to a hull package. This lists all of the items equipped as standard when the ship is bought including generator, shield, engine, scanner and of course, the ship itself...the hull.

Once you have found the hull name which is linked to the ship nickname* (about 4 or 5 lines of code), stay in the goods.ini and search below for that hull package and in it will be a hull cost. The hull cost is a lot less than the actual sale price for the ship as it is the cost of the ship without mounted items such as scanner and engine etc in the package. However, increasing the hull cost increases the ship price by that value.

Eg:

Hull price 1.5 mill
In game purchase price 3 mill
That means the mounted items cost 1.5 mill
Increasing hull price to 2 mill increases your purchase price to 3.5 mill.

Again, double chech this as I am a self professed twit.

*Of course, just do a CtrlL & F and paste the nickname instead of scrolling throught each package.

Edited by - Druid on 6/16/2007 2:05:05 AM

Post Sat Jun 16, 2007 12:05 pm

Yeah...Goods will tell you the price of the "basic" ship hull without any "addon" equipment. When you start adding equipment to the basic ship you begin creating a "ship_package" .
Notice that most basic ships will already have certain equipment mounted on them such as Scanners, Tractors & Engines. (unless the modder has chosen to make these items a separately buyable piece of equipment)

It's in the "ship_package" where you find the "addon" equipment that will often drive up the price of a ship and that markup will depend on the price set for the additional equipment listed in the "goods.ini" .

Return to Freelancer Modding for Beginners Forum