It's a fork by Dragokas and Joshe Gatito of well-known Parachute done by SWAT_88 and contributors.
Number of changes are a lot (see ChangeLog for details).
Main new features:
- Much more smooth moving (some operations moved from game frame to a single parenting)
- 2 parachute models simultaneously (1 for root admin, 2 - for other players)
- Fixed animation
- Added detach animation
- More control over animation time in ConVars
- Optimizations
- Free of errors
- API
// 0: dont use the model - 1: display the Model
sm_parachute_model "1"
// 0: dont use Realistic velocity-decrease - x: sets the velocity-decrease.
sm_parachute_decrease "0"
// 1: uses button +USE for parachute usage. - 2: uses button +JUMP. - 3: uses any button, +USE 'E' or +JUMP 'Space'
sm_parachute_button "1"
// 0: always play parachute landing animation. > 0: to set conrete altitude. If player opened parachute below this altitude, landing animation is not play.
sm_parachute_landanim_limit "115"
// Duration (in sec.) of detach animation
sm_parachute_detach_animtime "2.0"
Commands:
PHP Code:
// Buy parachute
sm_bp
sm_buy_parachute
// Sell parachute
sm_sp
sm_sell_parachute
Supported games:
- Plugin is only tested in L4D1 and L4D2.
- Other games are not guaranteed to work perfectly.
Requirements:
- content server (plugin contains a downloadable content)
API:
Spoiler
PHP Code:
/**
* Restrict opportunity of client to use parachute.
*
* @param iClient Client index given.
* @param bLock true - to disable parachute, false - enable.
* @param fTimeout If specified, give back parachute after this amount of seconds.
*
* @error Wrong number of arguments.
* @noreturn
*/
native int PA_RestrictClient(int iClient, bool bLock = true, float fTimeout = 0.0);
Installation:
- Put contents of "Content-server" folder on your content-server.
- Put contents of "ftp" folder on your game-server.
Credits:
- @SWAT_88 - original author
- @Joshe Gatito - for fixing the models animation
- @Marttt - for solving issue of glowing the parented model
- @Greyscale, @Pinkfairie, @bl4nk, @theY4Kman, @Knagg0, @KRoT@L, @JTP10181 - for contribution in the original work.
Donate
Donates are very appreciated and welcomed for further inspiration, make me happy, and make next updates came out more often:
- Patreon
- BitCoin
- Ю.Money