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 ** - Bases that only sell to friendly players

Here you find the different tutorials on editing and MODing Freelancer

Post Sun May 18, 2003 12:59 am

** Tutorial ** - Bases that only sell to friendly players

Ever want a base that will only sell ships, commodities, shields or any other "good" to a friendly player? I wanted to see if it was possible to eliminate the trick of getting yourself neutral with certain factions to get the more powerful ships and shields. And also to make it so the most lucrative trading commodities would only be sold to friends, not just any old Joe that landed at the base.

So, we look at any good that can be sold, be it ship, commodity, weapon or equipment they all work the same way. For example, Manhattan sells the Rhino Freighter like this:

marketgood = lfr_package, 1, -1, 1, 1, 0, 1, 1

The second number (-1) is the reputation requirement, -1 is an enemy so essentially anyone who can land here can buy this. Any float can be entered between -1.000000 and +1.000000 with -1 being the worse enemy and +1 being the best of friends.

-0.100000 will sell to players who are slightly below neutral or better.
0.750000 will sell to players well in the green in the reputation bar.

Scaning the existing markets, no weapon requires a faction rep over 0.75 to purchase in the stock game so that may be a good maximum to work with, I'm not sure if it is even possible to reach a reputation of 1.000000.

Regardless of what this is set to they will still buy the item so long as the player can safely land there. So now you can make sure those Battleships will only sell their military grade ships and equipment to players friendly to the military, or you could make sure the Rogues don't sell their Cardamine to just anybody. A good way to eliminate the normal "quick wealth and into a big ship" power playing routine in MP games and encourage players to actually make friends

Edit: Forgot to add this, when you are unable to buy a commodity it isn't "greyed-out" in the purchase list like weapons or equipment are, but you will still see the "You must be on friendlier terms..." message if you select the commodity.

Edited by - Victor on 18-05-2003 18:29:27

Edited by - Victor on 21-05-2003 23:58:41

Edited by - Stinger on 2/14/2004 7:54:58 AM

Post Sun May 18, 2003 4:35 pm

I think you can reach a max. reputation of 0.91 it is the best entry i found in initialworld.ini, and your rep-bar always stops about 10% before full ingame

Craith

--------------------------
Cheating is for losers
Modding is for fun

Post Thu May 29, 2003 7:30 pm

The only time you're 100% friendly or enemy is in SP where the story sets it that way.

There are only 10 kinds of people in the world:
those who understand binary, and those who don't.

Post Fri May 30, 2003 6:52 pm

Juts a little note here after some more testing...

Everything works perfectly in the SP game, but you have to be careful with the ships. The game expects the ships to be listed at the dealer in a specific order it seems, so if you try having ships for sale with different reputation requirements at the same dealer you may end up getting a different ship than you picked from the list.

In the MP game the ship dealer completely ignores the reputation requirement. Commodities and equipment work fine, but the ships can be bought by anyone who can land at the base.

Return to Freelancer Editing Tutorial Forum