top of page

Setting up a Custom HUD

NOTE

 

All LUA tutorials require L3AKMOD. Follow the tutorial on how to install it HERE.


Download the required files HERE (From D3V Team). Open it up and drag the folder into your mapname folder.




SCRIPT

 

Navigate to "usermaps\zm_mapname\ui\uieditor\menus\hud" and rename the name of your HUD file to whatever you like.


Next, open up your mapname.csc and find the following line:

zm_usermap::main();

Insert the following line anywhere above that, but still within function main():

LuiLoad( "ui.uieditor.menus.hud.HUDNAME" );

Change HUDNAME to your HUD file name.


Open your mapname zone file located in "usermaps\zm_mapname\zone_source" and insert the following somewhere:

rawfile,ui/uieditor/menus/hud/HUDNAME.lua

Change HUDNAME to your HUD file name.


That's it!

Related Posts

See All

Installing L3akMod for LUA

NOTE If you're doing anything with LUA, such as custom perk icons or a custom HUD, you NEED L3akMod. Download L3eakMod HERE. You will also need BOTH VS 2015 and 2013 runtimes (x64 editions): 2015 2013

How to Remove the Gobble Gum Widget

NOTE All LUA tutorials require L3AKMOD. Follow the tutorial on how to install it HERE. This tutorial requires you to have a custom HUD set up for your map. If you don't have one, follow this tutorial

bottom of page