Name: Safe Zone Health
Description: Creates a effect, when health of safe zone restored by FEMA bag. Admin can set health for one or all safe zones by command or set amount safe zone heals at once by FEMA bags. All players can see amount of health all available SafeZones in the game chat.
Installation: Place compiled plugin (
nmrih_safe_zone_health.smx) into the plugins folder (
../addons/sourcemod/plugins/).
CVars:- nmrih_szh_version - Plugins version
- sm_szh_max - Maximum health of safe zones that you can restore by FEMA bags (def. 1000, max. 1000000000)
- sm_szh_amt - Amount safe zone heals at once by FEMA bags (def. 25, max. 100000000)
Commands:
- sm_szh - Show health of available safe zones in the chat (sees only the player who wrote this command)
- sm_szh <HP> [<id>] (need flag slay, else only will show health) - Set health for all available safe zones (0 - 999 999 999HP) or only for one safe zone (SafeZones id: "A" = "0", "B" = 1, "C" = "2" etc.)
"sm_szh 12345 5" = set 12345HP to SafeZone F
Changes in 1.0.2 (2016/03/21):- Added CVar sm_szh_amt
- Added new features for command sm_szh
- Applied textures used by command sm_beacon
- A little cleaned up code
- Other small fixes
Changes in 1.0.1 (2016/02/11):- Now CVar sm_szh_max works
- If anyone uses FEMA bags when SafeZone health more than the CVar sm_szh_max, that health would not be reduced to the value of this CVar
ToDo: apply textures used by command sm_beacon.
Note: For this plugin required textures from [NMRiH] Laser Aim ([NMRiH] Laser Aim 1.5.x (textures).zip).
Screenshot #1 (Steam) (
sm_szh_max = 10000, sm_szh_amt = 1337)
Screenshot #2 (Steam) (
sm_szh_max = 1000, sm_szh_amt > 1000)