Raised This Month: $182 Target: $400
 45% 

[CS:S] Player Protection (v3.6.2)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
thetwistedpanda
Good Little Panda
Join Date: Sep 2008
Plugin ID:
1731
Plugin Version:
3.6.2
Plugin Category:
Gameplay
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
    5 
    Plugin Description:
    An advanced spawn protection plugin that provides just about any feature desired.
    Old 06-14-2010 , 02:03   [CS:S] Player Protection (v3.6.2)
    Reply With Quote #1

    Description:
    • Protection provides a simple method of providing spawn protection utilizing SDKHooks to prevent all damage done to a player up until their protection expires.
    • Notice: Requires SDKHooks
    Features:
    • Protection can decay over time, so that clients who spawn late do not receive the full length of spawn protection.
    • If enabled, a client's protection will be disabled immediately after firing their weapon.
    • Depending on the setting, a player with/without protection may be protected from all fall damage, no fall damage, or all non-fatal fall damage.
    • Depending on the setting, a player may be protected from all damage, no damage, or damage dealt by other players after the round has ended.
    • Ability assign a pre-protection and post-protection render/color combination to all clients. (This has dozens of uses, such as making protected clients invisible, changing their color to match their team, and many more).
    • You can assign a punishment to inflict upon the attacker who attacks protected clients, such as instant slaying or losing x amount of health.
    • Disable protection for a specific team, making it great for Zombie type servers!
    ConVars:
    • sm_protection_enable: If enabled, players will spawn with "protection" protecting them for sm_protection_duration seconds.
    • sm_protection_duration: The number of seconds players will receive protection for after mp_freezetime.
    • sm_protection_decay: If enabled, the total duration of protection will decrease until reaching zero, disabling protection for the round.
    • sm_protection_maximum: The total number of seconds sm_protection_decay will operate for before disabling protection.
    • sm_protection_falling: Determines how players are protected from falling damage. (-2 = All Fall Damage, -1 = All Fall Damage (w/ Protection), 0 = No Protection, 1 = Non-Fatal Fall Damage (w/ Protection), 2 = Non-Fatal Fall Damage)
    • sm_protection_ending: Determines how players are protected after the round ends. (-1 = Protection From Everything, 0 = No Protection, 1 = Protection From Players)
    • sm_protection_shooting: If enabled, protection will be disabled early should the player fire their weapon.
    • sm_protection_notify: Determines printing functionality. (-1 = Hint Message, 0 = No Message, 1 = Chat Message)
    • sm_protection_punish: Determines punishment functionality. (-1 = Slay Player, 0 = No Action, 1 = Lose Health)
    • sm_protection_punish_value: The amount of health lost, if sm_protection_punish is equal to 1.
    • sm_protection_freeze_time: If enabled, spawn protection and decay are put off until mp_freezetime expires.
    • ~-~-~
    • sm_protection_pre: If enabled, players will receive the effects and colors defined by their appropriate variables while under protection.
    • sm_protection_pre_t: The effect and color combination players on the Terrorist team will receive during protection.
    • sm_protection_pre_ct: The effect and color combination players on the Counter-Terrorist team will receive during protection.
    • sm_protection_post: If enabled, players will receive the effects and colors defined by their appropriate variables after their protection expires.
    • sm_protection_post_t: The effect and color combination players on the Terrorist team will receive after protection.
    • sm_protection_post_ct: The effect and color combination players on the Counter-Terrorist team will receive after protection.
    Coloring / Rendering:
    • Please see the following post for information about the render/color combinations.
    • Notice: several of the effects and render combinations do nothing in CS:S, while others have some of their full effect. You will have to conduct a bit of trial and error to find a unique effect should you wish, as I've listed no additional information concerning them.
    Installation:
    • Place sm_player_protection.smx inside your sourcemod plugins directory, located: /cstrike/addons/sourcemod/plugins/
    Attached Files
    File Type: sp Get Plugin or Get Source (sm_protection.sp - 476 views - 21.4 KB)
    File Type: smx sm_protection.smx (12.9 KB, 562 views)
    __________________

    Last edited by thetwistedpanda; 07-27-2011 at 11:51.
    thetwistedpanda is offline
    thetwistedpanda
    Good Little Panda
    Join Date: Sep 2008
    Old 06-14-2010 , 02:04   Re: [CS:S] Player Protection
    Reply With Quote #2

    Coloring & Effect Breakdown:
    • RenderFX RenderMode ColorRed ColorGreen ColorBlue ColorAlpha
    RenderFX (Possible 0 - 25):
    • 0 = RENDERFX_NONE
    • 1 = RENDERFX_PULSE_SLOW
    • 2 = RENDERFX_PULSE_FAST
    • 3 = RENDERFX_PULSE_SLOW_WIDE
    • 4 = RENDERFX_PULSE_FAST_WIDE
    • 5 = RENDERFX_FADE_SLOW
    • 6 = RENDERFX_FADE_FAST
    • 7 = RENDERFX_SOLID_SLOW
    • 8 = RENDERFX_SOLID_FAST
    • 9 = RENDERFX_STROBE_SLOW
    • 10 = RENDERFX_STROBE_FAST
    • 11 = RENDERFX_STROBE_FASTER
    • 12 = RENDERFX_FLICKER_SLOW
    • 13 = RENDERFX_FLICKER_FAST
    • 14 = RENDERFX_NO_DISSIPATION
    • 15 = RENDERFX_DISTORT
    • 16 = RENDERFX_HOLOGRAM
    • 17 = RENDERFX_EXPLODE
    • 18 = RENDERFX_GLOWSHELL
    • 19 = RENDERFX_CLAMP_MIN_SCALE
    • 20 = RENDERFX_ENV_RAIN
    • 21 = RENDERFX_ENV_SNOW
    • 22 = RENDERFX_SPOTLIGHT
    • 23 = RENDERFX_RAGDOLL
    • 24 = RENDERFX_PULSE_FAST_WIDER
    • 25 = RENDERFX_MAX
    RenderMode (Possible: 0-10):
    • 0 = RENDER_NORMAL
    • 1 = RENDER_TRANSCOLOR
    • 2 = RENDER_TRANSTEXTURE
    • 3 = RENDER_GLOW
    • 4 = RENDER_TRANSALPHA
    • 5 = RENDER_TRANSADD
    • 6 = RENDER_ENVIRONMENTAL
    • 7 = RENDER_TRANSADDFRAMEBLEND
    • 8 = RENDER_TRANSALPHAADD
    • 9 = RENDER_WORLDGLOW
    • 10 = RENDER_NONE
    Colors (Possible: 0 - 255)
    __________________

    Last edited by thetwistedpanda; 06-14-2010 at 02:10.
    thetwistedpanda is offline
    thetwistedpanda
    Good Little Panda
    Join Date: Sep 2008
    Old 07-25-2010 , 01:53   Re: [CS:S] Player Protection
    Reply With Quote #3

    Updated to version 3.0! Or I think....
    __________________
    thetwistedpanda is offline
    Böhser Onkel Leo
    Member
    Join Date: Jun 2010
    Location: near Bielefeld, Germany
    Old 08-20-2010 , 09:13   Re: [CS:S] Player Protection
    Reply With Quote #4

    Hey!
    First sry for my bad english!... I have a Question: is it possible to add a cvar which turn spawnprotection of if somebody starts shooting...

    Leo
    Böhser Onkel Leo is offline
    Send a message via ICQ to Böhser Onkel Leo
    thetwistedpanda
    Good Little Panda
    Join Date: Sep 2008
    Old 08-20-2010 , 12:48   Re: [CS:S] Player Protection
    Reply With Quote #5

    Böhser I'll see about adding that sometime this weekend or early next week, I have a few other projects to finish up first. Also it should be mentioned that the plugin works fine, it was merely disapproved for supporting a single mod where as an inferior plugin supported additional ones. I will continue to provide support and updates as necessary.
    __________________

    Last edited by thetwistedpanda; 08-20-2010 at 12:59.
    thetwistedpanda is offline
    thetwistedpanda
    Good Little Panda
    Join Date: Sep 2008
    Old 08-22-2010 , 18:42   Re: [CS:S] Player Protection
    Reply With Quote #6

    Updated to version 3.3; @Matthias Vance the plugin is definitely not a duplicate of that one =D. Strongly advised for everyone using this plugin to upgrade as it has been greatly optimized and a new cvar, sm_protection_shooting (disable protection after firing weapons) has been added.
    __________________
    thetwistedpanda is offline
    Böhser Onkel Leo
    Member
    Join Date: Jun 2010
    Location: near Bielefeld, Germany
    Old 08-24-2010 , 10:45   Re: [CS:S] Player Spawn Protection
    Reply With Quote #7

    Hey!
    Thanks for adding the new cvar... we will test it on 3 servers.. thx
    Leo

    Last edited by Böhser Onkel Leo; 08-24-2010 at 11:28.
    Böhser Onkel Leo is offline
    Send a message via ICQ to Böhser Onkel Leo
    Böhser Onkel Leo
    Member
    Join Date: Jun 2010
    Location: near Bielefeld, Germany
    Old 08-24-2010 , 11:24   Re: [CS:S] Player Spawn Protection
    Reply With Quote #8

    .... plugin failed to compile...


    pls help...

    Leo
    Böhser Onkel Leo is offline
    Send a message via ICQ to Böhser Onkel Leo
    thetwistedpanda
    Good Little Panda
    Join Date: Sep 2008
    Old 08-24-2010 , 11:38   Re: [CS:S] Player Spawn Protection
    Reply With Quote #9

    The plug-in uses SDKHooks... You have to compile it locally or download the pre-compiled .smx that is attached to the first post.
    __________________
    thetwistedpanda is offline
    Böhser Onkel Leo
    Member
    Join Date: Jun 2010
    Location: near Bielefeld, Germany
    Old 08-25-2010 , 03:46   Re: [CS:S] Player Spawn Protection
    Reply With Quote #10

    So i only have to download the .smx and .sp? No .cfg nothing else?
    If i klick on "get plugin" it sayed plugin failed to compile.
    Leo

    Last edited by Böhser Onkel Leo; 08-25-2010 at 04:48.
    Böhser Onkel Leo is offline
    Send a message via ICQ to Böhser Onkel Leo
    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 18:36.


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