View Single Post
Author Message
000
Member
Join Date: Jul 2022
Old 07-08-2022 , 04:44   [ZR] Class Attribute Kill Health Gain [Zombies]
Reply With Quote #1

Description:
This is inteded for immunity_mode "infect" in playerclasses.txt.

Like "health_infect_gain" in playerclasses.txt but this gives zombies x amount of health when they killed a human.

Requirements:
SourceMod 1.11+
Zombie:Reloaded
[ZR] Tools

Installation:
- Put all files from the release folder in your game root folder ("csgo", "cstrike", ...).
- Reload map.

If the plugin(s) are not working as inteded, check your logs in addons/sourcemod/logs and report here (if available).
If error logs are not available, report nevertheless.

Configuration:
This plugin, unlike plugins usually do, does not use any .cfg files and is purely configurable via playerclasses.txt.
This means you can change values per playerclass.

PHP Code:
"health_kill_gain" "250" // Amount of health a zombie gets for each hit (0 = disabled). 
Add these attributes with it's values to all zombie playerclasses you have, anywhere you want.

Changelog:
Code:
- v1.0
  • Initial release.
- v1.1
  • Code improvements.
- v1.2
  • Code improvements.

Last edited by DarkDeviL; 06-15-2023 at 12:36. Reason: Restore to previous version.
000 is offline