View Single Post
PyNiO
Junior Member
Join Date: Feb 2017
Old 05-22-2021 , 08:03   Re: [ZR] How to add new class group?
Reply With Quote #3

Quote:
Originally Posted by Hanter15711 View Post
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
So yeah, i didn't think you understand what i said there. So i know how to add new classes to config. But there is somethink like "flags" witch is for "admins" in raw plugin, i changed it to VIP rank, but i want to do like another rank and give them other classes, i want to create like new flag to differentiate classes for other ranks, but i don't know how to create another "flag"
PyNiO is offline