Duke4.net Forums: how to create a new hud? - Duke4.net Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

how to create a new hud?

User is offline   Lazy Dog 

#1

i want to create a new hud based on the original brief hud, basically a extended version of it, how should i go about doing this?

here is how i would like it to look (done in photoshop)

https://media.moddb.com/images/members/5/4281/4280876/hud_mockup.jpg

This post has been edited by Lazy Dog: 09 January 2019 - 12:44 PM

0

User is offline   Perro Seco 

#2

Create an event (wherever you want) called EVENT_DISPLAYREST and write there your code for the new hud.

With rotatesprite you can place the decorative sprites. For getting the current ammo, save first the curr_weapon value inside a var, and then use that var along with ammo_amount to get the current weapon's ammo. To show it on screen, use digitalnumber.

If you manage to do it, then use got_access to determine when to draw the small key icons.

I hope I have explained it clearly. If not, feel free to ask whatever you want. :)
0

User is offline   Lazy Dog 

#3

thanks!, worked like a charm
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic


All copyrights and trademarks not owned by Voidpoint, LLC are the sole property of their respective owners. Play Ion Fury! ;) © Voidpoint, LLC

Enter your sign in name and password


Sign in options