How to change default player Cobra MK III textures?

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

Moderators: winston, another_commander

v01i0
Average
Average
Posts: 14
Joined: Wed May 25, 2011 8:20 pm

How to change default player Cobra MK III textures?

Post by v01i0 »

Hello,

First, I am total newbie to Oolite - and to this community - although I used to play Elite back in 80s with ZX spectrum.. What a great game it was, and thanks to the community, still is :)

I just installed OXP called Griffs normal mapped all-in-1 in order to update those default ship textures and succumb into some extra immersion. Everything went okay, but my (the player's) cobra is still one of old model. Is there anyway to make player's (default) Cobra to look one of those awesome NPC cobra's that cut the space? I know I can buy a new one from station (tried that), but it takes so much of my hard earned credits, so I decided to turn onto you and check if there is another way...

And if there is, I'd appreciate very detailed instructions, because I am not hacker, just an occasional gamer.

Thanks in advance.

-v

PS. I tried to search for instructions, but couldn't find anything very useful. Maybe I didn't have right key words.
User avatar
Smivs
Retired Assassin
Retired Assassin
Posts: 8408
Joined: Tue Feb 09, 2010 11:31 am
Location: Lost in space
Contact:

Re: How to change default player Cobra MK III textures?

Post by Smivs »

Hi,
and welcome to the friendliest Board this side of Riedquat.
You'll find the answer here.
Best of luck.

Edit:- It is easier than it sounds, and a word of advice. DON'T use notepad to edit Oolite things. It adds nasty un-wanted characters and breaks everything. Most other text editors are fine.
Commander Smivs, the friendliest Gourd this side of Riedquat.
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16081
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: How to change default player Cobra MK III textures?

Post by Cody »

Hi v01i0 and welcome.

Open your save-game file (found here ~\Oolite\oolite.app\oolite-saves) in a text editor (if you’re using Windows, don’t use Notepad… Wordpad is okay though).
Find the lines that say:

Code: Select all

<key>ship_desc</key>
    <string>cobra3-player</string>
All you need to do is change:

Code: Select all

<string>cobra3-player</string>
to

Code: Select all

<string>griff_normalmapped_cobra_mkIII_player</string>
Save the file, restart Oolite holding the shift key down until the spinning Cobra appears… and that should be that.

Of course, if you want the Griff ‘scuffed’ Cobra MkIII, an altogether 'classier' ship, just change:

Code: Select all

<string>cobra3-player</string>
to

Code: Select all

<string>griff_normalmapped_cobra_mkIII_scuffed_player</string>
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
v01i0
Average
Average
Posts: 14
Joined: Wed May 25, 2011 8:20 pm

Re: How to change default player Cobra MK III textures?

Post by v01i0 »

Thank you Smivs and El Viejo for welcomes and instructions. Nice to be here - and nice to learn that there exists such a great game as Oolite. I've been expanding it lately, it is so much more than old Elite used to be, yet capturing the same feeling as the old did.

Okay, the instructions from El Viejo's post did the trick.

I used Windows WordPad instead of Notepad, as you guys instructed. And it was as simple as El Miejo's post instructs - awesome, now I can fly nice looking Cobra MK III too. This also teached me how to cheat with my savefile, add some thousand extra kills to reach Elite status and few extra credits to buy that big boa class cruiser I've been drooling over ;) Just joking, I don't want to do that. I didn't even try, so I don't know if it just that simple as to edit the save file... In fact, don't tell me :P

Anyways, thank you both for quick reply and sound help. Appreciated. Thanks!

-v
Last edited by v01i0 on Thu May 26, 2011 12:49 pm, edited 1 time in total.
User avatar
Disembodied
Jedi Spam Assassin
Jedi Spam Assassin
Posts: 6885
Joined: Thu Jul 12, 2007 10:54 pm
Location: Carter's Snort

Re: How to change default player Cobra MK III textures?

Post by Disembodied »

v01i0 wrote:
Okay, the instructions from El Miejo's post did the trick.
Psst ... "El Viejo" ... I think "El Miejo" might be an elderly cat ... :D
Grimm
Poor
Poor
Posts: 6
Joined: Mon May 16, 2011 9:26 pm

Re: How to change default player Cobra MK III textures?

Post by Grimm »

El Viejo's solution doesn't work for me. I used Notepad++ to change the savegame and restarted the game while holding down the shift key but nothing happens. In fact my savegame disapeared and i can't load it :lol:

Have anyone an idea why this problem occurs?

p.s: my OS is Windows XP and i'am using Oolite 175.2
Ship Log:
Ship: Cobra MkIII
Legal: Clean
Rating: Above Average(67)
Current profession: Bounty hunting/smuggling
User avatar
Smivs
Retired Assassin
Retired Assassin
Posts: 8408
Joined: Tue Feb 09, 2010 11:31 am
Location: Lost in space
Contact:

Re: How to change default player Cobra MK III textures?

Post by Smivs »

Can you post the contents of the save somewhere. Not here as it could be quite long, but use pastebin or similar.
It won't have 'disappeared' from your oolite-saves folder.
Commander Smivs, the friendliest Gourd this side of Riedquat.
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6683
Joined: Wed Feb 28, 2007 7:54 am

Re: How to change default player Cobra MK III textures?

Post by another_commander »

Grimm wrote:
El Viejo's solution doesn't work for me. I used Notepad++ to change the savegame and restarted the game while holding down the shift key but nothing happens. In fact my savegame disapeared and i can't load it :lol:

Have anyone an idea why this problem occurs?

p.s: my OS is Windows XP and i'am using Oolite 175.2
My guess is that you saved with a default extension, which basically added something like a *.txt suffix to the savegame filename, making it invisible to the game. Check your oolite-saves folder, your game should be there with a wrong extension.
Grimm
Poor
Poor
Posts: 6
Joined: Mon May 16, 2011 9:26 pm

Re: How to change default player Cobra MK III textures?

Post by Grimm »

The save file has the right suffix, its still the ollite save. The file exist but i can't acces it in the game.

here is my save file:
http://pastebin.com/4GiyPnDa

and thank for the quick answers, this is really one of the friendliest and helpfull boards in this galaxy :D
Ship Log:
Ship: Cobra MkIII
Legal: Clean
Rating: Above Average(67)
Current profession: Bounty hunting/smuggling
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16081
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: How to change default player Cobra MK III textures?

Post by Cody »

edit: see Eric's post below.

Hi Grimm... does your save file suffix definitely look like this: ~.oolite-save? If so, try this please:
Start a new game/commander, save it immediately as a virgin Jameson, then edit the Jameson save-file as above.
Is this Jameson then available in game?
Last edited by Cody on Thu May 26, 2011 11:56 am, edited 1 time in total.
Reason: Referred to next post
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
User avatar
Eric Walch
Slightly Grand Rear Admiral
Slightly Grand Rear Admiral
Posts: 5536
Joined: Sat Jun 16, 2007 3:48 pm
Location: Netherlands

Re: How to change default player Cobra MK III textures?

Post by Eric Walch »

Grimm wrote:
The save file has the right suffix, its still the ollite save. The file exist but i can't acces it in the game.

here is my save file:
http://pastebin.com/4GiyPnDa
That file on pastebin is also illegal for me. My plist editor says is starts with the illegal character 'F'. I don't know if you just added it to pastebin, or if its in your saved commander also.

Suffixes can be tricky sometimes. On the mac I can use periods as part of a filename. That allows me to define a filename like:
'~.oolite-save.txt'
But, when I have selected to hide extensions for that file, I just see '~.oolite-save', while the real extension is '.txt.
Last edited by Eric Walch on Thu May 26, 2011 11:03 am, edited 1 time in total.
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16081
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: How to change default player Cobra MK III textures?

Post by Cody »

Damn, I should've spotted that... thanks Eric.
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
User avatar
Eric Walch
Slightly Grand Rear Admiral
Slightly Grand Rear Admiral
Posts: 5536
Joined: Sat Jun 16, 2007 3:48 pm
Location: Netherlands

Re: How to change default player Cobra MK III textures?

Post by Eric Walch »

El Viejo wrote:
Damn, I should've spotted that... thanks Eric.
Not me, but my plist editor spotted it for me. :D
v01i0
Average
Average
Posts: 14
Joined: Wed May 25, 2011 8:20 pm

Re: How to change default player Cobra MK III textures?

Post by v01i0 »

Disembodied wrote:
v01i0 wrote:
Okay, the instructions from El Miejo's post did the trick.
Psst ... "El Viejo" ... I think "El Miejo" might be an elderly cat ... :D
Oh scrap, you're right. My V-letter must've somehow turned upside down and doubled itself :lol:

I'll edit it to in a correct form. Thanks for heads up. Honestly, it was an lapsus.

-v
Last edited by v01i0 on Thu May 26, 2011 12:49 pm, edited 1 time in total.
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16081
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: How to change default player Cobra MK III textures?

Post by Cody »

v01i0 wrote:
now I can fly nice looking Cobra MK III too.
Good… enjoy your newly-skinned Cobra MkIII.

Of course, it’s possible to have a Cobra MkIII with your own custom colour scheme, and up to four decals of your own design, as I have on Rolling Thunder.
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
Post Reply