Join us at the Oolite Anniversary Party -- London, 7th July 2024, 1pm
More details in this thread.

Ship probability (and how to turn it down in OXP's.)

Discussion and information relevant to creating special missions, new ships, skins etc.

Moderators: winston, another_commander

Post Reply
User avatar
OneoftheLost
Deadly
Deadly
Posts: 216
Joined: Sat Oct 24, 2009 2:30 pm

Ship probability (and how to turn it down in OXP's.)

Post by OneoftheLost »

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
User avatar
Kaks
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 3009
Joined: Mon Jan 21, 2008 11:41 pm
Location: The Big Smoke

Re: Ship probability (and how to turn it down in OXP's.)

Post by Kaks »

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 - [EliteWiki] shipdata-overrides.plist and [EliteWiki] 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...
Hey, free OXPs: farsun v1.05 & tty v0.5! :0)
User avatar
Commander McLane
---- E L I T E ----
---- 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.)

Post by Commander McLane »

Kaks wrote:
To just influence the rarity of ships appearing in shipyards use the 'chance' shipyard key.
Note that the 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.
User avatar
OneoftheLost
Deadly
Deadly
Posts: 216
Joined: Sat Oct 24, 2009 2:30 pm

Re: Ship probability (and how to turn it down in OXP's.)

Post by OneoftheLost »

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
Switeck
---- E L I T E ----
---- E L I T E ----
Posts: 2411
Joined: Mon May 31, 2010 11:11 pm

Re: Ship probability (and how to turn it down in OXP's.)

Post by Switeck »

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. :lol:
Post Reply