Player movement speed overhaul, separating into three speeds: walk, run, sprint.

Added separate run/walk animations.
Added jump animation independent from boost.
Tweaked boost animation.
Tweaked fall animation.
This commit is contained in:
Mari the Deer 2021-05-31 16:17:59 +02:00
commit 9f7d64d1e5
14 changed files with 290 additions and 106 deletions

View file

@ -54,6 +54,13 @@ extend Class SWWMHandler
}
return;
}
else if ( e.Name ~== "swwmsetwalk" )
{
if ( (e.player == -1) || !playeringame[e.player] || !players[e.player].mo ) return;
let mo = Demolitionist(players[e.player].mo);
if ( mo ) mo.bWalking = e.Args[0];
return;
}
else if ( e.Name ~== "swwmfixitemcaps" )
{
// this command is only really needed when I update item max amounts mid-playthrough