HUDs or Cockpits

General discussion for players of Oolite.

Moderators: winston, another_commander

HUDs or Cockpits?

HUDs
31
70%
Cockpits
10
23%
No interest
3
7%
 
Total votes: 44

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:

Post by Cody »

When immersed, I’m looking through a real ‘windscreen’ on the bridge, not at a projected display.
Some ‘handwavium’, some ‘glassteel’ and the shields… even bubble cockpits are possible.
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!
DGill
---- E L I T E ----
---- E L I T E ----
Posts: 292
Joined: Thu Jan 01, 2009 9:45 am

Post by DGill »

Prefer HUDs as they are not too obtrusive and easy to custimise (thanks Palmski :D )

Image
docked

Image
green alert

Image
yellow alert

Image
red alert
[/img]
User avatar
ClymAngus
---- E L I T E ----
---- E L I T E ----
Posts: 2514
Joined: Tue Jul 08, 2008 12:31 am
Location: London England
Contact:

Post by ClymAngus »

I do have to admit although a 2 screen solution would be cool the variability of the status changing hud does have it's coolness factor.

So if I must choose then I go with hud. I really must upgrade medusa at some point to take advantage of these fine new items.
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:

Post by Cody »

Nice pics, especially of Sol system… I like the changing alert status colours.
The odd thing is, the hud that DGill uses is really an instrument panel.
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!
DGill
---- E L I T E ----
---- E L I T E ----
Posts: 292
Joined: Thu Jan 01, 2009 9:45 am

Post by DGill »

A virtual instrument panel projected on the hud! - well, anyway it's fun to play about.
User avatar
maik
Wiki Wizard
Wiki Wizard
Posts: 2028
Joined: Wed Mar 10, 2010 12:30 pm
Location: Ljubljana, Slovenia (mainly industrial, feudal, TL12)

Post by maik »

DGill wrote:
Prefer HUDs as they are not too obtrusive and easy to custimise (thanks Palmski :D )

Image
Where do the medals and the rating graphics come from?
DGill
---- E L I T E ----
---- E L I T E ----
Posts: 292
Joined: Thu Jan 01, 2009 9:45 am

Post by DGill »

Just a bit of silliness. Rating switches from pirate to elite symbol when I evently get to Elite status (based on number of kills). Medals come from thargoid wars oxp. I added the following lines to the hud oxp:

if (player.score > 6399) {
player.ship.hud = ('hud_' + missionVariables.thargoidwars_medal + '.plist');
} else {
player.ship.hud = ('hud_' + missionVariables.thargoidwars_medal + '_deadly' + '.plist');
}
I originally wanted to display only symbols for legal status and rating, but couldn't figure out how to do the former - also not sure what to use as a symbol for 'clean status' - bar of soap perhaps?
User avatar
maik
Wiki Wizard
Wiki Wizard
Posts: 2028
Joined: Wed Mar 10, 2010 12:30 pm
Location: Ljubljana, Slovenia (mainly industrial, feudal, TL12)

Post by maik »

pretty!
User avatar
JazHaz
---- E L I T E ----
---- E L I T E ----
Posts: 2991
Joined: Tue Sep 22, 2009 11:07 am
Location: Enfield, Middlesex
Contact:

Post by JazHaz »

DGill wrote:
Just a bit of silliness. Rating switches from pirate to elite symbol when I evently get to Elite status (based on number of kills). Medals come from thargoid wars oxp. I added the following lines to the hud oxp:

if (player.score > 6399) {
player.ship.hud = ('hud_' + missionVariables.thargoidwars_medal + '.plist');
} else {
player.ship.hud = ('hud_' + missionVariables.thargoidwars_medal + '_deadly' + '.plist');
}
I originally wanted to display only symbols for legal status and rating, but couldn't figure out how to do the former - also not sure what to use as a symbol for 'clean status' - bar of soap perhaps?
I'm not sure of the syntax really, but have you tried this:

Code: Select all

if (player.score > 6399) {
player.ship.hud = ('hud_' + missionVariables.thargoidwars_medal + '.plist');
} else 
if (player.score > 2559) {
player.ship.hud = ('hud_' + missionVariables.thargoidwars_medal + '_deadly' + '.plist');				
} else 
if (player.score > 511) {
player.ship.hud = ('hud_' + missionVariables.thargoidwars_medal + '_dangerous' + '.plist');				
} else 
if (player.score > 127) {
player.ship.hud = ('hud_' + missionVariables.thargoidwars_medal + '_competent' + '.plist');				
} else 
if (player.score > 63) {
player.ship.hud = ('hud_' + missionVariables.thargoidwars_medal + '_aboveaverage' + '.plist');				
} else 
if (player.score > 31) {
player.ship.hud = ('hud_' + missionVariables.thargoidwars_medal + '_average' + '.plist');				
} else 
if (player.score > 15) {
player.ship.hud = ('hud_' + missionVariables.thargoidwars_medal + '_poor' + '.plist');				
} else 
if (player.score > 7) {
player.ship.hud = ('hud_' + missionVariables.thargoidwars_medal + '_mostlyharmless' + '.plist');				
} else {
player.ship.hud = ('hud_' + missionVariables.thargoidwars_medal + '_harmless' + '.plist');				
}
Don't know whether there are medal images for the lower levels, but it might work....
Last edited by JazHaz on Mon Sep 06, 2010 6:12 pm, edited 1 time in total.
JazHaz

Gimi wrote:
drew wrote:
£4,500 though! :shock: <Faints>
Cheers,
Drew.
Maybe you could start a Kickstarter Campaign to found your £4500 pledge. 8)
Thanks to Gimi, I got an eBook in my inbox tonight (31st May 2014 - Release of Elite Reclamation)!
DGill
---- E L I T E ----
---- E L I T E ----
Posts: 292
Joined: Thu Jan 01, 2009 9:45 am

Post by DGill »

Cheers, I'll give it a go.
User avatar
maik
Wiki Wizard
Wiki Wizard
Posts: 2028
Joined: Wed Mar 10, 2010 12:30 pm
Location: Ljubljana, Slovenia (mainly industrial, feudal, TL12)

Post by maik »

Just remove the second test for deadly. It's not going to hurt but is superfluous.

Cheers,
-Maik

EDIT: meant remove, not replace.
Last edited by maik on Mon Sep 06, 2010 6:18 pm, edited 1 time in total.
User avatar
JazHaz
---- E L I T E ----
---- E L I T E ----
Posts: 2991
Joined: Tue Sep 22, 2009 11:07 am
Location: Enfield, Middlesex
Contact:

Post by JazHaz »

maik wrote:
Just replace the second test for deadly. It's not going to hurt but is superfluous.
Ninja'd! :lol:

Just noticed that extra paste and editted my original post.
JazHaz

Gimi wrote:
drew wrote:
£4,500 though! :shock: <Faints>
Cheers,
Drew.
Maybe you could start a Kickstarter Campaign to found your £4500 pledge. 8)
Thanks to Gimi, I got an eBook in my inbox tonight (31st May 2014 - Release of Elite Reclamation)!
User avatar
maik
Wiki Wizard
Wiki Wizard
Posts: 2028
Joined: Wed Mar 10, 2010 12:30 pm
Location: Ljubljana, Slovenia (mainly industrial, feudal, TL12)

Post by maik »

Ka-pow! :D Just realized that I wrote replace instead of remove though. Edited my original post.
User avatar
Thargoid
Thargoid
Thargoid
Posts: 5528
Joined: Thu Jun 12, 2008 6:55 pm

Post by Thargoid »

Or alternatively (to save the nested if's)

Code: Select all

switch(player.rank)
   {
   case "Harmless":
      {
      player.ship.hud = ('hud_' + missionVariables.thargoidwars_medal + '_harmless.plist');
      break;
      }
   case "Mostly Harmless":
      {
      player.ship.hud = ('hud_' + missionVariables.thargoidwars_medal + '_mostlyharmless.plist');
      break;
      }

<insert the rest of the code in a similar fashion for the other ranks>

   }
using switch rather than the nest should be faster. You may also be able to streamline it further, but I guess the player.rank probably can't be used directly to generate a HUD plist filename as it will have spaces in it.

You can also use default: for the default setting of the switch (if none of the others are true), and don't forget the break; in each case subsection.
DGill
---- E L I T E ----
---- E L I T E ----
Posts: 292
Joined: Thu Jan 01, 2009 9:45 am

Post by DGill »

Thanks all, much appreciated.
Post Reply