Quote:
Originally Posted by PyNiO
Hi.
I wonder how to add new group of classes for like any flag.
I want to create special classes for people that have that flag, but i don't really know how to do that now.
I didn't look thru all of files but i hope that someone can help me. I will still try to find it myself and if i find solution i will post it there.
|
cstrike\addons\sourcemod\configs\zr\playercla sses
"zombie_classic"
{
// General
"enabled" "yes"
"team" "0"
"team_default" "yes"
"flags" "0"
"group" ""
"name" "Classic"
"description" "Need brains!!! Arrrrggghh!"
// Model
"model_path" "models/player/vad36zombie/zombie_guard.mdl"
"alpha_initial" "255"
"alpha_damaged" "255"
"alpha_damage" "0"
// Hud
"overlay_path" "overlays/zr/zvision"
"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" "500"
"kill_bonus" "2"
"speed" "330"
"knockback" "1.7"
"jump_height" "1.1"
"jump_distance" "1.2"
}
"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 behavior
"immunity_mode" "none"
"immunity_amount" "1"
"immunity_cooldown" "60"
"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.2"
}
experiment your way, add your classes and rehash abilities CTRL + C, CTRL + V