Hey guys, I have a problem with my ZM server. The problem is the following
https://www.youtube.com/watch?v=06yO...ature=youtu.be
When a human is stabbed in the back, what I show in the previous video happens. Automatically the human dies, instead of being infected. I have also noticed that many times when you stab a human, many times you have to hit him twice to infect him like a zombie. Sometimes it's once, and sometimes it's twice.
I also have a problem with classes. There are times when a zombie appears with human classes as can be seen in the following picture
https://i.gyazo.com/8e28c47603150fcc...a4258a3e33.png
(Speedy would be a human class, but there you can see that the Zombie class is assigned a human class, I think this happens at random, because when you get into the zombie class, you can not select the human class)
Here you have my player_classes.txt, although sincerely I do not believe that it is a problem with the classes, since I believe that they are well configured. (with the exception of names and descriptions, which I will edit)
Code:
"classes"
{
// ------------------------------------------
//
// Zombie classes
//
// ------------------------------------------
"zombie_classic"
{
// General
"enabled" "yes"
"team" "0"
"team_default" "yes"
"flags" "0"
"group" ""
"name" "Classic"
"description" "Classic Zombie"
// Model
"model_path" "models/player/mapeadores/kaem/zh/zh1fix5.mdl"
"model_skin_index" "0"
"alpha_initial" "255"
"alpha_damaged" "255"
"alpha_damage" "0"
// Hud
"overlay_path" ""
"nvgs" "no"
"fov" "90"
// Effects
"has_napalm" "no"
"napalm_time" "10.0"
// Player behavior
"immunity_mode" "none"
"immunity_amount" "1"
"immunity_cooldown" "60"
"no_fall_damage" "yes"
"health" "5500"
"health_regen_interval" "0.0"
"health_regen_amount" "0"
"health_infect_gain" "100"
"kill_bonus" "2"
"speed" "320"
"knockback" "3.2"
"jump_height" "1"
"jump_distance" "1"
}
"zombie_fast"
{
// General
"enabled" "yes"
"team" "0"
"team_default" "no"
"flags" "0"
"group" ""
"name" "Fast"
"description" "-HP | +Speed | +Jump | +Knockback"
// Model
"model_path" "models/player/mapeadores/kaem/zh/zh2fix3.mdl"
"model_skin_index" "0"
"alpha_initial" "255"
"alpha_damaged" "255"
"alpha_damage" "0"
// Hud
"overlay_path" ""
"nvgs" "no"
"fov" "90"
// Effects
"has_napalm" "no"
"napalm_time" "7.0"
// Player behavior
"immunity_mode" "none"
"immunity_amount" "1"
"immunity_cooldown" "60"
"no_fall_damage" "yes"
"health" "6650"
"health_regen_interval" "0.0"
"health_regen_amount" "0"
"health_infect_gain" "100"
"kill_bonus" "2"
"speed" "320"
"knockback" "4.0"
"jump_height" "1"
"jump_distance" "1"
}
"zombie_mutated"
{
// General
"enabled" "yes"
"team" "0"
"team_default" "no"
"flags" "0"
"group" ""
"name" "Mutated"
"description" "+HP | -Speed | +Jump | +Knockback"
// Model
"model_path" "models/player/mapeadores/morell/zh/zh3fix3.mdl"
"model_skin_index" "0"
"alpha_initial" "255"
"alpha_damaged" "255"
"alpha_damage" "0"
// Hud
"overlay_path" ""
"nvgs" "no"
"fov" "90"
// Effects
"has_napalm" "no"
"napalm_time" "15.0"
// Player behavior
"immunity_mode" "none"
"immunity_amount" "1"
"immunity_cooldown" "60"
"no_fall_damage" "yes"
"health" "8000"
"health_regen_interval" "0.0"
"health_regen_amount" "0"
"health_infect_gain" "100"
"kill_bonus" "2"
"speed" "290"
"knockback" "3.5"
"jump_height" "1"
"jump_distance" "1"
}
// ------------------------------------------
//
// Human classes
//
// ------------------------------------------
"human_normal"
{
// General
"enabled" "yes"
"team" "1"
"team_default" "yes"
"flags" "0"
"group" ""
"name" "Normal Human"
"description" "Default Counter-Strike settings"
// Model
"model_path" "default"
"model_skin_index" "0"
"alpha_initial" "255"
"alpha_damaged" "255"
"alpha_damage" "0"
// Hud
"overlay_path" ""
"nvgs" "no"
"fov" "90"
// Effects
"has_napalm" "yes"
"napalm_time" "0.0"
// Player behavior
"immunity_mode" "none"
"immunity_amount" "1"
"immunity_cooldown" "60"
"no_fall_damage" "no"
"health" "100"
"health_regen_interval" "0.0"
"health_regen_amount" "0"
"health_infect_gain" "0"
"kill_bonus" "2"
"speed" "300"
"knockback" "0"
"jump_height" "1.0"
"jump_distance" "1.0"
}
"human_vip"
{
// General
"enabled" "no"
"team" "1"
"team_default" "yes"
"flags" "0"
"group" "" // Write the name of a SourceMod group for vip players ("zr_vip" for instance), then make it in SourceMod.
"name" "VIP Human"
"description" "Human class for important players"
// Model
"model_path" "default"
"model_skin_index" "0"
"alpha_initial" "255"
"alpha_damaged" "255"
"alpha_damage" "0"
// Hud
"overlay_path" ""
"nvgs" "no"
"fov" "90"
// Effects
"has_napalm" "yes"
"napalm_time" "0.0"
// Player behavior
"immunity_mode" "none"
"immunity_amount" "1"
"immunity_cooldown" "60"
"no_fall_damage" "yes"
"health" "200"
"health_regen_interval" "1.0"
"health_regen_amount" "10"
"health_infect_gain" "0"
"kill_bonus" "1"
"speed" "300"
"knockback" "0"
"jump_height" "1.2"
"jump_distance" "1.2"
}
"human_admin"
{
// General
"enabled" "yes"
"team" "1"
"team_default" "no"
"flags" "1"
"group" ""
"name" "Admin Human"
"description" "Human class for admins"
// Model
"model_path" "default"
"model_skin_index" "0"
"alpha_initial" "255"
"alpha_damaged" "255"
"alpha_damage" "0"
// Hud
"overlay_path" ""
"nvgs" "no"
"fov" "90"
// Effects
"has_napalm" "yes"
"napalm_time" "0.0"
// Player behavior
"immunity_mode" "none"
"immunity_amount" "1"
"immunity_cooldown" "60"
"no_fall_damage" "yes"
"health" "200"
"health_regen_interval" "1.0"
"health_regen_amount" "10"
"health_infect_gain" "0"
"kill_bonus" "1"
"speed" "360"
"knockback" "0"
"jump_height" "1.2"
"jump_distance" "1.2"
}
"human_speedy"
{
// General
"enabled" "yes"
"team" "1"
"team_default" "no"
"flags" "0"
"group" ""
"name" "Speedy"
"description" "+Speed"
// Model
"model_path" "default"
"model_skin_index" "0"
"alpha_initial" "255"
"alpha_damaged" "255"
"alpha_damage" "0"
// Hud
"overlay_path" ""
"nvgs" "no"
"fov" "90"
// Effects
"has_napalm" "no"
"napalm_time" "0.0"
// Player behavior
"immunity_mode" "none"
"immunity_amount" "1"
"immunity_cooldown" "60"
"no_fall_damage" "0"
"health" "100"
"health_regen_interval" "0.0"
"health_regen_amount" "0"
"health_infect_gain" "0"
"kill_bonus" "1"
"speed" "360"
"knockback" "0"
"jump_height" "1.0"
"jump_distance" "1.0"
}
"human_light"
{
// General
"enabled" "yes"
"team" "1"
"team_default" "no"
"flags" "0"
"group" ""
"name" "Light"
"description" "-Speed | +Jump | +Immunity"
// Model
"model_path" "default"
"model_skin_index" "0"
"alpha_initial" "255"
"alpha_damaged" "255"
"alpha_damage" "0"
// Hud
"overlay_path" ""
"nvgs" "no"
"fov" "90"
// Effects
"has_napalm" "yes"
"napalm_time" "0.0"
// Player behavior
"immunity_mode" "infect" // Invulnerable to infection,
"immunity_amount" "25" // until HP go below 25.
"immunity_cooldown" "60"
"no_fall_damage" "yes"
"health" "100"
"health_regen_interval" "0.0"
"health_regen_amount" "0"
"health_infect_gain" "0"
"kill_bonus" "1"
"speed" "260"
"knockback" "0"
"jump_height" "1.4"
"jump_distance" "1.4"
}
}
I've really tried everything, but I can't find the faults of these two errors, so I come here to ask for help. Thank you!