I made CS Metal Sonic Remetalized, however it has since been updated to a different name, heres a link to it: link to the github
credits are in the code of the main.lua for who did what, as well i shall list those who helped with the mod by their discord usernames: atrael2, agente00g, darkstarkly. models are by warioplier and garrulous64
here is some example code
credits are in the code of the main.lua for who did what, as well i shall list those who helped with the mod by their discord usernames: atrael2, agente00g, darkstarkly. models are by warioplier and garrulous64
here is some example code
LUA:
function give_metal_without_metal_underwater(m)
if (m.flags & MARIO_METAL_CAP) ~= 0 and m.capTimer ~= 0 then return end
if ((m.action & ACT_GROUP_MASK) == ACT_GROUP_SUBMERGED) then
m.flags = m.flags | MARIO_METAL_CAP
else
m.flags = m.flags & ~MARIO_METAL_CAP
end
m.marioBodyState.modelState = m.marioBodyState.modelState & ~MODEL_STATE_METAL
end
Last edited: