** 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
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