Edit: when the next version of Oolite comes out, remember to grab Capt. Murphy's amazing Respray OXP https://bb.oolite.space/viewtopic.php?f=4&t=12024 It really is stunning stuff, you can edit your ships paint colours right there in the game!
In Oolite 1.76.1 the Devs added some extra amaze that meant that player ships can have random paint colours too which makes the following bit of editing a bit more fiddly than it used to be
If you're using the Griff_Shipset_Addition_v1.22.oxp, here's how to modify the paint colour on the Player Cobra III, open the shipdata.plist file in the Config folder in a text editor (on Windows don't use notepad as its wordwrap function can add hidden characters to the file that stops Oolite bing able to parse it), find the lines 3119 & 3120, which look like this:
Code: Select all
PaintColor1 = {type = "randomUnitVector"; scale = 0.17;};
PaintColor2 = {type = "randomUnitVector"; scale = 0.17;};
and change them to:
Code: Select all
PaintColor1 = { type = vector; value = "0.0 0.0 0.0"; };
PaintColor2 = { type = vector; value = "0.0 0.0 0.0"; };
Now the three numbers in the Value = " " bit are the colour values for Red, Green and Blue and are in the range 0.0000 - 1.0000, you can modify these numbers to tint the ships paintcolour. Note that you won't be able to make the ship's paint black (or white), you can only really 'dye' the underlying green/blue paint colour slightly so you do get quite a lot of muddy brown painted ships!
Once you've made your changes save the file, then start Oolite with the shift key held down from the moment the program starts loading up until the title screen appears, doing this forces Oolite to reread in all your oxp settings and gets it to notice our edit
If you're using the Griff_Shipset_Replace_v1.34.oxp, then the lines in shipdata.plist that you need to edit are 2868-2869 and 2872-2873, there's two groups due to the nice indenting that's going on in this plist file, anyway both groups sort of look like this:
Code: Select all
scale = "0.17";
type = randomUnitVector;
change these lines to...
Code: Select all
type = vector;
value = "0.0 0.0 0.0";
...so that the whole section now looks like this (lines 2867-2874)
Code: Select all
PaintColor1 = {
type = vector;
value = "0.0 0.0 0.0";
};
PaintColor2 = {
type = vector;
value = "0.0 0.0 0.0";
};
again, modify the numbers to what you'd like, eg "1.0 0.0 0.0" is a max strength red, here's a colour wheel with the numbers you can use to get to a particular colour (ignore the commas between the numbers in this illustration, when you type them it during your edit just seperate each number with a space)
Incidentally, the scale value in lines like these
PaintColor1 = {type = "randomUnitVector"; scale = 0.17;}; limits how strongly the ships are tinted, if you'd like a really colourful Ooniverse set the scale value to 1.0, you'll get some eye popping results