Sharen's Improved Swimming

Sharen's Improved Swimming v1.0

Mar 27, 2024
42
39
500
Ex Coop Mods Archive submitted a new mod:

Sharen's Improved Swimming - Changes out SM64's sluggish water controls for new ones that feel a lot faster and responsive.

Sharen's Improved Swimming

List of changes:

- Instead of rotating Mario to the desired direction and pressing A at a specific rhythm, you now simply pull the stick to where you wanna go and Mario will simply go there, with no need to mash A as he'll stroke on his own, if you wish to go up or down, just hold A or Z.

- Entering water no longer puts you in a state where you have to wait for Mario to stop moving downwards, instead, you get to control him right away! In...

Read more about this mod...
 
  • Like
Reactions: Cnoe-493958-29jdjjd
I wonder, will there be an option or something to have metal mario go into his walking animation when at the bottom of the water, so he doesn't awkwardly over just above the bottom and make it look like you won't be able to press switches while metal?
 
This mod has a good improvement compared to the original swimming but the problem here it's the camera.
 
Makes it way easier to move fluidly.
I should note that the mario "skid" animation plays once you stop swimming. It might require fixing.

If your concern is sinking and staying submerged, here is the modified "fasterswimming.lua".

Using a -1 value for y to make the character submerge on detection of ACT_WATER_PLUNGE and stay submerged is sufficient.

CODE:

function mario_before_phys_step(m)


if (m.action & ACT_FLAG_SWIMMING) ~= 0 then

if m.action ~= ACT_WATER_PLUNGE then
m.vel.y = m.vel.y -1 --Set Gravity to sink in water.
--djui_chat_message_create("SUBMERGED")
else
end
end
m.vel.x = m.vel.x
m.vel.y = m.vel.y
m.vel.z = m.vel.z
end
-----------
-- hooks --
-----------
hook_event(HOOK_BEFORE_PHYS_STEP, mario_before_phys_step)
 
Last edited:
  • Like
Reactions: barrelguy999
uhhh hey, this mod seems to be broken as of the v1.3 update for coopDX, it says theres errors and also covers me in a cloud of smoke.
 
Gox_76MWAAA-1AI


I found a bug in the mod
 
Makes it way easier to move fluidly.
I should note that the mario "skid" animation plays once you stop swimming. It might require fixing.

If your concern is sinking and staying submerged, here is the modified "fasterswimming.lua".

Using a -1 value for y to make the character submerge on detection of ACT_WATER_PLUNGE and stay submerged is sufficient.

CODE:

function mario_before_phys_step(m)


if (m.action & ACT_FLAG_SWIMMING) ~= 0 then

if m.action ~= ACT_WATER_PLUNGE then
m.vel.y = m.vel.y -1 --Set Gravity to sink in water.
--djui_chat_message_create("SUBMERGED")
else
end
end
m.vel.x = m.vel.x
m.vel.y = m.vel.y
m.vel.z = m.vel.z
end
-----------
-- hooks --
-----------
hook_event(HOOK_BEFORE_PHYS_STEP, mario_before_phys_step)
Yes i know but for what mod appears the "ACT_WATER_PLUNGE?
 

Users who are viewing this thread