Revolution
Member
In reference to this mod (https://mb.srb2.org/showthread.php?t=43061), it makes it so you can transform with a seperate button, as opposed to standard double-jumping. (You had to jump and press spin without a shield.) Some speculated how to get other ways to transform.
Most users, including myself, have questioned why you can't transform into Super Sonic, Tails, & Knuckles using a separate button. Most users would answer that "Sapheros (the author) is permanently banned from the server". So that gave me a reason to edit the mod's script myself, and so far, I was pleased with the results...
I tried editing the script that controls the Super transformation and got to the point of an almost-Sonic 3 Complete style: You now jump, then hold spin, and double jump while spin is held, again, without a shield. I also made it so you don't transform during a spindash (specifically with this mod: https://mb.srb2.org/showthread.php?t=43070) or while rolling and a consecutive double-jump press, along with a few others. (And also, holding spin and then double-jump wouldn't work because of spindash issues, and vice versa would conflict with Super Sonic's flight). And also, it didn't feel right to me to rely on Custom buttons for it either; something about being easy to find...?
So the gist of what I'm saying is...
Original game - New style (Jump +hold spin + jump)
How do you edit this script so that you can transform with shields and turn Super on and off?
Super Transformation button mod is owned by Sapheros. Classic.wad is owned by Rumia1. I do not own their contents.
Most users, including myself, have questioned why you can't transform into Super Sonic, Tails, & Knuckles using a separate button. Most users would answer that "Sapheros (the author) is permanently banned from the server". So that gave me a reason to edit the mod's script myself, and so far, I was pleased with the results...
I tried editing the script that controls the Super transformation and got to the point of an almost-Sonic 3 Complete style: You now jump, then hold spin, and double jump while spin is held, again, without a shield. I also made it so you don't transform during a spindash (specifically with this mod: https://mb.srb2.org/showthread.php?t=43070) or while rolling and a consecutive double-jump press, along with a few others. (And also, holding spin and then double-jump wouldn't work because of spindash issues, and vice versa would conflict with Super Sonic's flight). And also, it didn't feel right to me to rely on Custom buttons for it either; something about being easy to find...?
So the gist of what I'm saying is...
Classic.wad - Sonic 3 Complete style (Hold jump + Custom 2)Can there be more?
I believe that it can be possible to modify the script so well, it becomes as functional as Sonic 3 Complete, albeit the permission of Super transformation with shields active and being able to toggle Super, both on and off.
Code:
addHook("JumpSpecial", function(player)
if ((player.charflags & SF_SUPER and All7Emeralds(emeralds)) or player.powers[pw_emeralds] == 127) then
if player.mo.health >= 51
and player.health >= 51
and not player.powers[pw_shield]
and not player.powers[pw_super]
and (player.pflags & PF_JUMPED)
and (player.cmd.buttons & BT_CUSTOM2)
and not (player.pflags & PF_CARRIED)
and not (player.pflags & PF_GLIDING)
and not (player.pflags & PF_MACESPIN)
and not (player.pflags & PF_ROPEHANG)
and not (player.pflags & PF_SPINNING)
and not (player.pflags & PF_STARTDASH)
and not (player.pflags & PF_THOKKED)
P_DoSuperTransformation(player, false)
player.pflags = $|PF_THOKKED
end
end
end)
Code:
addHook("JumpSpinSpecial", function(player)
if ((player.charflags & SF_SUPER and All7Emeralds(emeralds)) or player.powers[pw_emeralds] == 127) then
if player.mo.health >= 51
and player.health >= 51
and not player.powers[pw_shield]
and not player.powers[pw_super]
and (player.pflags & PF_JUMPED)
and (player.pflags & PF_USEDOWN)
and (player.cmd.buttons & BT_JUMP)
and not (player.pflags & PF_CARRIED)
and not (player.pflags & PF_GLIDING)
and not (player.pflags & PF_JUMPDOWN)
and not (player.pflags & PF_MACESPIN)
and not (player.pflags & PF_ROPEHANG)
and not (player.pflags & PF_SPINNING)
and not (player.pflags & PF_STARTDASH)
and not (player.pflags & PF_THOKKED)
P_DoSuperTransformation(player, false)
player.pflags = $|PF_THOKKED
end
end
end)
Super Transformation button mod is owned by Sapheros. Classic.wad is owned by Rumia1. I do not own their contents.
Last edited: