HUD plist reminder

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

Moderators: winston, another_commander

Post Reply
User avatar
Killer Wolf
---- E L I T E ----
---- E L I T E ----
Posts: 2278
Joined: Tue Jan 02, 2007 12:38 pm

HUD plist reminder

Post by Killer Wolf »

Hi all

can someone refresh me regarding HUDs. i've trying to knock up a new one, 1920x1080 since we're in widescreen age now, and when i test it, it's massive. i've saved as 72dpi as usual, copied an old plist and tried adding x_origin and y_origin entries as the wiki said it's easier to set it to screen edges rather than calcing from screen centre. the gunsights seem centralised but as i said the image is massive,i'm seeing little else but the sights. had set the size but commmented it out in case the game did sizing automatically, still hasn't worked.

Code: Select all

		<dict>
			<key>image</key>
			<string>test.png</string>
		//	<key>width</key>
		//	<real>1920</real>
		//	<key>height</key>
		//	<real>1080</real>
		//	<key>x_origin</key>
		//	<integer>-1</integer>
		//	<key>y_origin</key>
		//	<integer>-1</integer>
			<key>x</key>
			<integer>0</integer>
			<key>y</key>
			<integer>0</integer>
			<key>alpha</key>
			<real>1.00</real>
		</dict>
TIA
User avatar
montana05
---- E L I T E ----
---- E L I T E ----
Posts: 1166
Joined: Mon May 30, 2016 3:54 am
Location: lurking in The Devils Triangle (G1)

Re: HUD plist reminder

Post by montana05 »

Killer Wolf wrote: Tue May 31, 2022 8:34 am
commmented it out in case the game

Code: Select all

		
		//	<key>width</key>
		//	<real>1920</real>
		//	<key>height</key>
		//	<real>1080</real>
		//	<key>x_origin</key>
		//	<integer>-1</integer>
		//	<key>y_origin</key>
		//	<integer>-1</integer>
TIA
As much as I remember, comments should be set in a different syntax:

Code: Select all

	
                <!--
                <key>width</key>
		<real>1920</real>
		<key>height</key>
		<real>1080</real>
		<key>x_origin</key>
		<integer>-1</integer>
		<key>y_origin</key>
		<integer>-1</integer>
                -->
Scars remind us where we've been. They don't have to dictate where we're going.
User avatar
Slartibartfast
Deadly
Deadly
Posts: 175
Joined: Mon Jan 21, 2008 3:54 pm

Re: HUD plist reminder

Post by Slartibartfast »

hello

yes ... Montana is right

Code: Select all

// .....
or (fx.)

Code: Select all

/*
	Random Docking Music OXP
*/
is openstep / javascript syntax

Code: Select all

      <!--   ..........
is HTML syntax

matthias
Oolite 1.91 / Imp. Trader ( slighly modified :wink: ) on Lubuntu 22.04 LTS on AMD64 2x 3800+ ,
ATI Radeon R7240 XFS / Samsung TV 40" 1080p
C-Media CMI8738 / Yamaha RX-V575 / DIY-Speaker
Logitech Attack3 & standard german keyboard
User avatar
Stormrider
Deadly
Deadly
Posts: 241
Joined: Sat Jan 25, 2014 2:35 am
Location: At work

Re: HUD plist reminder

Post by Stormrider »

I'm not sure about syntax or coding, but I have an image on my custom hud that is 1024 wide when I open it in an image editor but I scaled it down to 644 wide in my plist to make it small enough to fit my hud.

Code: Select all

	
		{
			image		= "StormHud.png";
			x		= 0;
			y		= 74;
			y_origin	= -1;
			height		= 144;
			width		= 644;
		},
Image
User avatar
Cholmondely
Archivist
Archivist
Posts: 5365
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
Contact:

Re: HUD plist reminder

Post by Cholmondely »

Stormrider wrote: Thu Jun 02, 2022 2:09 pm
Welcome Back!

You now have some new pages on our wiki:
Antient Aliens
Stormbrewer
And a short vignette of the real significance of your whiskey oxp under Economics & Geography
Comments wanted:
Missing OXPs? What do you think is missing?
Lore: The economics of ship building How many built for Aronar?
Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
User avatar
Killer Wolf
---- E L I T E ----
---- E L I T E ----
Posts: 2278
Joined: Tue Jan 02, 2007 12:38 pm

Re: HUD plist reminder

Post by Killer Wolf »

thanks for the feedback, i looked at another widescreen HUD and managed to cobble my way through. no idea how the Oolite reolution works but i go there!

cheers
User avatar
Stormrider
Deadly
Deadly
Posts: 241
Joined: Sat Jan 25, 2014 2:35 am
Location: At work

Re: HUD plist reminder

Post by Stormrider »

Cholmondely wrote: Thu Jun 02, 2022 2:34 pm
Welcome Back!
Thanks, the Stormbrewer page is awesome, but unfortunately we will have to do something different with that Antient Aliens page. Aside from the fact that it showcases my extremely poor spelling capabilities, I am somewhat ashamed to admit it is stolen from the TV show. :roll:

I've got some other ideas for a title that will be unique enough to avoid any possible licensing issues going forward. That was never intended to be the title it would be released under and frankly it is just a bunch of test scripts to try and get a handle on the coding aspect of creating missions.

I'll put something together and upload it to my box account, sometime next week.
Image
User avatar
Cholmondely
Archivist
Archivist
Posts: 5365
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
Contact:

Re: HUD plist reminder

Post by Cholmondely »

Stormrider wrote: Fri Jun 03, 2022 3:57 pm
Cholmondely wrote: Thu Jun 02, 2022 2:34 pm
Welcome Back!
Thanks, the Stormbrewer page is awesome, but unfortunately we will have to do something different with that Antient Aliens page. Aside from the fact that it showcases my extremely poor spelling capabilities, I am somewhat ashamed to admit it is stolen from the TV show. :roll:

I've got some other ideas for a title that will be unique enough to avoid any possible licensing issues going forward. That was never intended to be the title it would be released under and frankly it is just a bunch of test scripts to try and get a handle on the coding aspect of creating missions.

I'll put something together and upload it to my box account, sometime next week.
Great! AA is one of the most interesting unfinished oxp's I've come across.

Do you need a wiki account? Either I or Murgh can provide you with access. The Stormbrewer page is mostly thanks to Hiran & Montana05. I was merrily put up pages which interested me (i.e. not ships), and Hiran decided it made sense to put up every oxp on the in-game Expansions Manager, as well as every piece of equipment. So you really have him to thank. And Montana has been taking these top-notch snapshots of the ships.

Reference: Brilliant but broken...
Comments wanted:
Missing OXPs? What do you think is missing?
Lore: The economics of ship building How many built for Aronar?
Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
Post Reply