Author Topic: Flying HUD  (Read 2107 times)

The project im working on now:

* Note that this isn't centered (lol), Anyone knows how to do?

DOWANTDOWANT can you make it so it is armed when in vehicles?


(screenwidth + hudwidth) / 2 = centered value

Same goes with height.

Does it work? Like show speed and altitude?

(screenwidth + hudwidth) / 2 = centered value

Same goes with height.
How to get the resolution the player is playing blockland?

Does it work? Like show speed and altitude?
Yup, The arrows you see are individual bitmaps, And move according to your speed, altitude.
Also, The empty grey boxes will show your speed and height too, But in text

/command to use?
Im thinking of just making an keybind, As i have no idea how to trigger this on player enter a vehicle (Plane would be even harder..)
Unless you edit the vehicle

Code: [Select]
%ResY = (getWord(getRes(),1));Is what I use.

Make it perfectly centered in 640x480 view, and then use horizSizing and vertSizing of "center"

No need to resize it manually, although that has its merits too.

Make it perfectly centered in 640x480 view, and then use horizSizing and vertSizing of "center"

No need to resize it manually, although that has its merits too.
I didn't know that before I checked it up. That is the correct way of doing it.

Make it perfectly centered in 640x480 view, and then use horizSizing and vertSizing of "center"

No need to resize it manually, although that has its merits too.
Thanks.

Given that you can't rotate gui controls, this is going to be a pretty ineffective flying HUD.


Given that you can't rotate gui controls, this is going to be a pretty ineffective flying HUD.
You can move a bitmap right? (Up and down)

How do you make a HUD?
Make sure the mission editor is enabled (There are plenty of tutorials here)
Read AGlass0fMilk's tutorial on the GUI editor (http://forum.blockland.us/index.php?topic=67198.msg1122578)
Just make an gui without an window
Code: [Select]
PlayGui.Add(GUINAME);
PlayGui.Remove(GUINAME);
« Last Edit: February 02, 2010, 01:43:28 AM by goz3rr »

Given that you can't rotate gui controls, this is going to be a pretty ineffective flying HUD.
dts then, lul