HUD design - colours

An area for discussing new ideas and additions to Oolite.

Moderators: winston, another_commander

Robin
Average
Average
Posts: 11
Joined: Fri Sep 27, 2013 2:18 pm

HUD design - colours

Post by Robin »

Hi,
I've been trying my hand at HUD design and it's got me wondering, is there a reason why the bar colours are limited to red, green and yellow? I've seen that the developers are making a lot of great changes to the HUD options for 1.79, would adding in this flexibility be possible? The scanner and compass line colours can already be changed, but it would be cool to be able to get a consistent colour map/scheme across the rest of the dials. For the bars that change colour according to status (speed, laser temp etc.), maybe have the option of setting colour 1,2 and 3, or the option to turn off that functionality for a HUD OXP?

There may be technical or lore reasons why this is frowned upon (and as always apologies if this has been discussed already but I couldn't find anything), just thought I'd suggest it :-)
User avatar
cim
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 4072
Joined: Fri Nov 11, 2011 6:19 pm

Re: HUD design - colours

Post by cim »

Robin wrote:
The scanner and compass line colours can already be changed, but it would be cool to be able to get a consistent colour map/scheme across the rest of the dials. For the bars that change colour according to status (speed, laser temp etc.), maybe have the option of setting colour 1,2 and 3, or the option to turn off that functionality for a HUD OXP?
Looking at the entries which are bar gauges, I think the only one which doesn't change colour with size is the fuel gauge. Cabin Temperature has six colours which could potentially be defined (low, medium, high, and then flashing between two for critical, plus one more for the optional surround)

Still, it should be fairly straightforward to allow those colours to be altered. I'll sort it out at some point if no-one else gets round to it.
Zireael
---- E L I T E ----
---- E L I T E ----
Posts: 1396
Joined: Tue Nov 09, 2010 1:44 pm

Re: HUD design - colours

Post by Zireael »

Has this been done?
User avatar
cim
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 4072
Joined: Fri Nov 11, 2011 6:19 pm

Re: HUD design - colours

Post by cim »

Zireael
---- E L I T E ----
---- E L I T E ----
Posts: 1396
Joined: Tue Nov 09, 2010 1:44 pm

Re: HUD design - colours

Post by Zireael »

Is it possible to change the color of the text?

Also (unrelated but don't want to start a new thread): would it be possible to make the STE box shape and color moddable? So that I can have a cyan circle or an orange triangle?
User avatar
Norby
---- E L I T E ----
---- E L I T E ----
Posts: 2577
Joined: Mon May 20, 2013 9:53 pm
Location: Budapest, Hungary (Mainly Agricultural Democracy, TL10)
Contact:

Re: HUD design - colours

Post by Norby »

Zireael wrote:
Is it possible to change the color of the text?
No, but you can make more or less bright text using alpha.
Zireael wrote:
I can have a cyan circle or an orange triangle?
Draw into transparent pngs and show as image legends.
Zireael
---- E L I T E ----
---- E L I T E ----
Posts: 1396
Joined: Tue Nov 09, 2010 1:44 pm

Re: HUD design - colours

Post by Zireael »

I can't draw for the life of me. I tried recolouring one of the image-based HUDs (I think it was Beatnik's) and failed spectacularly because the editor used wrecked the transparent background :(
User avatar
Smivs
Retired Assassin
Retired Assassin
Posts: 8408
Joined: Tue Feb 09, 2010 11:31 am
Location: Lost in space
Contact:

Re: HUD design - colours

Post by Smivs »

Zireael wrote:
I tried recolouring one of the image-based HUDs...and failed spectacularly because the editor used wrecked the transparent background :(
Which graphics editor are you using? Both Gimp and Photoshop handle transparancy very well.
Commander Smivs, the friendliest Gourd this side of Riedquat.
Zireael
---- E L I T E ----
---- E L I T E ----
Posts: 1396
Joined: Tue Nov 09, 2010 1:44 pm

Re: HUD design - colours

Post by Zireael »

I don't have PS and Gimp refuses to work for me for some arcane reason - won't even start. I tried Paint and Inkscape.
User avatar
Smivs
Retired Assassin
Retired Assassin
Posts: 8408
Joined: Tue Feb 09, 2010 11:31 am
Location: Lost in space
Contact:

Re: HUD design - colours

Post by Smivs »

I don't know Inkscape, but Paint is a kiddies toy not a graphics program. So what happened with Gimp - how was it not working?
Commander Smivs, the friendliest Gourd this side of Riedquat.
Zireael
---- E L I T E ----
---- E L I T E ----
Posts: 1396
Joined: Tue Nov 09, 2010 1:44 pm

Re: HUD design - colours

Post by Zireael »

Smivs wrote:
So what happened with Gimp - how was it not working?
*shrugs*
I've tried installing it twice, and both times, when I tried to run it showed me the loading splash screen thingy and then it just stopped.
Win 7 64 bit.
User avatar
Smivs
Retired Assassin
Retired Assassin
Posts: 8408
Joined: Tue Feb 09, 2010 11:31 am
Location: Lost in space
Contact:

Re: HUD design - colours

Post by Smivs »

I'm on Linux but that shouldn't make a lot of difference, although mine never shows a splash-screen, it just starts.
<politely shouts>Anyone here using Gimp on Windows?</shouting>
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: HUD design - colours

Post by Cody »

Smivs wrote:
<politely shouts>Anyone here using Gimp on Windows?</shouting>
No problems here with Gimp on Win 7 Ultimate 64bit.
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
Norby
---- E L I T E ----
---- E L I T E ----
Posts: 2577
Joined: Mon May 20, 2013 9:53 pm
Location: Budapest, Hungary (Mainly Agricultural Democracy, TL10)
Contact:

Re: HUD design - colours

Post by Norby »

You can try various stable and nightly versions of Gimp for windows.
Alternatively, try Krita.
User avatar
StathisR
Dangerous
Dangerous
Posts: 71
Joined: Fri Jun 08, 2012 9:31 pm
Location: Serres, Greece

Re: HUD design - colours

Post by StathisR »

Smivs wrote:
I'm on Linux but that shouldn't make a lot of difference, although mine never shows a splash-screen, it just starts.
<politely shouts>Anyone here using Gimp on Windows?</shouting>
Running ok in win7 Home Premium 64 bit. I had no problems either on my previous Win XP box.
Post Reply