Page 1 of 1

costume.lua question

Posted: Wed Jul 22, 2020 3:56 pm
by UlticraftMTT
Is it possible to have multiple costume datas within a single costume.lua file? I'm working on a SMW styled episode and i'm using MrDoubleA's SMW Mario and Luigi costumes that were packaged in with SMBX as well as SpoonyBard's SMM2 Toadette costumes, but if i were to insert the costume.lua files from the SMW Mario and Luigi costume packs, it would overwrite the Toadette one.

Re: costume.lua question

Posted: Wed Jul 22, 2020 6:48 pm
by Hoeloe
You don't "insert" the costume files. You place the entire costume folder in their own "costumes" folder, and activate the costume from a Lua script (though I believe MrDoubleA's SMW costumes are built into the latest version of the game):

function onStart()
Player.setCostume(CHARACTER_MARIO, "SMW-Mario")
end