AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Zombie Plague Mod (https://forums.alliedmods.net/forumdisplay.php?f=126)
-   -   Smoker (https://forums.alliedmods.net/showthread.php?t=90310)

4eRT 04-16-2009 14:23

Smoker
 
Rant:
Current version: 1.3
* -----------------------------------
* ---[ZP] Zombie Class: Smoker------
* -----------------------------------
* ------Author: 4eRT (aka pff)-------
* -----------------------------------
* About:
* When Left4Dead came out i immediately thought about Zombie Class Smoker plugin.
* More later(few days ago) I was playing on Superhero Server when i found Scorpion hero.
* So it was the way to create this plugin.
* -----------------------------------
* Discription:
* Smoker is another zombie class for zombie plague like Smoker in L4D.
* He can drags humans by holding "V" or +USE like /\...yeah, like Smoker. If Smoker receives
* 300 damage by human drag ends. If he falls or hurts more 25 dmg drag ends to.
* Drag speed, max drags, cooldown, drag teammates, additional hooks, unable to move & damage to stop
* may be customized by Cvars.
* -----------------------------------
* Credits:
* yang - great thanks for his Scorpion superhero plugin where I borrow harpoon&drag code.
* 5c0r-|3i0 - for his converted Smoker sounds.
* xPaw - for help optimization plugin. For Entity_Set_Vector.
* frk_14 - for his Smoker model.
* Lightokun - for code optimization
* -----------------------------------
* Cvars:
* zp_smoker_maxdrags 10 // how many times Smoker can drag player to himself? def=10
* zp_smoker_dragspeed 160 // speed of dragging player to Smoker def=160
* zp_smoker_cooldown 5 // time in sec before you can use drag again. def=5
* zp_smoker_mates 0 // can Smoker drag teammates to? 1=yes 0=no def=0
* zp_smoker_dmg2stop 300 // damage to stop dragging def=300
* zp_smoker_extrahook 2 // additional hooks after Smoker infects smb. def=2
* zp_smoker_unable_move 1 // 0=human & Smoker can move / 1=unable human to move when dragging / 2=unable Smoker to move / 3=unable both
* zp_smoker_nemesis 0 // 0=Smoker can't drag players if he is Nemesis / 1=Smoker can. def=0
* zp_smoker_survivor 1 // 0=Smoker can't drag Survivor / 1=Smoker can. def=1
* -----------------------------------
* Modules:
* fakemeta
* hamsandwich
* engine
* -----------------------------------
* History(beta):
* 0.0b (14.04.09)
* Most of code converted from sh_scorpion. Added 3 cvars.
* 0.1b (15.04.09)
* Added cooldown, autobind, damage to stop and its cvars.
* Beta testing. First view works perfectly...<- It was wrong belief...>_<
* 0.2b (17.04.09)
* Entvars_Set_Vector now uses engine, not Vexd_Utilities.inc
* 0.3b (19.04.09)
* Fixed cooldown. Now it works more stably. Reduced minimum drag distance.
* 0.3.1b (21.04.09)
* Cooldown works more, more stably. After re-infecting Smoker can use drag
* X times(cvar_maxdrags) if drags left when he was zombie last time.
* Added Smoker model(+modelT.mdl precacher).
* 0.3.2b (28.04.09)
* Changed Smoker model(lite+without T.mdl -> deleted T.mdl precacher)
* Added 3rd option to zp_smoker_bind - bind on +USE
* 1.0 (09.01.10)
* Yeah. It's not beta now. :) Added autobind menu. Now player can choose: bind V +drag or hold +use to drag. Removed bind cvar.
* Fixed cooldown. Fixed teammate drag. Added extra drag-cvar for infection.
* 1.1 (09.01.10)
* Added unmovable cvar. Added Nemesis and Survivor cvars.
* 1.2 (12.01.10)
* Code optimized. Fixed bugs.
* 1.3 (17.01.10)
* Code optimized.
* -----------------------------------
* PS:
* It's my second useful plugin for amxx so...
* PPS:
* Put zombie_smoker folder to %csdir%\models\player\
* Put sound folder to %csdir%\ and replace sound.

* -----------------------------------

Rant:
Current version: 1.0
* -----------------------------------
* -----[ZP] Extra Item: Drag---------
* -----------------------------------
* ------Author: 4eRT (aka pff)-------
* -----------------------------------
* About:
* Extra Item for Zombies: drag ability. It works like Smoker drag.
* -----------------------------------
* Discription:
* It's similar Smoker zombie ability. With this extra you can drag players by holding "V" or +USE
* Drag speed, max drags, cooldown, drag teammates, unable to move may be customized by Cvars.
* -----------------------------------
* Credits:
* yang - great thanks for his Scorpion superhero plugin where I borrow harpoon&drag code.
* xPaw - really thx for help optimization Smoker plugin. For Entity_Set_Vector.
* -----------------------------------
* Cvars:
* zp_extra_drag_drags 10 // how many times you can drag player? def=10
* zp_extra_drag_dragspeed 160 // speed of dragging player. def=160
* zp_extra_drag_cooldown 5 // time in sec before you can use drag again. def=5
* zp_extra_drag_mates 0 // can you drag teammates to? 1=yes 0=no def=0
* zp_extra_drag_dmg2stop 300 // damage to stop dragging. set 0 to disable it. def=300
* zp_extra_drag_extrahook 2 // additional hooks after infects smb. def=2
* zp_extra_drag_unable_move 1 // 0=human & you can move / 1=unable human to move when dragging / 2=unable you to move / 3=unable both
* zp_extra_drag_nemesis 0 // 0=can't drag players if is Nemesis round/ 1=can. def=0
* zp_extra_drag_survivor 1 // 0=can't drag Survivor / 1=can. def=1
* zp_extra_drag_reset 0 // 0=delete drag ability on humanizing / 1=not
* -----------------------------------
* Modules:
* hamsandwich
* fakemeta
* engine
* -----------------------------------
* History:
* 0.1b (14.01.10)
* First release.
* 1.0 (15.01.10)
* Barnacle hand model added. Code optimized.
* Put barnacle folder to %csdir%/models.
* -----------------------------------

Take plugins here

fezh 04-16-2009 18:04

Re: [ZP] Class: Smoker
 
I never played L4D but it sounds nice. Btw, GJ.

johnny40409 04-16-2009 18:40

Re: [ZP] Class: Smoker
 
wow ..that's real nice..
I'll test it when I come back..(need to go to school now..)

thanks you~

dimon4g 04-17-2009 04:01

Re: [ZP] Class: Smoker
 
a good. thanks...:wink:

albert123 04-17-2009 06:44

Re: [ZP] Class: Smoker
 
Good plugin ! +karma

johnny40409 04-17-2009 07:37

Re: [ZP] Class: Smoker
 
Some suggestions ,
(AND SORRY FOR MY POOR ENGLISH , I TRIED TO EXPLAIN MORE CLEARLY =))

1.when smoker catches human, there's no way to run , Only can wait for smoker's catch...

HOPE: fix like L4D , let teammate can broke the rope and rescue.

2.when human's been catch (CS) , human will face to zombie .

HOPE: fix like L4D , The when been catch , can't face to zombie, only can wait for teammate (THIS IS REALLY NEEDED , BUT no.1 is.)

Thanks for creating this plugin . ^_^

4eRT 04-17-2009 08:39

Re: [ZP] Class: Smoker
 
Thanks :D

2johnny40409
1. Damage Smoker for 300(cvar) dmg it he stops dragging.
2. think it's not need and...impossible...

johnny40409 04-17-2009 09:10

Re: [ZP] Class: Smoker
 
So is No.1 possible to edit? It will be more fun if teammate can rescue I think, just an advice.

AND, don't know it's my problem or Bug,

1.zp_smoker_mates = 0 , doesn't work's , still can drag teammate

2.zp_smoker_cooldown = 5 , even past 5 secs, still can't use.

AND 1 Question

zp_smoker_dmg2stop , it's human's hp?

4eRT 04-17-2009 09:18

Re: [ZP] Class: Smoker
 
Quote:

AND, don't know it's my problem or Bug,
It works. First and second.
Quote:

zp_smoker_dmg2stop , it's human's hp?
No, it's damage which human must inflict to zombie to stop dragging.

johnny40409 04-17-2009 09:45

Re: [ZP] Class: Smoker
 
Ok , I see.
zp_smoker_cooldown does work's.
But If player keep pressing "V" , the time will keep add on and add on , (Just my observ..)

Is it really my problem?=)


All times are GMT -4. The time now is 09:40.

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