AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Zombie:Reloaded (https://forums.alliedmods.net/forumdisplay.php?f=132)
-   -   Help fix error (https://forums.alliedmods.net/showthread.php?t=325587)

xp2000 06-28-2020 05:43

Help fix error
 
[zombiereloaded.smx] [Player Classes] [Default Spawn Class] Warning: Failed to set "default" as default spawn class for team 1. The class doesn't exist or the team IDs doesn't match. Falling back to the first class in the team.

xp2000 07-25-2020 04:52

Re: Help fix error
 
up, help plus

bebe9b 07-25-2020 12:59

Re: Help fix error
 
Hi,

/cfg/sourcemod/zombiereloaded/zombiereloaded.cfg:
// Human class assigned to players on connect. ["random" = Random human class | "" = Class config default]
// Default: "random"
zr_classes_default_human ""

// Zombie class assigned to players on connect. ["random" = Random zombie class | "" = Class config default]
// Default: "random"
zr_classes_default_zombie "random"

// Zombie class assigned to mother zombies. ["motherzombies" = Random mother zombie class | "random" = Random regular zombie class | "disabled" = Don't change class on mother zombies]
// Default: "motherzombies"
zr_classes_default_mother_zombie "motherzombies"

// Allow players to select zombie classes.
// Default: "1"
zr_classes_zombie_select "1"

// Allow players to select human classes.
// Default: "1"
zr_classes_human_select "1"

/addons/sourcemod/configs/zr/playerclasses.txt:
"classes"
{
------------------------------------------

"zombie_mutation_light"
{

// General
"enabled" "yes"
"team" "0"
"team_default" "yes"
"flags" "2"
"group" ""
"name" "mutation_light"
"description" "Zombie Class"

// Model
"model_path" "models/player/custom_player/zombie/mutation_light/mutation_light.mdl"
"arms_path" "models/player/custom/hunter/hunterarms.mdl"
"alpha_initial" "255"
"alpha_damaged" "255"
"alpha_damage" "0"

// Hud
"overlay_path" ""
"nvgs" "no"
"fov" "90"

// Effects
"has_napalm" "no"
"napalm_time" "6"

// Player behavior
"immunity_mode" "none"
"immunity_amount" "1"
"immunity_cooldown" "60"
"no_fall_damage" "yes"
"health" "56000"
"health_regen_interval" "0"
"health_regen_amount" "20"
"health_infect_gain" "0"
"kill_bonus" "0"
"speed" "315"
"knockback" "0.7"
"jump_height" "1.12"
"jump_distance" "0.90"
}
}

/////////////////////////////////////////////////////////

// ------------------------------------------
//
// Human classes
//
// ------------------------------------------

"human_mcwhite"
{
// General
"enabled" "yes"
"team" "1"
"team_default" "yes"
"flags" "0"
"group" ""
"name" "mcwhite"
"description" "Human class"

// Model
"model_path" "models\player\custom_player\legacy\GFLclan\m cwhite\mcwhite.mdl"
"arms_path" "models/weapons/ct_arms_gign.mdl"
"model_path" ""
"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" // Invulnerable to infection,
"immunity_amount" "1" // until HP go below 25.
"immunity_cooldown" "60"
"no_fall_damage" "yes"
"health" "150"
"health_regen_interval" "0.0"
"health_regen_amount" "0"
"health_infect_gain" "0"
"kill_bonus" "2"
"speed" "310"
"knockback" "0"
"jump_height" "1.1"
"jump_distance" "0.95"
}
}

xp2000 07-25-2020 14:04

Re: Help fix error
 
thx!


All times are GMT -4. The time now is 08:33.

Powered by vBulletin®
Copyright ©2000 - 2020, vBulletin Solutions, Inc.