Forums » General StepMania » Help! Edit Theme

1
I want to remove the PAY MODE On my stepmania theme
someone knows how?
Reply
You can check if the game is in pay mode using:

GAMESTATE:GetCoinMode() == "CoinMode_Pay"


You can force the game out of pay mode using:


if GAMESTATE:GetCoinMode() == "CoinMode_Pay" then
PREFSMAN:SetPreference("CoinMode", "CoinMode_Home")
end


You could put that in a function that runs with your screen branches if you are paranoid, or make it part of the title screen or theme scripts.

Be aware that anyone who knows what they are looking for can remove the check.

Last edited: 8 May 2015 11:27pm

Reply