Raised This Month: $32 Target: $400
 8% 

Zombie class problem.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
MoZiLoR
Member
Join Date: Jan 2019
Old 05-22-2019 , 10:44   Zombie class problem.
Reply With Quote #1

DISCLAIMER Franug, I am already using your version of the plugin aswell as your class fix, please do not post a link to them in my thread, it won't help me.

Hello, I recently chose to add classes with specific abilities to my server, before I was just using them to have different skins on my server and they were set to random.

Now players can chose a class with !zclass but the problem I have is that whenever the mother zombie infects players, these players will have the class they chose but the last player to get infected is automatically set to have the zombie_classic class even if it is not the one set to default class, and when the round ends and a new round begins, the class of this player has been reset to the zombie_classic one and he has to type !zclass and chose again, only the last player to get infected have to chose his class again, which means that for him the class is not saved for some reason.

zr_classes_save 1
zr_classes_random 0
zr_classes_default_zombie has no value since team default is already set in playerclasses.txt and I am using.

Flags and groups are correctly set.

Last edited by MoZiLoR; 05-24-2019 at 11:38.
MoZiLoR is offline
bebe9b
Veteran Member
Join Date: May 2009
Location: Romania
Old 05-24-2019 , 08:01   Re: Zombie class problem.
Reply With Quote #2

Hi,

Zombiereloaded.cfg

// Default: "1"
zr_classes_save "1"

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

// 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

Exemple playerclasses.txt:
"zombie_guard_hs"

{

// General

"enabled" "yes"

"team" "0"

"team_default" "yes"

"flags" "2"

"group" ""



"name" "Guard_hs"

"description" "Zombie Class"



// Model

"model_path" "models/player/custom_player/mapeadores/zombie_guard/zombie_guard_hs.mdl"

"arms_path" "models/player/colateam/zombie1/arms.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" "16000"

"health_regen_interval" "0"

"health_regen_amount" "20"

"health_infect_gain" "0"

"kill_bonus" "0"



"speed" "310"

"knockback" "3.3"

"jump_height" "1.15"

"jump_distance" "0.90"

}

"zombie_sci_hs"

{

// General

"enabled" "yes"

"team" "0"

"team_default" "yes"

"flags" "0"

"group" ""



"name" "Sci_hs"

"description" "Zombie Class"



// Model

"model_path" "models/player/custom_player/mapeadores/zombie_sci/zombie_sci_hs.mdl"

"arms_path" "models/player/colateam/zombie1/arms.mdl"

"alpha_initial" "255"

"alpha_damaged" "255"

"alpha_damage" "0"



// Hud

"overlay_path" ""

"nvgs" "no"

"fov" "90"



// Effects

"has_napalm" "no"

"napalm_time" "6.0"



// Player behavior

"immunity_mode" "none"

"immunity_amount" "1"

"immunity_cooldown" "60"

"no_fall_damage" "yes"



"health" "12000"

"health_regen_interval" "0"

"health_regen_amount" "20"

"health_infect_gain" "0"

"kill_bonus" "0"



"speed" "310"

"knockback" "3.3"

"jump_height" "1.15"

"jump_distance" "0.90"

}
__________________
respecta si vei fi respectat

Last edited by bebe9b; 05-24-2019 at 08:08.
bebe9b is offline
MoZiLoR
Member
Join Date: Jan 2019
Old 05-24-2019 , 11:35   Re: Zombie class problem.
Reply With Quote #3

I have exactly the same config on my zombiereloaded.cfg and for the playerclasses.txt there is nothing different except for the specific values of each class.
MoZiLoR is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 00:32.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode