Page 1 of 1

Best way to make a custom in game hud?

Posted: Tue Sep 14, 2021 9:00 am
by _SleepyWhirl_
hello, id like to customize the ingame hud (the 1UP text at the top, coin counter etc.) what would be the best way to go about this?

Re: Best way to make a custom in game hud?

Posted: Tue Sep 14, 2021 10:13 am
by deice
in your smbx2 folder, within "data/scripts/base" you can find the libraries "hudoverride.lua" and "hudoverride2.lua".
load either (depending on which version you want) into your level's (or episode's) luna.lua file as described here.

sadly, the library itself is not documented on codehaus, but enjl describes some basic usage in this thread

Re: Best way to make a custom in game hud?

Posted: Tue Sep 14, 2021 10:32 am
by _SleepyWhirl_
thank you very much! finally i can figure out how this works! :D