View Single Post
Plugin Info:     Modification:          Category:         
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 08-20-2022 , 03:33   Amxx Parachute with customizable autorip for bots/humans. Updated: April 23rd 2023
Reply With Quote #1

Script was originally Parachute 1.3 (KRoTaL) from jtp10181.

The original AMX version source.

Looking for the 'simple' parachute? Here is the core. It has been updated a few times since this iteration. Post comments as needed.

Missile Plugin that shoots down these annoying parachutes.

This script comes with 3 parachutes. 1 for admin, camouflage, the common weee! parachute for standard players and the evil wings for bots. The parachutes as Cstrike aims at realism can be shot down. When shot down they make a scary and realistic wind sound.

What's new in 1.4?
If installed eagerly without the model it used to crash the server! Instead logs: [amx_parachute.amxx] Your parachute model is not correct!

What's new in 1.5?
Amx_parachute includes a cvar, parachute_autoadmin:
Automatically deploys the parachute when in free fall to:
  • Nobody...0.
  • Admins...1.
  • All...........2.

Also, parachute_autorip, a cvar that sets how long to wait before deploying.

What's new in 1.6?
Parachute can be destroyed by attacking/aiming for backpack. It makes a shatter sound. User loses parachute putting them in a dangerous free-fall with eerie wind sound.

What's new in 1.7?
3 models. 1 for bots(wings), 1 for admins(camo), and the standard(wee) for regular users. Attempt stability improvements.

What's new in 1.8?
Update wind sound, add debugging cvar that prints client's fall velocity if an admin and prints to server console the breakable parachute effect sequence only then instead of all the time. Miscellaneous code optimizations.

What's new in 1.8.4?
When fallspeed passes number players sets in console, the chute opens. Reverted back to using the various chute models when exploding destroyed chute instead of only glass. That might be temporary or make a CVAR for admin to pick glass or the models. I like the glass shard sounds. Also seeing the wings fall on their own in random pattern is amusing.

Code:
setinfo "auto_rip" "2500"
parachute.mdl.zip sha256sum
Code:
dd246049879a6cf19d776ae17ae485349eee88aa63dd54c94e80b192e31fc194


New CVAR to set HP of parachute, parachute_health when parachute_safemode is 0.
amx_parachute.sma

Tested this on AMXX 1.82, 1.90, and 1.10. St_bessjump parachute_autorip can be 3250 with sv_maxvelocity over 3500.



Install note.
Condition Zero. For it to work on their bots use ham bots and be sure to define CZERO, line 6, when compiling locally.

UNSUPPORTED:
Zbots / Cs bots enabled. Reason: They crash Counter-Strike without any other metamods running rapidly.
Attached Files
File Type: zip parachute.mdl.zip (408.5 KB, 176 views)
File Type: 7z erriewind.7z (68.2 KB, 214 views)
__________________

Last edited by DJEarthQuake; 04-25-2023 at 15:52. Reason: Players can set their own rip instead of rely on server CVAR. (Optimize for Missiles.)
DJEarthQuake is offline