Changing colour of a ship
Moderators: winston, another_commander
- Rustybolts
- ---- E L I T E ----
- Posts: 293
- Joined: Sun Jun 07, 2009 6:22 pm
- Location: UK
Changing colour of a ship
If i altered the texture of a ship so that it is a different colour, but i want both colours of ship in game can i just alter the ship.dat for the new colour to look for the appropriate png. Eg the blue ship loads blue.png and red ship loads red.png. Or do i have to start the texture model from scratch in wings?
Last edited by Rustybolts on Sun Jun 21, 2009 2:06 pm, edited 1 time in total.
STE.+ Firefly/Dragonfly + BlackJacksbullion v.1.23 link below.
http://www.mediafire.com/?sharekey=ca16 ... f6e8ebb871
http://www.mediafire.com/?sharekey=ca16 ... f6e8ebb871
- Eric Walch
- Slightly Grand Rear Admiral
- Posts: 5536
- Joined: Sat Jun 16, 2007 3:48 pm
- Location: Netherlands
Re: Changing colour of a ship
You can do that over the materials directory for that ship. Look for examples in Thargoids SecondWave.oxp There he adds al kind of different coloured thargoids.Rustybolts wrote:If .... Eg the blue ship loads blue.png and red ship loads red.png. Or to i have to start the texture model from scratch in wings?
UPS-Courier & DeepSpacePirates & others at the box and some older versions
One other page that is useful is this one on the wiki.
It is actually possible using the materials key in shipdata.plist and the diffuse attribute (look in the first table on the wiki page) to "dye" a ship a different colour, still using the same texture map. I actually do this in Aquatics with some of the Manta Ray variants, look in the shipdata of that if you want examples.
I only learned about this recently (thanks to a pointer at that page by Griff), and it would have made Second Wave even smaller and simpler to do in most cases.
PS What I do in Second Wave is also covered on that linked page, there it's using the attribute diffuse_map to change the texture map used instead.
It is actually possible using the materials key in shipdata.plist and the diffuse attribute (look in the first table on the wiki page) to "dye" a ship a different colour, still using the same texture map. I actually do this in Aquatics with some of the Manta Ray variants, look in the shipdata of that if you want examples.
I only learned about this recently (thanks to a pointer at that page by Griff), and it would have made Second Wave even smaller and simpler to do in most cases.
PS What I do in Second Wave is also covered on that linked page, there it's using the attribute diffuse_map to change the texture map used instead.
My OXPs via Boxspace or from my Wiki pages .
Thargoid TV
Dropbox Referral Link
Thargoid TV
Dropbox Referral Link
- Rustybolts
- ---- E L I T E ----
- Posts: 293
- Joined: Sun Jun 07, 2009 6:22 pm
- Location: UK
At first glance looks complicated but will have a good look at it later tonight ty for both your replies.Thargoid wrote:One other page that is useful is this one on the wiki.
It is actually possible using the materials key in shipdata.plist and the diffuse attribute (look in the first table on the wiki page) to "dye" a ship a different colour, still using the same texture map. I actually do this in Aquatics with some of the Manta Ray variants, look in the shipdata of that if you want examples.
I only learned about this recently (thanks to a pointer at that page by Griff), and it would have made Second Wave even smaller and simpler to do in most cases.
PS What I do in Second Wave is also covered on that linked page, there it's using the attribute diffuse_map to change the texture map used instead.
STE.+ Firefly/Dragonfly + BlackJacksbullion v.1.23 link below.
http://www.mediafire.com/?sharekey=ca16 ... f6e8ebb871
http://www.mediafire.com/?sharekey=ca16 ... f6e8ebb871