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

Now...How do i do this?

Here you find the different tutorials on editing and MODing Freelancer

Post Tue Jun 10, 2003 8:14 am

Now...How do i do this?

Ok i know there is someway of changes commodites like the price and where they are sold but i dont know how can someone please tell me how i do that... Easy money

Post Tue Jun 10, 2003 1:29 pm

Yes there is,if you send me a mail saying what you want done, i can do it for you

Post Sat Jun 14, 2003 7:08 am

i dont know what your e-mail is :p

Post Sat Jun 14, 2003 9:54 am

Look in ..\DATA\EQUIPMENT\market_commodities.ini

Here are the bases, and what goods they sell. For instance, planet New london:

[BaseGood
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 = ...


Now, the 3rd, 4th and 5th numbers are always either:

150, 500, 0 --> meaning the commodity is sold here

or

0, 0, 1 --> meaning the commodity is not sold here

I guess, but don;t knwo for sure, that the 1st number is the level required to be allowed to buy the good, and the 2nd is the reputation required to buy it.

Now, the last number decides the price, but it's NOT the price itself. It rather seems to be factor with which the default price* of the commodity is mulitplied.

So, changing the gold line into

MarketGood = commodity_gold, 0, -1, 150, 500, 0, 0.010000

would make gold very cheap at Planet New London.

*(I don't know where this default price is set, and I guess it's not in an ini-file, otherwise I would have known it.)





"We are a way of the Cosmos to know itself"

-- Carl Sagan

Post Sat Jun 14, 2003 12:38 pm

Hans

The commodity base price is set in goods.ini

[Good
nickname = commodity_gold
msg_id_prefix = gcs_gen_commodity_gold
equipment = commodity_gold
category = commodity
price = 425
combinable = true
good_sell_price = 2.040000
bad_buy_price = 2.040000
bad_sell_price = 0.840000
good_buy_price = 0.840000
shop_archetype = Equipment\models\commodities\nn_icons\cwire_rawmats_2.3db
item_icon = Equipment\models\commodities\nn_icons\COMMOD_metals.3db
jump_dist = 7

As you said, the last figure in the market_good line refers to the factor applied to the price i.e. here gold base price is 425 so the BR01_01 (Planet London) price for gold is 425x1.08 = 459

The good_sell_price etc refers to the factor at which the red / green / amber price indicator appears

Post Sat Jun 14, 2003 12:46 pm

Circumcisor - you rule! Thanks man, I totally overlooked that.

Actually I had at one point decided that it wasn't there and decided not to look for it anymore. One of the drawbacks of autodidactism





"We are a way of the Cosmos to know itself"

-- Carl Sagan

Return to Freelancer Editing Tutorial Forum