The Mirin Template

The NotITG Mirin Template. Easily create modfiles using Lua.


Project maintained by XeroOl Hosted on GitHub Pages — Theme by mattgraham

Back to main page

Player Specific Mods

Examples:

-- ease only player 1 to 100% invert
ease {0, 1, outExpo, 100, 'invert', plr = 1}

-- ease only player 2 to -100% invert
ease {0, 1, outExpo, -100, 'invert', plr = 2}

-- run a batch of eases using plr as a global, and reset plr when done.
plr = 1
ease {1, 2, outExpo, 100, 'reverse0'}
ease {2, 2, outExpo, 100, 'reverse1'}
ease {3, 2, outExpo, 100, 'reverse2'}
ease {4, 2, outExpo, 100, 'reverse3'}
plr = nil


-- use a table plr to specify multiple players at once
ease {10, 2, outExpo, 100, 'drunk', plr = {1, 3, 5}}

Extra Players

How to enable extra players

Although the game only goes up to 2 players, NotITG internally has 8 players. By default, these players are hidden, and in a special sleeping mode. To turn them on, run the SetAwake method, and pass in true. They can be disabled again with SetAwake(false).

Example:

-- awaken P3
P3:SetAwake(true)
-- show P3
P3:hidden(0)

How to set up extra player proxies

I’m too lazy to actually look at mods.xml and figure out how it works, so do it yourself, thanks in advance.