Author Topic: Custom HUD  (Read 9389 times)

Hipshot

  • Developer
  • Posts: 453
  • Level Designer
    • View Profile
Custom HUD
« 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] || [SOURCE]

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.
« Last Edit: July 06, 2014, 05:32:28 PM by Hipshot »

Amran

  • Posts: 20
  • Maggot Crusher.
    • View Profile
Re: Custom HUD
« Reply #1 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.

MadMan

  • Posts: 96
  • Faggot Crusher.
    • View Profile
Re: Custom HUD
« Reply #2 on: July 07, 2014, 06:12:57 PM »
PRO

MadMan

  • Posts: 96
  • Faggot Crusher.
    • View Profile
Re: Custom HUD
« Reply #3 on: July 07, 2014, 07:33:17 PM »
What does the "Sprite anchor" mean? It has "100% 50%" what do these percentages mean?

Thanks.

Hipshot

  • Developer
  • Posts: 453
  • Level Designer
    • View Profile
Re: Custom HUD
« Reply #4 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!

MadMan

  • Posts: 96
  • Faggot Crusher.
    • View Profile
Re: Custom HUD
« Reply #5 on: July 07, 2014, 08:03:31 PM »
WHAAAAT WHAAAAAAAAAAAAAAAT! console.xml   I have never heard of this. Where is this?

CrusaderDeleters

  • Posts: 102
  • The Great Crusader
    • View Profile
Re: Custom HUD
« Reply #6 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
« Last Edit: July 07, 2014, 10:22:28 PM by CrusaderDeleters »
The King of Maernol

Dai Tou Zai

  • Posts: 99
  • Definitely Not Blitzcrank
    • View Profile
Re: Custom HUD
« Reply #7 on: October 17, 2014, 06:03:45 PM »
I would def add this to my custom map but i'm too lazy too lol
No i'm not blitzcrank, stop asking me.

Pyrodioxide

  • Posts: 7
  • It is dangerous to go alone!
    • View Profile
Re: Custom HUD
« Reply #8 on: May 13, 2015, 06:57:25 PM »
Thanks Hipshot! This is awesome!
Feel free to use the jukebox script: http://hammerwatch.com/forum/index.php?topic=2304.0