Page 1 of 1
HUD plist reminder
Posted: Tue May 31, 2022 8:34 am
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
Re: HUD plist reminder
Posted: Thu Jun 02, 2022 12:30 am
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>
-->
Re: HUD plist reminder
Posted: Thu Jun 02, 2022 12:46 pm
by Slartibartfast
hello
yes ... Montana is right
or (fx.)
is openstep / javascript syntax
is HTML syntax
matthias
Re: HUD plist reminder
Posted: Thu Jun 02, 2022 2:09 pm
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;
},
Re: HUD plist reminder
Posted: Thu Jun 02, 2022 2:34 pm
by Cholmondely
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
Re: HUD plist reminder
Posted: Thu Jun 02, 2022 3:59 pm
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
Re: HUD plist reminder
Posted: Fri Jun 03, 2022 3:57 pm
by Stormrider
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.
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.
Re: HUD plist reminder
Posted: Fri Jun 03, 2022 5:16 pm
by Cholmondely
Stormrider wrote: ↑Fri Jun 03, 2022 3:57 pm
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.
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...