Author
|
|
Good Little Panda
|
Plugin ID:
|
1731
|
Plugin Version:
|
3.6.2
|
Plugin Category:
|
Gameplay
|
Plugin Game:
|
Counter-Strike: Source
|
Plugin Dependencies:
|
|
Servers with this Plugin:
|
|
| |
Plugin Description:
|
An advanced spawn protection plugin that provides just about any feature desired.
|
|
|
06-14-2010
, 03:03
[CS:S] Player Protection (v3.6.2)
|
#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/
__________________
Last edited by thetwistedpanda; 07-27-2011 at 12:51.
|
|
|
|