Raised This Month: $12 Target: $400
 3% 

normal zombie hands


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
drumzplaya13
Senior Member
Join Date: Feb 2008
Location: TEXAS
Old 11-24-2008 , 02:14   normal zombie hands
Reply With Quote #1

so your able to change the nemesis hands/knife in the .sma but i dont see where you can change the regular zombies hands/knife. cause then it looks stupid if only one type of zombie has it. i want all of my zombies to have the same zombie knife/hands. any suggestions? maybe i over looked somethign on how to change them.
__________________
Think Positive - Stay Positive
drumzplaya13 is offline
Hammerfallerz
Senior Member
Join Date: Feb 2008
Old 11-24-2008 , 02:24   Re: normal zombie hands
Reply With Quote #2

In zp_classes.sma
Hammerfallerz is offline
drumzplaya13
Senior Member
Join Date: Feb 2008
Location: TEXAS
Old 11-24-2008 , 12:40   Re: normal zombie hands
Reply With Quote #3

ok.. but im not able to compile the zp_classes.sma so there is no way for my to do it... and i dont know where to upload the model or tell the class to use it.
__________________
Think Positive - Stay Positive
drumzplaya13 is offline
Fry!
Veteran Member
Join Date: Apr 2008
Location: Latvia
Old 11-24-2008 , 13:05   Re: normal zombie hands
Reply With Quote #4

Just show the code and I do it for you.
__________________
Quote:
Originally Posted by wisam187
why all the great scriptors..... always.... leave and let their works go into oblivion ???
i miss your way in making outstanding plugins...
this forum needs lots of the likes of you..... and less of the idiots that spread right now.
Fry! is offline
drumzplaya13
Senior Member
Join Date: Feb 2008
Location: TEXAS
Old 11-25-2008 , 04:33   Re: normal zombie hands
Reply With Quote #5

Code:
/*================================================================================
    
    -----------------------------------
    -*- [ZP] Default Zombie Classes -*-
    -----------------------------------
    
    Note: If zombie classes are disabled, the first registered class
    will be used for all players (by default, Classic Zombie).
    
================================================================================*/

#include <amxmodx>
#include <fakemeta>
#include <zombieplague>

/*================================================================================
 [Plugin Customization]
=================================================================================*/

// VG Zombie Attributes
new const zclass1_name[] = { "VG Zombie" }
new const zclass1_info[] = { "VG Zombie" }
new const zclass1_model[] = { "vgzombie" }
new const zclass1_clawmodel[] = { "v_vg_zknife.mdl" }
const zclass1_health = 2700
const zclass1_speed = 250
const Float:zclass1_gravity = 1.0
const Float:zclass1_knockback = 1.5

// 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+ Leech++" }
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.1", "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_clawmodel, zclass5_health, zclass5_speed, zclass5_gravity, zclass5_knockback)
}

// User Infected forward
public zp_user_infected_post(id, infector)
{
    // If attacker is a leech zombie, gets extra hp
    if (zp_get_user_zombie_class(infector) == g_zclass_leech)
        set_pev(infector, pev_health, float(pev(infector, pev_health) + zclass5_infecthp))
}
Im just really going to use the first zombie the VG zombie. and so once its compiled, i should put the zombie knife in models/zombie_plague/
and i should put the zombie model in models/players/zombie_source/
right? and then everything should work properly?? i hope so. and thanks so much, once i get it ill test it out and tell you the results.

Last edited by drumzplaya13; 11-25-2008 at 05:20.
drumzplaya13 is offline
Fry!
Veteran Member
Join Date: Apr 2008
Location: Latvia
Old 11-25-2008 , 13:49   Re: normal zombie hands
Reply With Quote #6

Here this is for you.
Attached Files
File Type: rar zp_zclasses_drumzplaya13.rar (3.5 KB, 288 views)
__________________
Quote:
Originally Posted by wisam187
why all the great scriptors..... always.... leave and let their works go into oblivion ???
i miss your way in making outstanding plugins...
this forum needs lots of the likes of you..... and less of the idiots that spread right now.
Fry! is offline
drumzplaya13
Senior Member
Join Date: Feb 2008
Location: TEXAS
Old 11-25-2008 , 17:07   Re: normal zombie hands
Reply With Quote #7

ok so to make that plugin work... I need to disable zp_zclasses40.amxx... like so?

in plugins-zplague.ini
Code:
; Main plugin
zombie_plague40.amxx

; Default zombie classes
;zp_zclasses40.amxx

; Add sub-plugins, custom zombie classes, and extra items here
zp_zclasses_drumzplaya13.amxx
So then the default one is disabled and the new one you gave me should be enabled then.


So then I turn off the classes so only the first one will be used.

Then in the zombie plague plugin I should edit the zombie_plague40.sma and put this...

Code:
// Player Models (randomly chosen, add as many as you want)
new const model_nemesis[][] = { "vgzombie" } // Nemesis
new const model_survivor[][] = { "leet", "sas" } // Survivor
new const model_human[][] = { "arctic", "guerilla", "leet", "terror", "gign", "gsg9", "sas", "urban" } // Human
new const model_admin[][] = { "vip" } // Admin (human)
new const model_admin_zombie[][] = { "vgzombie" } // Admin (zombie)
The bold is what should be affected as well as the regular zombies in the new plugin you made me. And I should put vgzombie.mdl in models/players/zombie_source/ right?
and then delete zombie_source.mdl, since i replaced it in the zombie_plague40.sma so it SHOULD work and replace the models of the zombies for nemesis and admin zombie.... right?

so after doing all that... the plugin should work with my one zombie and the zombie models i wanted?? Cause its not. i just wanted to verify that i needed to do ALL or any of that to make it work like i wanted it to, since its crashing instantly im guessing i dont have the right file direction... so thats what im asking about also. any help would be great to get my server to work!? thanks.


i just need it doubled checked cause after looking at all of this for a long time i confuse myself and i forgot what files and stuff they should go in and i just need some fresh eyes.
__________________
Think Positive - Stay Positive
drumzplaya13 is offline
Fry!
Veteran Member
Join Date: Apr 2008
Location: Latvia
Old 11-25-2008 , 17:35   Re: normal zombie hands
Reply With Quote #8

Quote:
Originally Posted by drumzplaya13 View Post
Then in the zombie plague plugin I should edit the zombie_plague40.sma and put this...

Code:
// Player Models (randomly chosen, add as many as you want)
new const model_nemesis[][] = { "vgzombie" } // Nemesis
new const model_survivor[][] = { "leet", "sas" } // Survivor
new const model_human[][] = { "arctic", "guerilla", "leet", "terror", "gign", "gsg9", "sas", "urban" } // Human
new const model_admin[][] = { "vip" } // Admin (human)
new const model_admin_zombie[][] = { "vgzombie" } // Admin (zombie)
The bold is what should be affected as well as the regular zombies in the new plugin you made me. And I should put vgzombie.mdl in models/players/zombie_source/ right?
and then delete zombie_source.mdl, since i replaced it in the zombie_plague40.sma so it SHOULD work and replace the models of the zombies for nemesis and admin zombie.... right?

so after doing all that... the plugin should work with my one zombie and the zombie models i wanted?? Cause its not. i just wanted to verify that i needed to do ALL or any of that to make it work like i wanted it to, since its crashing instantly im guessing i dont have the right file direction... so thats what im asking about also. any help would be great to get my server to work!? thanks.


i just need it doubled checked cause after looking at all of this for a long time i confuse myself and i forgot what files and stuff they should go in and i just need some fresh eyes.
Because you need to recompile that plugin too.
__________________
Quote:
Originally Posted by wisam187
why all the great scriptors..... always.... leave and let their works go into oblivion ???
i miss your way in making outstanding plugins...
this forum needs lots of the likes of you..... and less of the idiots that spread right now.
Fry! is offline
drumzplaya13
Senior Member
Join Date: Feb 2008
Location: TEXAS
Old 11-25-2008 , 17:46   Re: normal zombie hands
Reply With Quote #9

I know and I have. Ill try it again and then get back to you on the results.


but does all of what i said sound correct? or is there anything else i should do.
__________________
Think Positive - Stay Positive
drumzplaya13 is offline
Fry!
Veteran Member
Join Date: Apr 2008
Location: Latvia
Old 11-25-2008 , 18:11   Re: normal zombie hands
Reply With Quote #10

yes it is.
__________________
Quote:
Originally Posted by wisam187
why all the great scriptors..... always.... leave and let their works go into oblivion ???
i miss your way in making outstanding plugins...
this forum needs lots of the likes of you..... and less of the idiots that spread right now.
Fry! 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 09:00.


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