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

Commodity Calculations

The general place to discuss MOD''ing Freelancer!

Post Tue Apr 15, 2003 10:42 pm

Commodity Calculations

Does anyone know just what kind of freakin calculations Digital Anvil came up with to get their commodity prices?
Take Planet Manhatten with Boron for 155. In the Market_Commodities.ini file it has a modifier of 1.3. Take that multiplied by the base (120), you get 156.
Where are they coming up with 155? All the other prices figure properly.

This one is stumping me. I want to make sure the new version of FCC has the right numbers by reading straight from the INIs, but I need to clear this up first.

Any help would be very much appreciated.

Thanks.
-Darren

Post Tue Apr 15, 2003 10:55 pm

This might be a stupid answer, but could they be rounding it to the nearest number? It is only 1 off, that might explain it.

~Jay~

Fortune favors the strong mind.

Post Wed Apr 16, 2003 5:39 am

For some odd reason, Freelancer appears to occasionally round down, even from whole numbers. IE it "rounds" 550 to 549. Don't know why. Perhaps just an error in the code somewhere.
Basically that last number will be the price modifier. Ingame the price will usually be within 1 of what you calculate it to be using the modifier.

Ceylon

Post Thu Apr 17, 2003 6:11 am

Freelancer rounds everything down. (eg. 144.765 becomes a value of 144 in the game) Dunno why though...

Post Fri Apr 18, 2003 8:33 pm

I know that they round down, but how can you round down a whole number?
120 x 1.3 = 156 (DA has 155)
I'm still not giving up on this...

Return to Freelancer General Editing Forum