AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Zombie Plague Mod (https://forums.alliedmods.net/forumdisplay.php?f=126)
-   -   Subplugin Submission [ZP] ZCLASS: SPITTER (Updated to 1.5 Oct 23, 2011) (https://forums.alliedmods.net/showthread.php?t=169635)

Snaker beatter 10-15-2011 05:22

[ZP] ZCLASS: SPITTER (Updated to 1.5 Oct 23, 2011)
 
5 Attachment(s)
Quote:

POLL NOTE: PLEASE DONT VOTE ANYMORE, ITS NOW FINISH :)

/*
* ---------------------------------------------------------------------------------------------------------
* ------------------------------------[ZP] Zombie Class: Spitter (better)----------------------------------
* ---------------------------------------------------------------------------------------------------------
* ------------------------------------Author: SNAKER_BEATTER-----------------------------------------------
* ---------------------------------------------------------------------------------------------------------
* About:
* When i was using a special infected in L4D2 i was thinking about this class. Then i search first
* before creating because people may say its already created, but its created i found at a website.
* WELL THIS IS JUST A BETTER VERSION OF THAT SPITTER...
* ---------------------------------------------------------------------------------------------------------
* Description:
* This is another zombie class for zombie plague 4.3 or later. This zombie class is called spitter.
* She(this zombie class is female) can launch a spit/acid to an enemy. while the enemy will be damaged
* (according to spit's mode and a cvar) 25. And also as the better part when spitter die an acid
* ring will release at spitter's body, and when radiused(according to cvar) you will damaged (according-
* to a cvar)50...
*
* Okay: in this version i removed the old buggy cooldown but i replaced it with a new better cooldown
* (according to cvar) and you must wait to spit again...
* ---------------------------------------------------------------------------------------------------------
* Credits:
* Hidanz + zombie-portal website - for the acual stupid spitter that use tank's code...
* mercylezz - i copied TE_BEAMCYLINDER message for the main death acid (code from zombie_plague40.sma)
* ---------------------------------------------------------------------------------------------------------
* Cvars:
* zp_Spitter_spit_speed 700 // spit Speed Launched by Spitter
* zp_Spitter_spit_damage 25 // damage done by the spit
* zp_Spitter_spit_reward 1 // Ammo Pack's Reward by touching the enemy with the spit
* zp_Spitter_spit_mode 1 // spit Mode / 1 = Take Damage / 2 = Killing / 3 = Infect
* zp_Spitter_spit_deal_damage 250 // Damage spitter when launch a spit / 0 = Kill spitter if lauched a spit
*
* zp_Spitter_spit_cooldown 20 // (Only if defined BETTER_COOLDOWN) How many seconds spitter waits to spit again
*
* zp_Spitter_death_acid_damage 50 // When spitter die. all players arounnd him will be damaged
* zp_Spitter_death_acid_distance 250 // Spitter death acid distance
* ----------------------------------------------------------------------------------------------------------
* Modules:
* hamsandwich
* fakemeta
* engine
* fun
* -----------------------------------------------------------------------------------------------------------
* Change log:
* 1.0 (Oct 15, 2011)
* {
* public release.
* }
* 1.1 (Oct 16, 2011)
* {
* Fix if spitter is human, death acid works
* Added spit/acid hit sound
* }
* 1.2 (Oct 17, 2011)
* {
* Added bubbles when spit hit
* As remake added clcmd
* Fix if spitter is survivor, death acid works
* (best of all) Changed cooldown(buggy) to deal damage
* Changed some resources names
* }
* 1.3 (Oct 18, 2011)
* {
* Fix if spitter is nemesis, death acid works
* Added zombie support if spit hit zombie
* Added define SPIT_CHEAT_BLOCK for block some cheaty tricks
* Added colorchat when you lauched a spit
* }
* 1.4 (Oct 23, 2011)
* {
* Changed when you launch a spit message mistype
* Removed if deal_damage cvar set to 0 kill spitter if launch a spit
* }
* 1.5 (Oct 24, 2011)
* {
* (Asked) New cooldown better than the old buggy cooldown (Controlled by BETTER_COOLDOWN)
* (Asked) Added BETTER_COOLDOWN (define) to allow/disallow cooldown
* SPIT_CHEAT_BLOCK define more codes
* Added death acid bubble break
* }

Quote:

Engine bug?
Did you ever got this error?
Code:

[ENGINE] Invalid player 1 (not in-game)
L 02/12/2012 - 01:50:21: [AMXX] Displaying debug trace (plugin "zp_zclass_spitter.amxx")
L 02/12/2012 - 01:50:21: [AMXX] Run time error 10: native error (native "entity_range")
L 02/12/2012 - 01:50:21: [AMXX]    [0] engine_stocks.inc::get_entity_distance (line 71)
L 02/12/2012 - 01:50:21: [AMXX]    [1] zp_zclass_spitter.sma::spit_death_effect (line 389)
L 02/12/2012 - 01:50:21: [AMXX]    [2] zp_zclass_spitter.sma::spit_death (line 359)
L 02/12/2012 - 01:50:21: [AMXX]    [3] zp_zclass_spitter.sma::spitter_death (line 348)
L 02/12/2012 - 01:50:33: [ZP] Invalid Player (0)

Its caused by your module "ENGINE", you should fix it


JoKeR LauGh 10-15-2011 18:29

Re: [ZP] ZCLASS: SPITTER (Better)
 
you should post it in Zombie Plague section . ( Don't reply my post )

Snaker beatter 10-16-2011 01:28

Re: [ZP] ZCLASS: SPITTER (Better)
 
As you say so i wont reply. HEHEHE :D

H.RED.ZONE 10-16-2011 12:48

Re: [ZP] ZCLASS: SPITTER (Better)
 
Quote:

Originally Posted by Snaker beatter (Post 1576559)
As you say so i wont reply. HEHEHE :D

Upload it please :)

Snaker beatter 10-16-2011 12:50

Re: [ZP] ZCLASS: SPITTER (Better)
 
Quote:

Originally Posted by H.RED.ZONE (Post 1576976)
Upload it please :)

Then vote. If the "yes" answer gets 10 votes then i'll complete this thread and upload the spitter :D

Man vote yes i like to post it too :D

sebaiba 10-19-2011 11:27

Re: [ZP] ZCLASS: SPITTER (Better)
 
u Have 10 Yes! ;) , Please Upload (:

Snaker beatter 10-19-2011 11:30

Re: [ZP] ZCLASS: SPITTER (Better)
 
Quote:

Originally Posted by sebaiba (Post 1579041)
u Have 10 Yes! ;) , Please Upload (:

Okay here we go.


And to all players:
please dont answer or read the poll anymore :)

sebaiba 10-19-2011 12:01

Re: [ZP] ZCLASS: SPITTER (Better)
 
Thanks Man! , U Are The BEST! :)!

Snaker beatter 10-23-2011 00:52

Re: [ZP] ZCLASS: SPITTER (Better (Updated to 1.4 Oct 23, 2011) POLL MUST BE DELETED!)
 
Quote:

Originally Posted by sebaiba (Post 1579070)
Thanks Man! , U Are The BEST! :)!

Anytime :)

_____________________________________________ __________________________

Updated to 1.4:
Quote:

1.4 (Oct 23, 2011)
{
Changed when you launch a spit message mistype
Removed if deal_damage cvar set to 0 kill spitter if launch a spit
}

Isaacd3d 10-23-2011 11:26

Re: [ZP] ZCLASS: SPITTER (Better (Updated to 1.5 Oct 23, 2011) POLL MUST BE DELETED!)
 
Add some cooldown please :( 8)


All times are GMT -4. The time now is 14:44.

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