• Welcome Guest, The new Modme forums are here! Please visit here for all recommended information.

Released Lua HUD Injector

lilrifa

New member
Hi all,
I recently spent some time working on a lua file that would allow a user to inject custom hud code into the main level hud. With this method, you would be able to add hud content to stock maps without ripping and rebuilding the stock files. This would be most useful in mods, but it's also compatible with maps.

Installation is simple.
1. Copy all the files and folders to your map or mod's folder
2. Add
Code:
LuiLoad("ui.HUDInject.HUDInject");
to your CSC file
3. Add
Code:
rawfile,ui/HUDInject/HUDInject.lua
to your zone
Done!

The injector file has adequate documentation and is extensible. Ping me on discord if you have any questions.
 

Attachments

lilrifa

New member
EDIT: References to a powerup widget I've been working on have been left in the Injector lua. Remove these to avoid errors.
 
Top