disc shadow on my hud

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

Moderators: winston, another_commander

Post Reply
User avatar
tomsk
Dangerous
Dangerous
Posts: 66
Joined: Sun Jan 11, 2009 12:21 pm
Location: under my Cobra's hood...

disc shadow on my hud

Post by tomsk »

Image

I've been customizing milhud and I can't get rid of the disc shadow in the upper half of the scanner.
It's there on the original milhud scanner too, but not on the default scanner. It's on all ships that I've tried as well.

Examing the milhud.png in PaintSHopPro doesn't show anything.

The only image I can find that's similar is Resources\Textures\target_metal.png. Even deleting this file doesn't remove the shadow.

WinXP, 1.72.2 with realistic shipyards, MilHudV2
User avatar
wackyman465
---- E L I T E ----
---- E L I T E ----
Posts: 831
Joined: Thu Nov 06, 2008 10:15 pm
Location: Currently hunting you down in an Imperial Courier

Post by wackyman465 »

Weird.
I shot him back first. That is to say, I read his mind and fired before he would have fired on me. No, sir, he wasn't a fugitive.
User avatar
Cmdr Wyvern
---- E L I T E ----
---- E L I T E ----
Posts: 1649
Joined: Tue Apr 11, 2006 1:47 am
Location: Somewhere in the great starry void

Post by Cmdr Wyvern »

@tomsk
You're using an older version of Milhud made for Oolite 1.65. Oolite 1.65 had an odd bug that shifted the co-ords of hud background images, and us hud designers compensated for that. Oolite 1.7x fixed the bug, which resulted in the compensated hud backgrounds being offcenter, which is what you're seeing.

The purpose of the 'disk' is to improve contrast in the gunsight area, and it's supposed to be aligned with the gunsight.

This entry in the milhud.plist controls it:

Code: Select all

		<dict><!-- Milglass underlay -->
			<key>image</key>
			<string>milglas.png</string>
			<key>width</key>
			<real>640</real>
			<key>height</key>
			<real>480</real>
			<key>x</key>
			<integer>0</integer>
			<key>y</key>
			<integer>0</integer>
			<key>alpha</key>
			<real>1.00</real>
		</dict>
Reset the 'y' to 0, or delete the entire entry. That'll fix your problem.
Running Oolite buttery smooth & rock stable w/ tons of eyecandy oxps on:
ASUS Prime X370-A
Ryzen 5 1500X
16GB DDR4 3200MHZ
128GB NVMe M.2 SSD (Boot drive)
1TB Hybrid HDD (For software and games)
EVGA GTX-1070 SC
1080P Samsung large screen monitor
User avatar
tomsk
Dangerous
Dangerous
Posts: 66
Joined: Sun Jan 11, 2009 12:21 pm
Location: under my Cobra's hood...

Post by tomsk »

Thanks Cmdr Wyvern - sorted. :D

My new HUD (although I might change the colour of the scanner border and centre.)

Image
Post Reply