Modern Abilities for 2.2

Modern Abilities for 2.2 v1

  • Thread starter Muffin Kid from Brazil
  • Start date
Ok? this has already been ported,so i dont get why they let this in releases,but its fine i guess
 
It is much better
And the jump sprites dont get fucked up in some animations
 
you d'ont know why player use alaways fall anim ?

try that :

Code:
addHook("ThinkFrame", do
    for player in players.iterate do
        if (player.mo and player.playerstate == PST_LIVE)
            if not (P_IsObjectOnGround(player.mo))
            and not (player.pflags & PF_JUMPED)
            and not (player.panim == PA_ROLL)
            and not (player.mo.state == S_PLAY_FLOAT)
            and not (player.mo.state == S_PLAY_FLOAT_RUN)
            and (player.panim == PA_WALK or player.panim == PA_RUN) then
                player.mo.state = S_PLAY_FALL
            end
            if (player.pflags & PF_JUMPED) and not (player.pflags & PF_NOJUMPDAMAGE) then
                if not (player.panim == PA_ROLL) yhen
                    player.mo.state = S_PLAY_ROLL
                end
            end
        end
    end
end)

and override the defalut code who manages fall and jump anim.
 
Top