AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [ZPS] Panic Attack (https://forums.alliedmods.net/showthread.php?t=135061)

will2tango 08-12-2010 07:22

[ZPS] Panic Attack
 
6 Attachment(s)
Zombie Panic: Source has a useful command called "Panic" that will drop everything you have apart from your current weapon to gain a speed bust when fleeing from zombies, however it is often abused at the start of a round by players who want to dash for a bigger gun before anyone else gets there. This plugin will prevent players from Panicking at the start of a round to run a little bit quicker than you to grab the bigger gun. :nono:

During a Zombie Apocalypse who in their right mind would throw away a perfectly good Pistol and Ammo and run in the direction of potential Zombies...?! :shock:

CVARs:
zps_panicattack_version - current version
sm_panic_attack - Enables/Disables Panic Attack (0/1)
sm_panic_time - Time from Round Start to Block Panic and Drop. (Seconds 1-180)
Removed for a more lightweight plugin
sm_panic_type - Sets the type of attack...
1=Heart Attack - Will cause the player to Slow then Die.
2=Panic Attack - Will cause player to Slow and not drop everything.
3=Block Panic - Will Block Panic.
sm_panic_chance - Sets the Chance of a Panic Attack (0-100)

If anyone used these options, let me know, they can always be added to an alternitive file.

Comments:
By Default this plugin will block Survivors from Panicking/Dropping their weapons&ammo for 10 seconds from the start of a round.
You can adjust this by adding sm_panic_time (number) to your cfg/server.cfg file.

Files:
panicattack.sp - goes in your Scripting folder.
panicattack.smx - goes in your Plugins folder.
panicattack.phrases.txt - goes in your Translations folder.

Change Log:
1.00 Release
2.00 Re Written
2.10 Translations < for niask1 :)
2.11 Timer Kill on NewRound

will2tango 08-26-2010 07:38

Re: [ZPS] Panic Attack
 
How strange is it when you see your own plugin on someone elses server?! I saw this on the DIG server yesterday. Freaked me right out :)

Sammy-ROCK! 08-26-2010 22:30

Re: [ZPS] Panic Attack
 
There's a offset like infetion turn time for next panic time.

will2tango 08-27-2010 04:16

Re: [ZPS] Panic Attack
 
Thank you Sammy! I'll be digging for that tonight :)
(that will be a huge improvement on what i have now)

niask1 05-15-2012 14:09

Re: [ZPS] Panic Attack
 
thank dude, very useful plugin! maybe you should make translations support for the announcements...

will2tango 06-10-2013 12:25

Re: [ZPS] Panic Attack
 
Updated: Rewritten to be more lightweight, and finally added Translations for niask1 :)

xerox8521 06-12-2013 16:36

Re: [ZPS] Panic Attack
 
1 Attachment(s)
Added German Translation too http://www.zombiepanic.org/forums/im...lies/happy.gif

will2tango 06-13-2013 07:01

Re: [ZPS] Panic Attack
 
Thanks again Xerox!

xerox8521 11-09-2015 12:40

Re: [ZPS] Panic Attack
 
1 Attachment(s)
This version does not block the drop ammo / weapon but it uses now a cleaner way of blocking panic using an offset instead of requiring a timer. If really needed could add a drop weapon / ammo option too. Also this version has been rewritten to use Transitional Syntax.

ConVars:

sm_panic_version - version of the plugin
sm_panic_enabled - Enable or disable the plugin.
sm_panic_delay - Delay in seconds until a survivor can panic again. (Default: 10seconds)


All times are GMT -4. The time now is 01:53.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.