Hammerwatch Forum

Custom mapping and Mods => Editor Discussion => Topic started by: Hipshot on July 06, 2014, 05:11:48 PM

Title: Custom HUD
Post by: Hipshot on July 06, 2014, 05:11:48 PM
Ok, here's an example I made on toggleable HUD elements, made possible in the last patch (123).

[EXAMPLE (http://www.zfight.com/misc/files/hw/hipshot_example_hud.hwm)] || [SOURCE (http://www.zfight.com/misc/files/hw/hipshot_example_hud.zip)]

It demonstrates an intro, a tutorial text, a simple text notation and a solvable "quest". I provided the source so everyone can see how I did this.
Title: Re: Custom HUD
Post by: Amran on July 07, 2014, 06:11:36 AM
Great, thank you for posting this sample! I've used this to add a hud element for the shovel in Pirate's Cove.
Title: Re: Custom HUD
Post by: MadMan on July 07, 2014, 06:12:57 PM
PRO
Title: Re: Custom HUD
Post by: MadMan on July 07, 2014, 07:33:17 PM
What does the "Sprite anchor" mean? It has "100% 50%" what do these percentages mean?

Thanks.
Title: Re: Custom HUD
Post by: Hipshot on July 07, 2014, 07:59:10 PM
Anchor is a position thing. Play around with it and you will see how it works.

Pro tip, use my console.xml, then hit F7 after you saved the gui/hud.xml, then it will update w/o restarting, makes your life much easier!
Title: Re: Custom HUD
Post by: MadMan on July 07, 2014, 08:03:31 PM
WHAAAAT WHAAAAAAAAAAAAAAAT! console.xml   I have never heard of this. Where is this?
Title: Re: Custom HUD
Post by: CrusaderDeleters on July 07, 2014, 10:20:53 PM
WHAAAAT WHAAAAAAAAAAAAAAAT! console.xml   I have never heard of this. Where is this?
It's his in-game cheat engine. I'll grab a link for ya. :)
http://hammerwatch.com/forum/index.php?topic=2074.0
It is literally a pinned topic called "Console Commands" XD
Title: Re: Custom HUD
Post by: Dai Tou Zai on October 17, 2014, 06:03:45 PM
I would def add this to my custom map but i'm too lazy too lol
Title: Re: Custom HUD
Post by: Pyrodioxide on May 13, 2015, 06:57:25 PM
Thanks Hipshot! This is awesome!