Hello, ive been using this plugin for a while, awesome one btw. and ive just gotten this error after adding a NEW class-
L 01/19/2012 - 12
7:50: [zombiereloaded.smx] [Player Classes] [Config Validation] Warning: Invalid speed at index 0: 0.00
L 01/19/2012 - 12
7:50: [zombiereloaded.smx] [Player Classes] [Config Validation] Warning: Invalid class at index 0, disabled class. Class error flags: 16777216.
But the odd thing is, it disables all the other classes and not the new one, the only one i touched was the new one, anyone got an idea?
// ============================================= ===============================
//
// Zombie:Reloaded Class configuration
//
// See Class Configuration (3.7) in the manual for detailed info.
//
// ============================================= ===============================
//
// SHORT DESCRIPTIONS
//
// Attribute: Values: Description:
// ----------------------------------------------------------------------------
// enabled yes/no Enables or disables a class.
// team number Specifies what team the class belongs to:
// 0 - Zombies
// 1 - Humans
// 2 - Admin mode classes (incomplete feautre!)
// team_default yes/no Marks the class as the default class in the team.
// flags number Special class flags (bit field). To combine multiple flags
// use a sum of the flag values. Available flags:
// 1 - Admins only
// 2 - Mother zombies only
// group text Restrict class to member of this SourceMod group. Leave blank for no restriction.
// name text The class name used in class menu.
// description text The class description used in class menu.
// model_path text Path to model to use. Relative to cstrike folder.
// alpha_initial number Initial transparency setting.
// alpha_damaged number Transparency when damaged.
// alpha_damage number How much damage to do before switching alpha.
// overlay_path text Overlay displayed at the player.
// nvgs yes/no Give night vision.
// fov number Field of view value. 90 is default.
// has_napalm yes/no Allows player to throw napalm grenades. Humans only.
// napalm_time decimal Napalm burn duration. Zombies only.
// immunity_mode number Sets the immunity mode.
// immunity_amount decimal Sets the immunity value.
// no_fall_damage on/off Disables fall damage.
// health number How many health points to give.
// health_regen_interval decimal Sets the regeneration interval. 0 to disable.
// health_regen_amount number How much HP to give per interval.
// health_infect_gain number How much HP to give when the player infects someone. Zombies only.
// kill_bonus number How many points to give per kill. Zombies only.
// speed decimal The player speed.
// knockback decimal Force of the knockback when shot at. Zombies only.
// jump_height decimal Multiplier of the players jump height. 0.0 means no jump boost, 1.0 is normal.
// jump_distance decimal Multiplier of the players jump distance. 0.0 means no forward jump boost, 1.0 is normal.
"classes"
{
// ------------------------------------------
//
// Zombie classes
//
// ------------------------------------------
"zombie_classic"
{
// General
"enabled" "yes"
"team" "0"
"team_default" "no"
"flags" "0"
"group" ""
"name" "Classic"
"description" "Need brains!!! Arrrrggghh!"
// Model
"model_path" "models/player/zh/zh_corpse002.mdl"
"alpha_initial" "255"
"alpha_damaged" "255"
"alpha_damage" "0"
// Hud
"overlay_path" ""
"nvgs" "no"
"fov" "90"
// Effects
"has_napalm" "yes"
"napalm_time" "3.7"
// Player behaviour
"immunity_mode" "0"
"immunity_amount" "0.0"
"no_fall_damage" "no"
"health" "3500"
"health_regen_interval" "5.0"
"health_regen_amount" "250
"health_infect_gain" "500"
"kill_bonus" "2"
"speed" "301"
"knockback" "4.9"
"jump_height" "1.0"
"jump_distance" "1.0"
}
"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/zh/zh_charple001.mdl"
"alpha_initial" "255"
"alpha_damaged" "255"
"alpha_damage" "0"
// Hud
"overlay_path" ""
"nvgs" "no"
"fov" "90"
// Effects
"has_napalm" "no"
"napalm_time" "3.7"
// Player behaviour
"immunity_mode" "0"
"immunity_amount" "0.0"
"no_fall_damage" "no"
"health" "2750"
"health_regen_interval" "9.0"
"health_regen_amount" "250"
"health_infect_gain" "500"
"kill_bonus" "2"
"speed" "325"
"knockback" "4.8"
"jump_height" "1.1"
"jump_distance" "1.0"
}
"zombie_mutated"
{
// General
"enabled" "yes"
"team" "0"
"team_default" "yes"
"flags" "0"
"group" ""
"name" "Mutated"
"description" "+HP | -Speed | +Jump | +Knockback"
// Model
"model_path" "models/player/zh/zh_zombie003.mdl"
"alpha_initial" "255"
"alpha_damaged" "255"
"alpha_damage" "0"
// Hud
"overlay_path" ""
"nvgs" "no"
"fov" "90"
// Effects
"has_napalm" "no"
"napalm_time" "5.0"
// Player behaviour
"immunity_mode" "0"
"immunity_amount" "0.0"
"no_fall_damage" "no"
"health" "4000"
"health_regen_interval" "9.0"
"health_regen_amount" "350
"health_infect_gain" "500"
"kill_bonus" "2"
"speed" "265"
"knockback" "4.9"
"jump_height" "1.1"
"jump_distance" "1.0"
}
"zombie_heavy"
{
// General
"enabled" "yes"
"team" "0"
"team_default" "yes"
"flags" "0"
"group" ""
"name" "Heavy"
"description" "+HP | -Speed | -Jump | -Knockback"
// Model
"model_path" "models/player/zh/zh_charple001.mdl"
"alpha_initial" "255"
"alpha_damaged" "255"
"alpha_damage" "0"
// Hud
"overlay_path" ""
"nvgs" "no"
"fov" "90"
// Effects
"has_napalm" "no"
"napalm_time" "20.0"
// Player behaviour
"immunity_mode" "0"
"immunity_amount" "0.0"
"no_fall_damage" "no"
"health" "4000"
"health_regen_interval" "3.9"
"health_regen_amount" "275"
"health_infect_gain" "1000"
"kill_bonus" "2"
"speed" "301"
"knockback" "4.9"
"jump_height" "1.1"
"jump_distance" "1.0"
}
"mother_zombie"
{
// General
"enabled" "yes"
"team" "0"
"team_default" "no"
"flags" "2"
"group" ""
"name" "Mother zombie"
"description" "+HP regen | +Speed | +Jump | -Knockback"
// Model
"model_path" "models/player/ics/hellknight_red/t_guerilla.mdl"
"alpha_initial" "255"
"alpha_damaged" "255"
"alpha_damage" "0"
// Hud
"overlay_path" ""
"nvgs" "no"
"fov" "90"
// Effects
"has_napalm" "0"
"napalm_time" "5.0"
// Player behaviour
"immunity_mode" "0"
"immunity_amount" "0.0"
"no_fall_damage" "no"
"health" "7500"
"health_regen_interval" "3.0"
"health_regen_amount" "500"
"health_infect_gain" "1500"
"kill_bonus" "4"
"speed" "330"
"knockback" "4.9"
"jump_height" "1.1"
"jump_distance" "1.0"
}
"z2"
{
// General
"enabled" "yes"
"team" "0"
"team_default" "yes"
"flags" "0"
"group" ""
"name" "High Jumper"
"description" "+HP regen | -Speed | +Jump | -Knockback"
// Model
"model_path" "models/player/techknow/zp/z2.mdl"
"alpha_initial" "255"
"alpha_damaged" "255"
"alpha_damage" "0"
// Hud
"overlay_path" ""
"nvgs" "no"
"fov" "90"
// Effects
"has_napalm" "0"
"napalm_time" "3.0"
// Player behaviour
"immunity_mode" "0"
"immunity_amount" "0.0"
"no_fall_damage" "no"
"health" "3500"
"health_regen_interval" "5.0"
"health_regen_amount" "250"
"health_infect_gain" "1000"
"kill_bonus" "1"
"speed" "315"
"knockback" "4.9"
"jump_height" "1.25"
"jump_distance" "1.0"
}
// ------------------------------------------
//
// 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"
"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 behaviour
"immunity_mode" "0"
"immunity_amount" "0.0"
"no_fall_damage" "yes"
"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.1"
"jump_distance" "1.0"
}
"human_vip"
{
// General
"enabled" "no"
"team" "1"
"team_default" "no"
"flags" "1"
"group" "donate"
"name" "VIP Human"
"description" "Human class for important players"
// Model
"model_path" "default"
"alpha_initial" "255"
"alpha_damaged" "255"
"alpha_damage" "0"
// Hud
"overlay_path" ""
"nvgs" "no"
"fov" "90"
// Effects
"has_napalm" "1"
"napalm_time" "0.0"
// Player behaviour
"immunity_mode" "0"
"immunity_amount" "0.0"
"no_fall_damage" "yes"
"health" "200"
"health_regen_interval" "1.0"
"health_regen_amount" "10"
"health_infect_gain" "0"
"kill_bonus" "1"
"speed" "320"
"knockback" "0"
"jump_height" "1.2"
"jump_distance" "1.2"
}
"slow_nanosuit"
{
// General
"enabled" "yes"
"team" "1"
"team_default" "no"
"flags" "1"
"group" ""
"name" "Admin Human"
"description" "NanoSuit"
// Model
"model_path" "models/player/slow/nanosuit/slow_nanosuit.mdl"
"alpha_initial" "255"
"alpha_damaged" "255"
"alpha_damage" "0"
// Hud
"overlay_path" ""
"nvgs" "no"
"fov" "90"
// Effects
"has_napalm" "1"
"napalm_time" "0.0"
// Player behaviour
"immunity_mode" "0"
"immunity_amount" "0.0"
"no_fall_damage" "yes"
"health" "100"
"health_regen_interval" "1.0"
"health_regen_amount" "10"
"health_infect_gain" "0"
"kill_bonus" "1"
"speed" "305"
"knockback" "0"
"jump_height" "1.2"
"jump_distance" "1.2"
}
"human_speedy"
{
// General
"enabled" "no"
"team" "1"
"team_default" "no"
"flags" "0"
"group" ""
"name" "Speedy"
"description" "Fast human"
// Model
"model_path" "default"
"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 behaviour
"immunity_mode" "0"
"immunity_amount" "0.0"
"no_fall_damage" "0"
"health" "100"
"health_regen_interval" "0.0"
"health_regen_amount" "0"
"health_infect_gain" "0"
"kill_bonus" "1"
"speed" "380"
"knockback" "0"
"jump_height" "1.0"
"jump_distance" "1.0"
}
"human_light"
{
// General
"enabled" "no"
"team" "1"
"team_default" "no"
"flags" "0"
"group" ""
"name" "Light"
"description" "Regular human with improved jump skills"
// Model
"model_path" "default"
"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 behaviour
"immunity_mode" "0"
"immunity_amount" "0.0"
"no_fall_damage" "yes"
"health" "100"
"health_regen_interval" "0.0"
"health_regen_amount" "0"
"health_infect_gain" "0"
"kill_bonus" "1"
"speed" "300"
"knockback" "0"
"jump_height" "1.3"
"jump_distance" "1.3"
}
}