AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Zombie Plague Mod (https://forums.alliedmods.net/forumdisplay.php?f=126)
-   -   Subplugin Submission [ZP] Class: Witch (https://forums.alliedmods.net/showthread.php?t=95027)

Bummps 06-18-2009 16:16

[ZP] Class: Witch
 
2 Attachment(s)
Zombie Class: Witch

Description:
Zombie witch paralyze and do 2x more damage fighting with a human.
Obs: Its my first plugin posted here, but i made anothers, if you saw a error tell me and i'll try fix it.

Cvars:
Quote:

zp_witch_damage "2.0" - How much you want multiply her damage.

Changelog:

Code:

06/18/09 - v1.0 - First release
06/18/09 - v1.1 - Fixed Zombie gravity's bug
06/18/09 - v1.2 - Optimized Code, fixed nemesis & survivor gravity's bug.

Credits:

Frk_14 for his witch model.

The guy who made Frost Nade, i forgot his name. :)

TheKidz 06-18-2009 16:17

Re: [ZP] Class: Witch
 
sabia q era vc matt :P

Bummps 06-18-2009 16:17

Re: [ZP] Class: Witch
 
>_>

Fry! 06-18-2009 17:02

Re: [ZP] Class: Witch
 
Looks interesting I will try it.

Bummps 06-18-2009 17:54

Re: [ZP] Class: Witch
 
If witch infect a human his gravity will be bugged, so i fixed this.
If you saw another error, please tell me.

alan_el_more 06-18-2009 18:14

Re: [ZP] Class: Witch
 
1.- Use set_user_rendering instead of fm_set_rendering
2.-
PHP Code:

#if defined HANDLE_MODELS_ON_SEPARATE_ENT
    
fm_set_rendering(g_ent_playermodel[victim], kRenderFxGlowShell0100200kRenderNormal25)
    
#else
    
fm_set_rendering(victimkRenderFxGlowShell0100200kRenderNormal25)
    
#endif 

:arrow:

PHP Code:

set_user_rendering(victimkRenderFxGlowShell0100200kRenderNormal25

3.-
PHP Code:

#if defined HANDLE_MODELS_ON_SEPARATE_ENT
    
fm_set_rendering(g_ent_playermodel[id])
    
#else
    
fm_set_rendering(id)
    
#endif 

:arrow:

PHP Code:

set_user_rendering(id

4.-
PHP Code:

register_event("HLTV""event_new_round""a""1=0""2=0")
register_event("HLTV""event_round_start""a""1=0""2=0"

:arrow:

PHP Code:

register_event("HLTV""event_new_round""a""1=0""2=0"

5.- Delete this:
PHP Code:

public event_round_start(id)
{
    
dano_multiplicado[id] = false
    remove_freeze
(id)


and finally...

6.- Remove the engine module

tii 06-18-2009 18:27

Re: [ZP] Class: Witch
 
ae bummps o/

vo testar em meu servidor =D

valeu pela classe.

Bummps 06-18-2009 18:30

Re: [ZP] Class: Witch
 
Alrite, but i think we cant remove "HANDLE_MODELS_ON_SEPARATE_ENT"
i'll try later.

Bummps 06-18-2009 22:40

Re: [ZP] Class: Witch
 
PT: Juninho, não gosto de você.
Copiou todos os plugins da allied modders e falou "eu fiz",
para mim, você não é bem vindo aqui.

EN: Juninho, i dont like you.
Copied every plugin from allied modders and said "i made",
for me, you arent welcome here.

ƒa†es™ 06-19-2009 02:48

Re: [ZP] Class: Witch
 
I thought you must also post in at New Plugin Submissions ?


All times are GMT -4. The time now is 16:23.

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