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!
Commenti