Page 3 of 3

Re: Realistic damage

Posted: Thu Oct 01, 2015 12:23 am
by Norby
Layne wrote:
Norby wrote:
Image
Note the Hull bar left from the clock. This need CombatMFD and Large or XL HUD in HUDSelector, but you can make it into any HUD using the same tricks.
This property can be added to any HUD? Can you give a brief rundown on the script involved in that? I use a modified Chupacabra HUD with a single added MFD display, and I wouldn't mind having a hull-integrity status on it if it's not too hard to add in.
Put this into the dials section of the .plist file of your HUD:

Code: Select all

		{	data_source = "combatSLBar"; selector = "drawCustomBar:"; draw_surround = yes;
			alert_conditions= 14; //do not show in the dock
			alpha = 1.0; height = 2; width = 35; x = -125; y = 23; y_origin = -1; },
The hull label can be created in the legends section:

Code: Select all

		{	text = "Hull"; align = 1; x = -93; y = 18; y_origin = -1; height=7; width=7;
				alert_conditions= 14; //do not show in the dock
				alpha=0.5;},
If you have CombatMFD OXP then you are done (works without the MFD equipment also), else you must put this into a timer in a worldScript:

Code: Select all

player.ship.setCustomHUDDial("combatSLBar", (player.ship.serviceLevel-75)/25);
There are more Custom HUD dials filled by CombatMFD, for example combatSpeed is very useful imho.

Re: Realistic damage

Posted: Thu Oct 01, 2015 12:55 am
by Layne
Norby wrote:
There are more Custom HUD dials filled by CombatMFD, for example combatSpeed is very useful imho.
I've tried CombatMFD, but during a battle, I find I do worse when tempted to peek at the MFD instead of just keeping my eyes on the crosshairs! Simplify, simplify, simplify!

Re: Realistic damage

Posted: Thu Oct 01, 2015 12:58 am
by Fritz
Norby wrote:
Fritz wrote:
What ship are you flying? :shock:
A really big one: [wiki]Andromeda[/wiki].
Oh. I would have expected a more fancy HUD in this one! :lol:

Re: Realistic damage

Posted: Thu Oct 01, 2015 1:49 am
by Diziet Sma
<subtle hint mode>

Norby, that would make a nice post for the Tweaking Thread, even though it's not OXP specific!

</subtle hint mode>

Re: Realistic damage

Posted: Thu Oct 01, 2015 9:34 am
by Norby
Layne wrote:
I do worse when tempted to peek at the MFD
This is why I was happy when custom dials arrived: these can help to read the values near the bars, even without bringing up the MFD.
Diziet Sma wrote:
that would make a nice post for the Tweaking Thread
Done, thanks!