SHARE
TWEET

WIP

a guest Dec 15th, 2019 49 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. addHook("JumpSpecial", function(player)
  2.     if not (player.pflags & PF_THOKKED)
  3.         if(zabl_state = 0)
  4.             player.mo.momx = 0
  5.             player.mo.momz = 0
  6.             player.mo.momy = 0
  7.             if(zabl_holdtime = 0)
  8.                 zabl_state = 1
  9.             end
  10.             if(zabl_holdtime > 0)
  11.                 zabl_holdtime = $-1
  12.             end
  13.         end
  14.         if(zabl_state = 1)
  15.             if player.cmd & not BT_USE
  16.                 if not (player.pflags & PF_THOKKED)
  17.                     A_ZThrust(player.mo, 15)
  18.                     player.pflags = $1 + PF_THOKKED
  19.                 end
  20.             end
  21.             if player.cmd & BT_USE
  22.                 if not (player.pflags & PF_THOKKED)
  23.                     A_Thrust(player.mo, 5)
  24.                     player.pflags = $1 + PF_THOKKED
  25.                 end
  26.             end
  27.         end
  28.     end
  29. end)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top