Description:
This is intended for immunity_mode "infect" servers.
Just plug n play. It is self-explanatory. There are ingame instructions as well...
Requirements:
SourceMod 1.11+
Zombie:Reloaded
[ZR] Tools
Installation:
- Put all files from the release folder in your game root folder ("csgo" and/or "cstrike"). Note however that CS:S and CS:GO files addons/sourcemod/plugins are separated.
- Put file from sound folder in your to zr/downloads.txt.
- If CS:GO, put file from materials/panorama/images/icons/equipment in your to zr/downloads.txt.
- reload map
If the plugin is not working as intended, check your logs in addons/sourcemod/logs and report here.
If error logs are not available, report nevertheless.
Configuration:
PHP Code:
// We are going to do these next steps because this plugin chooses medics randomly to balance the game.
// Each time the infection starts, medics will be randomly picked and the medic class assignend to them instantly.
// Every 4th will be chosen a medic.
#1. Put class attribute to a class named "human_medic".
"medic" "yes" // This enables medic for class
#2. You must name the class "human_medic".
// This is because plugin will search for this class name to assign to random players.
#3. You must name the default class "human_normal".
// This is because plugin will set default class for previous medics.
#4. Disable the class ("enabled" "no") in playerclasses.txt.
// This is to avoid player choosing this class.
// Alternatively, you can make this class a flag class (Admin/VIP) for the spicy extra.
#5. Go to your zombiereloaded.cfg and find under the "Classes (core)" section the cvar "zr_classes_change_timelimit" and set value to the value of "zr_infect_spawntime_max" + 2.
// This is because we want to change class of player instantly after infection started.
#6. Done.
Translation:
If you will, and the translation to be used does not exist, you can upload the file in a reply.
Models:
- CS:S: (see attachments).
- CS:GO: none, fried my previous pc and can barely open games using an old laptop.
Comment:
Unfrtnly, the native ZR_GetClassByName of Z:R is not working at the moment.
We have to set the class indices (default and medic) manually in the source file.
If you have questions regarding that, post below or PM.
Credits:
- d0nn & smithy: For CS:S model.
Changelog: