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

Ship price calculation

The general place to discuss MOD''ing Freelancer!

Post Sun May 02, 2004 11:02 pm

Ship price calculation

I am developing a trading to for the palm os, but am having an issue. I was hoping someone would know the answer to my question. I decided to make a trade tool for the palm os because i hate alt-tab'n . It makes my music go through the roof(which blows my drums with a headset on). I have it 75% complete, but could not determine the sale price calculation for ships.

Below is what I currently know about ship pricing. Followed by my flawed theory of how to obtain the ships price.

Ship Sale Locations (Linked by Package) = Market_Ships.ini

[BaseGood
base = Br01_01_base
marketgood = oe_package, 16, -1, 0, 0, 1, 1, 1

The first value in marketgood is the ship package.
The second value is level required to purchase.
The third value is the reputation needed to purchase.
The next three values allow the item to be sold at a base.
The next to the last is unknown.
The last is the price multiplier.

Goods.ini in realations to ships have 2 entries.
First is the package, Second is the hull

[Good
nickname=oe_package <-- Link for Market_Ships.ini
category=ship
hull=oe_hull <-- Link to hull entry in Goods.ini, hull entry contains the price of the ship (This is not the final sale price. )
addon=ge_oe_engine_01, internal, 1
addon=or_elite_power01, internal, 1
addon=ge_s_scanner_01, internal, 1
addon=ge_s_tractor_01, internal, 1
addon=order_shield, HpShield01, 1
..... <-- Removed excess information to save space

[Good
nickname=oe_hull <--- Link to package entry in Goods.ini
category=shiphull
ship=or_elite <-- Nickname of the ship
price=200000 <-- Price of the hull (ship ???) (This is not the final sale price. )
ids_name=12019
item_icon=Equipment\models\commodities\nn_icons\or_fighter.3db

Okay, so with all that out there.

I have this flawed formula.
GoodsINI.Hull_Price * Market_ShipsINI.Multiplier = Ship Price

Do the Addons prices have to be included also?
GoodsINI.Hull_Price * Market_ShipsINI.Multiplier = Ship Price + (GoodsINI.Package_Addon's Price's * Correct MarketINI)

Thank you for all your time. I believe I have the idea right, I was just hoping someone could point me the right way.

Giants are just babies that never stopped growing.

Edited by - The Bobby Jones on 5/3/2004 12:07:23 AM

Post Sun May 02, 2004 11:24 pm

yes, all addititons are also included in the price when u buy a ship.

add all item prices that are in goods.ini on ur ship.

---------------------------------
Excelcia Mod Leading Developer

Post Mon May 03, 2004 10:41 am

Thank you LordFjord, I have read through the forums but did not see this spelled out anywhere.

Through comparision between datastrom and my app ship prices still seem to be off a little. I must be missing something else, any ideas?


Giants are just babies that never stopped growing.

Post Wed May 05, 2004 6:19 pm

Also Thank you SE_Hellfire you know who you are, you da man!

Giants are just babies that never stopped growing.

Return to Freelancer General Editing Forum