diff options
author | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-07-12 19:44:25 +0100 |
---|---|---|
committer | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-07-12 19:44:25 +0100 |
commit | 1c1d36fad84687a93a629525145c557f78cbf673 (patch) | |
tree | dad9279353a0b492349778a926dbc94a34762667 /Northstar.Custom/scripts/vscripts/gamemodes/_gamemode_fastball_intro.gnut | |
parent | ba41749cc6a6693f11a7f1c7535ff758a461a424 (diff) | |
download | NorthstarMods-1c1d36fad84687a93a629525145c557f78cbf673.tar.gz NorthstarMods-1c1d36fad84687a93a629525145c557f78cbf673.zip |
lots of general fixes
Diffstat (limited to 'Northstar.Custom/scripts/vscripts/gamemodes/_gamemode_fastball_intro.gnut')
-rw-r--r-- | Northstar.Custom/scripts/vscripts/gamemodes/_gamemode_fastball_intro.gnut | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/Northstar.Custom/scripts/vscripts/gamemodes/_gamemode_fastball_intro.gnut b/Northstar.Custom/scripts/vscripts/gamemodes/_gamemode_fastball_intro.gnut index 6a1d0bbdd..754825582 100644 --- a/Northstar.Custom/scripts/vscripts/gamemodes/_gamemode_fastball_intro.gnut +++ b/Northstar.Custom/scripts/vscripts/gamemodes/_gamemode_fastball_intro.gnut @@ -131,9 +131,6 @@ void function FastballPlayer( entity player ) ClearPlayerAnimViewEntity( player ) player.DeployWeapon() player.PlayerCone_Disable() - - RemoveButtonPressedPlayerInputCallback( player, IN_JUMP, PlayerHoldingJumpInIntro ) - RemoveButtonReleasedPlayerInputCallback( player, IN_JUMP, PlayerNoLongerHoldingJumpInIntro ) }) FirstPersonSequenceStruct throwSequence @@ -179,14 +176,10 @@ void function FastballPlayer( entity player ) vector throwVel = AnglesToForward( player.EyeAngles() ) * 950 throwVel.z = 675.0 - // allow players to gain extra height by holding jump after this point too - AddButtonPressedPlayerInputCallback( player, IN_JUMP, PlayerHoldingJumpInIntro ) - AddButtonReleasedPlayerInputCallback( player, IN_JUMP, PlayerNoLongerHoldingJumpInIntro ) - // wait for it to finish buddy.WaitSignal( "fastball_release" ) - if ( player in file.playersHoldingJump && file.playersHoldingJump[ player ] ) + if ( player.IsInputCommandHeld( IN_JUMP ) ) throwVel.z = 850.0 // have to correct this manually here since due to no 3p animation our position isn't set right during this sequence |