Fighter Hud (Dr_HUD_CMkIII.oxp )

Discussion and information relevant to creating special missions, new ships, skins etc.

Moderators: winston, another_commander

Post Reply
Rumpletumbler
Average
Average
Posts: 12
Joined: Thu Jun 03, 2010 1:55 pm

Fighter Hud (Dr_HUD_CMkIII.oxp )

Post by Rumpletumbler »

Is this hud compatible with 1.73.4? Dr_HUD_CMkIII.oxp

I get this.

Image

I saw several threads on adjusting the y value in the hud.plist for the .png and tried many different values there with no noticeable change to the hud placement.

Just wondering if anyone has it working.

Thanks.
User avatar
tinker
Deadly
Deadly
Posts: 166
Joined: Tue Jul 22, 2008 7:45 am
Location: Sachsen

Post by tinker »

I use the Dr_HUD oxp (not the CMkIII) and the screen was similar to yours, All I needed to do was change the Y value for dr_hud.png from -207 to

Code: Select all

<key>y</key>
			<integer>-175</integer>
I did of course edit the png and put an image of my ship under the pitch and roll indicators.

The hud has worked with all versions of Oolite up to and including current trunk.
Rumpletumbler
Average
Average
Posts: 12
Joined: Thu Jun 03, 2010 1:55 pm

Post by Rumpletumbler »

Any value I place there has absolutely no effect.

Just for clarity. This is what I'm editing, right?

<key>image</key>

<string>dr_HUD_Cobra_mk_3.png</string>

<key>height</key>

<integer>128</integer>

<key>width</key>

<real>640</real>

<key>x</key>

<integer>0</integer>

<key>y</key>

<integer>-175</integer>

<key>alpha</key>

<real>1.00</real>
User avatar
Svengali
Commander
Commander
Posts: 2370
Joined: Sat Oct 20, 2007 2:52 pm

Post by Svengali »

Shift pressed when starting Oolite? Could be funny without it... .-)
User avatar
tinker
Deadly
Deadly
Posts: 166
Joined: Tue Jul 22, 2008 7:45 am
Location: Sachsen

Post by tinker »

The complete section in mine is is

Code: Select all

<dict>
			<key>image</key>
			<string>dr_hud.png</string>
			<key>height</key>
			<integer>128</integer>
			<key>width</key>
			<real>640</real>
			<key>x</key>
			<integer>0</integer>
			<key>y</key>
			<integer>-175</integer>
			<key>alpha</key>
			<real>1.00</real>
		</dict>
I have a different png file as I use the custom version and not the Cobra one, but it is otherwise the same I think.

You will need to refresh the cache after every attempt to change anything in any oxp, by holding down shift when starting the game. If you do not manually refresh the cache (with the shift key) then it will use the old value and you will not see any change. This seems to be the problem.

Ah Svengali got there first.
Rumpletumbler
Average
Average
Posts: 12
Joined: Thu Jun 03, 2010 1:55 pm

Post by Rumpletumbler »

That did the trick.

Thanks!
Post Reply