Page 1 of 1

Fighter Hud (Dr_HUD_CMkIII.oxp )

Posted: Sat Jun 12, 2010 1:45 am
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.

Posted: Sat Jun 12, 2010 6:53 am
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.

Posted: Sat Jun 12, 2010 12:36 pm
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>

Posted: Sat Jun 12, 2010 1:30 pm
by Svengali
Shift pressed when starting Oolite? Could be funny without it... .-)

Posted: Sat Jun 12, 2010 1:35 pm
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.

Posted: Sat Jun 12, 2010 1:43 pm
by Rumpletumbler
That did the trick.

Thanks!