Change laser colour - now solved.
Moderators: winston, another_commander
- Cody
- Sharp Shooter Spam Assassin
- Posts: 16081
- Joined: Sat Jul 04, 2009 9:31 pm
- Location: The Lizard's Claw
- Contact:
Change laser colour - now solved.
I think this has been covered, but I can't find it (as usual).
Can I change my laser colour? I've tried changing it in config etc. but no luck.
I have a very specific reason to want to do this, related to "my poor old eyes".
I'm flying a Griff Cobra Mk III. 1.73.4 on PC.
Regards
Can I change my laser colour? I've tried changing it in config etc. but no luck.
I have a very specific reason to want to do this, related to "my poor old eyes".
I'm flying a Griff Cobra Mk III. 1.73.4 on PC.
Regards
Last edited by Cody on Thu Oct 01, 2009 12:21 pm, edited 1 time in total.
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!
And any survivors, their debts I will certainly pay. There's always a way!
Yes, via the key in shipdata.plist.
For example laser_color = "blueColor"; (for openstep coding, use the normal angle-brackets equivalent for XML) will turn your laser blue. Note the spelling of color in both places though.
For example laser_color = "blueColor"; (for openstep coding, use the normal angle-brackets equivalent for XML) will turn your laser blue. Note the spelling of color in both places though.
My OXPs via Boxspace or from my Wiki pages .
Thargoid TV
Dropbox Referral Link
Thargoid TV
Dropbox Referral Link
- Cody
- Sharp Shooter Spam Assassin
- Posts: 16081
- Joined: Sat Jul 04, 2009 9:31 pm
- Location: The Lizard's Claw
- Contact:
Hi Thargoid.
I've tried that in Oolite/resources/config/shipdata.plist cobra3-player (is that correct) and in Griff's equivalent. I'll go back and keep trying.
Cheers
I've tried that in Oolite/resources/config/shipdata.plist cobra3-player (is that correct) and in Griff's equivalent. I'll go back and keep trying.
Cheers
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!
And any survivors, their debts I will certainly pay. There's always a way!
The change has to be in the shipdata.plist entry for the ship you're flying, in this case the Griff Cobra III.
I don't know how he has set this one up, but if it's via a shipdata.plist entry that uses a "like_ship = " type key to copy data from the original, then it should go in that entry, not the original one (ie the "top level" entry).
It does work in v1.73.4 on XP, I use it for my player ships in Aquatics for example. Maybe try one of those and confirm on your set-up that the lasers are the colours they should be from the shipdata.plist.
Also please post your modified shipdata.plist code entry so we can check it?
I don't know how he has set this one up, but if it's via a shipdata.plist entry that uses a "like_ship = " type key to copy data from the original, then it should go in that entry, not the original one (ie the "top level" entry).
It does work in v1.73.4 on XP, I use it for my player ships in Aquatics for example. Maybe try one of those and confirm on your set-up that the lasers are the colours they should be from the shipdata.plist.
Also please post your modified shipdata.plist code entry so we can check it?
My OXPs via Boxspace or from my Wiki pages .
Thargoid TV
Dropbox Referral Link
Thargoid TV
Dropbox Referral Link
- 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:
Just follow the hint in the Shipdata.plist-documentation and the colour specifier-documentation linked therein.
Note: If you use an illegal colour specifier, Oolite will ignore it and fall back to the default red laser colour.
Note: If you use an illegal colour specifier, Oolite will ignore it and fall back to the default red laser colour.