ModernStyledHud.lua

From Moondust Wiki
Jump to navigation Jump to search


ModernStyledHud is a library that replaces the old SMW Styled Hud with a Modern Styled Hud.

Installation

Download Here and Extract to LuaScriptsLib folder.

Setup

To enable the Modern Hud library in a level, add this line to your 'lunadll.lua' file:

local modernhud = API.load("ModernStyledHud");

Functions

Name Type Default Value Description
style number 3 The Hud Style. 1=SMB1, 2=SMB2, 3=SMB3, 4=SMW.
timecounter number 400 Level's Time Limit.
timelimitOn() nil Time Limit Switch on.
timelimitOff() nil Time Limit Switch off.
usereserve boolean false If true, Reserve Item Box System will be used.