Page 1 of 1
Is there any way to change the Default Costume?
Posted: Tue Mar 02, 2021 9:47 pm
by Metrovania
I was working on a campaign and would like the player to START using the SMW costume built in to the game. Is there any way to do this? Alternatively, some LUA script which let's the player Look up and have a 2-stage run like SMW Mario would would also work, since It could hopefully be applied to the default mario.
Re: Is there any way to change the Default Costume?
Posted: Wed Mar 03, 2021 3:08 am
by Emral
In map.lua and episode-wide luna.lua:
Code: Select all
function onStart()
Player.setCostume(CHARACTER_MARIO, "SMW-Mario")
end
Re: Is there any way to change the Default Costume?
Posted: Wed Mar 03, 2021 10:23 am
by Metrovania
Thank you! I take it map.lua is just a script I should include in the world folder?
Re: Is there any way to change the Default Costume?
Posted: Wed Mar 03, 2021 10:48 am
by Emral
Metrovania wrote: ↑Wed Mar 03, 2021 10:23 am
Thank you! I take it map.lua is just a script I should include in the world folder?
Both scripts go into the main directory of your episode.