Raised This Month: $ Target: $400
 0% 

Zombie Classes


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
blue2kx
Member
Join Date: Mar 2009
Old 04-03-2009 , 18:26   Zombie Classes
Reply With Quote #1

How do I take out some of the original 5 zombie in zp_zclasses40? I've seen this before but I have no clue how it's done

There's:
Classic
Fast
Poison
Big
Leech

I tried editing out some of the classes I didn't want in zp_zclasses40 code but I failed with compile errors. I tried looking for something in zombie_plague40 too but I found nil. How do I do this?
__________________
boohoo
blue2kx is offline
Hello-World
Senior Member
Join Date: May 2008
Old 04-03-2009 , 19:00   Re: Zombie Classes
Reply With Quote #2

if u want to remove one or more than one class , just delete the class's code
for example:
Quote:
// Classic Zombie Attributes
new const zclass1_name[] = { "Classic Zombie" }
new const zclass1_info[] = { "=Balanced=" }
new const zclass1_model[] = { "zombie_source" }
new const zclass1_clawmodel[] = { "v_knife_zombie.mdl" }
const zclass1_health = 1800
const zclass1_speed = 190
const Float:zclass1_gravity = 1.0
const Float:zclass1_knockback = 1.0
// Raptor Zombie Attributes
new const zclass2_name[] = { "Raptor Zombie" }
new const zclass2_info[] = { "HP-- Speed++ Knockback++" }
new const zclass2_model[] = { "zombie_source" }
new const zclass2_clawmodel[] = { "v_knife_zombie.mdl" }
const zclass2_health = 900
const zclass2_speed = 225
const Float:zclass2_gravity = 1.0
const Float:zclass2_knockback = 1.5
// Poison Zombie Attributes
new const zclass3_name[] = { "Poison Zombie" }
new const zclass3_info[] = { "HP- Jump+ Knockback+" }
new const zclass3_model[] = { "zombie_source" }
new const zclass3_clawmodel[] = { "v_knife_zombie.mdl" }
const zclass3_health = 1400
const zclass3_speed = 190
const Float:zclass3_gravity = 0.75
const Float:zclass3_knockback = 1.25
// Big Zombie Attributes
new const zclass4_name[] = { "Big Zombie" }
new const zclass4_info[] = { "HP++ Speed- Knockback--" }
new const zclass4_model[] = { "zombie_source" }
new const zclass4_clawmodel[] = { "v_knife_zombie.mdl" }
const zclass4_health = 2700
const zclass4_speed = 155
const Float:zclass4_gravity = 1.0
const Float:zclass4_knockback = 0.5
// Leech Zombie Attributes
new const zclass5_name[] = { "Leech Zombie" }
new const zclass5_info[] = { "HP- Knockback+" }
new const zclass5_model[] = { "zombie_source" }
new const zclass5_clawmodel[] = { "v_knife_zombie.mdl" }
const zclass5_health = 1300
const zclass5_speed = 190
const Float:zclass5_gravity = 1.0
const Float:zclass5_knockback = 1.25
const zclass5_infecthp = 200 // extra hp for infections

/*============================================ ================================*/
// Class IDs
new g_zclass_leech
// Zombie Classes MUST be registered on plugin_precache
public plugin_precache()
{
register_plugin("[ZP] Default Zombie Classes", "4.04", "MeRcyLeZZ")

// Register all classes
zp_register_zombie_class(zclass1_name, zclass1_info, zclass1_model, zclass1_clawmodel, zclass1_health, zclass1_speed, zclass1_gravity, zclass1_knockback)
zp_register_zombie_class(zclass2_name, zclass2_info, zclass2_model, zclass2_clawmodel, zclass2_health, zclass2_speed, zclass2_gravity, zclass2_knockback)
zp_register_zombie_class(zclass3_name, zclass3_info, zclass3_model, zclass3_clawmodel, zclass3_health, zclass3_speed, zclass3_gravity, zclass3_knockback)
zp_register_zombie_class(zclass4_name, zclass4_info, zclass4_model, zclass4_clawmodel, zclass4_health, zclass4_speed, zclass4_gravity, zclass4_knockback)
g_zclass_leech = zp_register_zombie_class(zclass5_name, zclass5_info, zclass5_model, zclass5_claw model, zclass5_health, zclass5_speed, zclass5_gravity, zclass5_knockback)
}
u want to remove leech class , just delete the
Quote:
// Leech Zombie Attributes
new const zclass5_name[] = { "Leech Zombie" }
new const zclass5_info[] = { "HP- Knockback+" }
new const zclass5_model[] = { "zombie_source" }
new const zclass5_clawmodel[] = { "v_knife_zombie.mdl" }
const zclass5_health = 1300
const zclass5_speed = 190
const Float:zclass5_gravity = 1.0
const Float:zclass5_knockback = 1.25
const zclass5_infecthp = 200 // extra hp for infections
, and the bunch of code under it , be careful not to delete another code , just delete the same zclass code ( for example , the zclass code here is 5)
Quote:
g_zclass_leech = zp_register_zombie_class(zclass5_name, zclass5_info, zclass5_model, zclass5_claw model, zclass5_health, zclass5_speed, zclass5_gravity, zclass5_knockback)
__________________
sry for my bad english
I'm helpful !! +karma 4 me
I said something wrong !! Don't -karma
Learnin' scripting and skinning 4 Now !
Mine Comp Got Burned , can't do anything for 3 month

Last edited by Hello-World; 04-03-2009 at 19:02.
Hello-World is offline
Old 04-03-2009, 19:28
Anggara_nothing
This message has been deleted by Anggara_nothing. Reason: your brain is lol.
blue2kx
Member
Join Date: Mar 2009
Old 04-03-2009 , 20:04   Re: Zombie Classes
Reply With Quote #3

Thank you HELLO!!

It's okay now anggara

Close this too, I guess.
__________________
boohoo
blue2kx 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 20:49.


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