Monthly Target: $400 Donations: $131
 32% 

[ZPS] Panic Attack


Post New Thread Reply   
 
Thread Tools Display Modes
Author
will2tango
Member
Join Date: Nov 2009
Location: England
Plugin ID:
1873
Plugin Version:
2.11
Plugin Category:
Server Management
Plugin Game:
Zombie Panic!
Plugin Dependencies:
    Servers with this Plugin:
    2 
    Plugin Description:
    Block Players from Panicking at the start of a round.
    Old 08-12-2010 , 08:22   [ZPS] Panic Attack
    Reply With Quote #1

    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.

    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...?!

    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
    Attached Files
    File Type: txt panicattack.phrases.txt (377 Bytes, 42 views)
    File Type: sp Get Plugin or Get Source (panicattack.sp - 182 views - 4.0 KB)
    File Type: zip panicattack.zip (6.6 KB, 62 views)
    __________________

    Last edited by will2tango; 06-13-2013 at 07:59. Reason: Updated to 2.11
    will2tango is offline
    will2tango
    Member
    Join Date: Nov 2009
    Location: England
    Old 08-26-2010 , 08:38   Re: [ZPS] Panic Attack
    Reply With Quote #2

    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
    __________________
    will2tango is offline
    Sammy-ROCK!
    Senior Member
    Join Date: Jun 2008
    Location: Near Mrs.Lag
    Old 08-26-2010 , 23:30   Re: [ZPS] Panic Attack
    Reply With Quote #3

    There's a offset like infetion turn time for next panic time.
    Sammy-ROCK! is offline
    will2tango
    Member
    Join Date: Nov 2009
    Location: England
    Old 08-27-2010 , 05:16   Re: [ZPS] Panic Attack
    Reply With Quote #4

    Thank you Sammy! I'll be digging for that tonight
    (that will be a huge improvement on what i have now)
    __________________
    will2tango is offline
    niask1
    Junior Member
    Join Date: Dec 2010
    Location: Kaluga, Russia
    Old 05-15-2012 , 15:09   Re: [ZPS] Panic Attack
    Reply With Quote #5

    thank dude, very useful plugin! maybe you should make translations support for the announcements...
    niask1 is offline
    will2tango
    Member
    Join Date: Nov 2009
    Location: England
    Old 06-10-2013 , 13:25   Re: [ZPS] Panic Attack
    Reply With Quote #6

    Updated: Rewritten to be more lightweight, and finally added Translations for niask1
    __________________

    Last edited by will2tango; 06-10-2013 at 13:25.
    will2tango is offline
    xerox8521
    Senior Member
    Join Date: Sep 2011
    Old 06-12-2013 , 17:36   Re: [ZPS] Panic Attack
    Reply With Quote #7

    Added German Translation too
    Attached Files
    File Type: txt panicattack.phrases.txt (377 Bytes, 43 views)
    xerox8521 is offline
    will2tango
    Member
    Join Date: Nov 2009
    Location: England
    Old 06-13-2013 , 08:01   Re: [ZPS] Panic Attack
    Reply With Quote #8

    Thanks again Xerox!
    __________________
    will2tango is offline
    xerox8521
    Senior Member
    Join Date: Sep 2011
    Old 11-09-2015 , 13:40   Re: [ZPS] Panic Attack
    Reply With Quote #9

    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)
    Attached Files
    File Type: sp Get Plugin or Get Source (panicattack.sp - 43 views - 1.7 KB)
    xerox8521 is offline
    Reply


    Thread Tools
    Display Modes

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 08:07.


    Powered by vBulletin®
    Copyright ©2000 - 2017, vBulletin Solutions, Inc.
    Theme made by Freecode