View Single Post
Plugin Info:     Modification:          Category:          Approver:   Hawk552 (427)
Jordan
Veteran Member
Join Date: Aug 2005
Old 08-16-2006 , 11:36   Parachute to Safety
Reply With Quote #1

Description
While I know that there is an amx_parachute, I decided to make this plugin anyway. What this does is, upon falling at a certain speed, a player's gravity is automatically switched to whatever the cvar is set to. A parachute also appears on the player's back, and is removed after the jump.

Version
1.2

CVARS/Commands
mp_parachute (at the moment the only values which can be set to are decimals, I'll fix that in my next update but I'm kind of tired now )
0.25 is equal to 200 gravity, 1.0 is 800 gravity (normal), etc.

Acknowledgments
Thanks to Hawk552 for his entity tutorial and nightscreem for some coding.
Thanks also to XxAvalanchexX, Zenith77, and Des12 for their help on entities.
Thanks to JTP10181 for some coding help with his amx_parachute plugin.

Changelog
-1.0 Initial Release
-1.1 Fixed some bugs, thanks to some help from Hawk552.
-1.2 Parachute fixes, thanks to JTP. I also made it so that bots do not deploy parachutes, as there were some Ed_Alloc issues with them.

To Do:
Allow integers for CVAR.

NOTE
This probably wouldn't be such a good idea for maps like awp_l337sk337.
Parachutes are only visible when looking at other players, not yourself (unless you are viewing yourself in third-person )
Attached Files
File Type: zip parachute.ZIP (64.1 KB, 17310 views)
File Type: sma Get Plugin or Get Source (parachute.sma - 22598 views - 2.2 KB)

Last edited by Jordan; 10-30-2006 at 21:58. Reason: new version
Jordan is offline