Raised This Month: $209 Target: $400
 52% 

[ZP50] Zombie class: Headless Zombie


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Catastrophe
Veteran Member
Join Date: Jul 2012
Location: somewhere between narnia
Old 09-01-2013 , 05:17   [ZP50] Zombie class: Headless Zombie
Reply With Quote #1

[ZP50] Zombie class: Headless Zombie

Description:-
This zombie class gets no headshots, headshots for this zombie will not be hit that means that they will be treated like Leg-shots dealing minor damage and not displaying the head shot blood splash...

This class i simple yet perfect, it was made for newbies on the server since the new players just go take 5 headshots and die.... so i made this , have fun.

Credits:-

Me:- 100% idea + 100% code

To Do: -

Nothing, i dont plan any updates.

Bugs : -

None. Report if u find any.

Authors Note:-

Dont PM me for anything related to this topic, post it here.........
Hope u all like it

I'm posting this here because ppl no longer read the Sub plugin submission section

Cvars:-

No Cvars

Change log:-

v1.0 :
Initial Release

NOTE: I'm not making a zp43 version of this.... u want it u convert it.

Servers using this class : 91.204.209.149:27075
Attached Files
File Type: sma Get Plugin or Get Source (zp50_headless_zombie.sma - 1363 views - 1.7 KB)
__________________
You will find everything u need :-

Last edited by Catastrophe; 09-01-2013 at 13:23.
Catastrophe is offline
wicho
Veteran Member
Join Date: Feb 2012
Location: GuateAmala
Old 09-01-2013 , 05:31   Re: [ZP50] Zombie class: Headless Zombie
Reply With Quote #2

Simple but useful thx for share..
wicho is offline
MeRCeNaRyZm
Junior Member
Join Date: Aug 2013
Old 09-01-2013 , 09:01   Re: [ZP50] Zombie class: Headless Zombie
Reply With Quote #3

for zp 4.3 ??
MeRCeNaRyZm is offline
Cigojlo
Senior Member
Join Date: May 2013
Location: Serbia / Belgrade
Old 09-03-2013 , 15:13   Re: [ZP50] Zombie class: Headless Zombie
Reply With Quote #4

nice bro and nice ide get head =set_tr2(traceresult, TR_iHitgroup, LEFTLEG)
__________________
Quote:
Originally Posted by ghinghis View Post
the fuking TOP.SMA cannot be compiled moron !!!!!
Cigojlo is offline
Old 09-07-2014, 16:34
VickGamer
This message has been deleted by VickGamer.
wicho
Veteran Member
Join Date: Feb 2012
Location: GuateAmala
Old 09-07-2014 , 17:11   Re: [ZP50] Zombie class: Headless Zombie
Reply With Quote #5

Show the error...
wicho is offline
smoka
Member
Join Date: Aug 2010
Old 09-07-2014 , 17:50   Re: [ZP50] Zombie class: Headless Zombie
Reply With Quote #6

about the erorr i suppouse its this one
find-> line
set_tr2(traceresult, TR_iHitgroup, LEFTLEG)
change it to HIT_LEFTLEG
Converted for 4.3 not tested but should work
Attached Files
File Type: amxx zp_class_headless_zombie.amxx (3.2 KB, 243 views)
File Type: sma Get Plugin or Get Source (zp_class_headless_zombie.sma - 693 views - 1.4 KB)
smoka is offline
wicho
Veteran Member
Join Date: Feb 2012
Location: GuateAmala
Old 09-07-2014 , 18:51   Re: [ZP50] Zombie class: Headless Zombie
Reply With Quote #7

PHP Code:
#include <amxmodx>
#include <hamsandwich>
#include <fakemeta>
#include <cs_ham_bots_api>
#include <zp50_class_zombie>
#include <zp50_core>

new const zombieclass1_name[] = "Headless Zombie"
new const zombieclass1_info[] = "No Head shots !"
new const zombieclass1_models[][] = { "zombie_source" }
new const 
zombieclass1_clawmodels[][] = { "models/zombie_plague/v_knife_zombie.mdl" }
const 
zombieclass1_health 1800
const Float:zombieclass1_speed 1.00
const Float:zombieclass1_gravity 0.9
const Float:zombieclass1_knockback 1.0


new g_ZombieClassID

public plugin_init()
{
       
register_plugin("[ZP] Class: Headless Zombie""1.0""Catastrophe")
      
       
RegisterHam(Ham_TraceAttack"player""fw_traceattack")
       
RegisterHamBots(Ham_TraceAttack"fw_traceattack")
}

public 
plugin_precache()
{
    
    
    new 
index
    
    g_ZombieClassID 
zp_class_zombie_register(zombieclass1_namezombieclass1_infozombieclass1_healthzombieclass1_speedzombieclass1_gravity)
    
zp_class_zombie_register_kb(g_ZombieClassIDzombieclass1_knockback)
    for (
index 0index sizeof zombieclass1_modelsindex++)
        
zp_class_zombie_register_model(g_ZombieClassIDzombieclass1_models[index])
    for (
index 0index sizeof zombieclass1_clawmodelsindex++)
        
zp_class_zombie_register_claw(g_ZombieClassIDzombieclass1_clawmodels[index]) 
        
}

public 
fw_traceattack(victimattackerFloat:damagedirection[3], traceresultdmgbits)
{
        if(!
is_user_alive(victim) || zp_class_zombie_get_current(victim) != g_ZombieClassID)
        return

    if(
get_tr2(traceresultTR_iHitgroupHIT_HEAD))
    {
        
set_tr2(traceresultTR_iHitgroupHIT_LEFTLEG)
    }

wicho is offline
Reply


Thread Tools
Display Modes

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 10:49.


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