Ship probability (and how to turn it down in OXP's.)
Moderators: winston, another_commander
- OneoftheLost
- Deadly
- Posts: 216
- Joined: Sat Oct 24, 2009 2:30 pm
Ship probability (and how to turn it down in OXP's.)
Ok, when I first installed Oolite, I went on a OXP spree focusing on ships. Unfortunately alot of OXP authors make their beloved creations appear WAY too much. I want a Supercobra to be RARE, not at EVERY single station I dock at. Same with Killer Wolf's Vampire series, as well as numerous others. I would really like to add some more ships that fit in with the flavor of Oolite, but I also want the probability of seeing them to be much lower. Can someone point me in the right direction of what I need to edit to make NPC versions of these ships appear less?
Profile: Commander Kolt
Ship: Cobra III - Longinus V
Elite Rating:Poor
Location: G1
Ship: Cobra III - Longinus V
Elite Rating:Poor
Location: G1
Re: Ship probability (and how to turn it down in OXP's.)
The best thing to do is to make yourself a set of ship overrides: there's a couple of little used .plists called - appropriately enough - shipdata-overrides.plist and shipyard-overrides.plist.
If you put these two inside AddOns\Config you get the best of both worlds: you can freely update the ship oxps, and the overrides will still apply to the new versions of the old ships!
To just influence the rarity of ships appearing in shipyards use the 'chance' shipyard key. To influence the chances of seeing them in flight you need to change the 'roles' key in shipdata. See
http://wiki.alioth.net/index.php/Shipdata.plist#roles
for a bit more info...
If you put these two inside AddOns\Config you get the best of both worlds: you can freely update the ship oxps, and the overrides will still apply to the new versions of the old ships!
To just influence the rarity of ships appearing in shipyards use the 'chance' shipyard key. To influence the chances of seeing them in flight you need to change the 'roles' key in shipdata. See
http://wiki.alioth.net/index.php/Shipdata.plist#roles
for a bit more info...
Hey, free OXPs: farsun v1.05 & tty v0.5! :0)
- Commander McLane
- ---- E L I T E ----
- Posts: 9520
- Joined: Thu Dec 14, 2006 9:08 am
- Location: a Hacker Outpost in a moderately remote area
- Contact:
Re: Ship probability (and how to turn it down in OXP's.)
Note that theKaks wrote:To just influence the rarity of ships appearing in shipyards use the 'chance' shipyard key.
chance
key also influences the chance of the ships for sale being equipped with some extra equipment. Therefore commonly offered ships also tend to be fully kitted out, while rarely offered ships also tend to be the stock variants.- OneoftheLost
- Deadly
- Posts: 216
- Joined: Sat Oct 24, 2009 2:30 pm
Re: Ship probability (and how to turn it down in OXP's.)
Fascinating stuff! I'll have to go over this info. Thanks for the heads up!
Profile: Commander Kolt
Ship: Cobra III - Longinus V
Elite Rating:Poor
Location: G1
Ship: Cobra III - Longinus V
Elite Rating:Poor
Location: G1
Re: Ship probability (and how to turn it down in OXP's.)
My mod:
https://bb.oolite.space/viewtopic.php?t=8212
...also changes ship probability for the basic Oolite ships.
Adders, Anacondas, Boas, and Boa 2's can now sometimes be pirates.
Some of the previously exclusive pirate ships can now be bounty hunters, escorts, or rock hermit defensive ships.
Ships are no longer always color-coded for your convenience.
https://bb.oolite.space/viewtopic.php?t=8212
...also changes ship probability for the basic Oolite ships.
Adders, Anacondas, Boas, and Boa 2's can now sometimes be pirates.
Some of the previously exclusive pirate ships can now be bounty hunters, escorts, or rock hermit defensive ships.
Ships are no longer always color-coded for your convenience.