AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [L4D2] Everyone Vomit (https://forums.alliedmods.net/showthread.php?t=160221)

alexip121093 06-26-2011 10:44

[L4D2] Everyone Vomit
 
2 Attachment(s)
This plugin allow every survivor and every special infected to vomit like bommer by using !vomitme command

Installation:
Put the l4d2_survomit.smx to plugins folder
and l4d2vomit.txt to gamedata folder

Command :
!vomitme

Cvars :
cfg/sourcemod/l4d2_vomit.cfg
Code:

l4d2_vomit_allow 1 0= L4D2 Everyone Vomit Plugin off, 1=Plugin on. 2 root admin only
l4d2_vomit_type 7 the vomit can only hit 1=sur 2=SI 4 =commoninfected (add the number to it if you want it)
l4d2_vomit_range 100 vomit hit detection range
l4d2_vomit_team 1 the team that can use !vomitme  1 =sur 2=infected 3=both
l4d2_vomit_cool 60.0 cool down time after vomit
l4d2_vomit_sound "player/boomer/vomit/attack/bv1.wav"      sound file used  leave blank to disable sound

Known Bugs :
the particle does not attach well on the special infected
the hit detection may not accurate

1.0.1 quick bug fix

Credits :
Silvers used a lot his code and he teaches me
honorcode23 the gamedata from his plugin
Thanks !!!

BrianGriffin 06-26-2011 16:54

Re: [L4D2] Everyone Vomit
 
I was gonna code exactly this as one of the ultimates as part of a rpg mod. Thanks for sharing :)

alexip121093 06-26-2011 18:52

Re: [L4D2] Everyone Vomit
 
Hope someone can provide l4d1 OnVomitedUpon signature . so I can make a l4d1 version

paul92 06-27-2011 05:20

Re: [L4D2] Everyone Vomit
 
Can you add all the special attacks of all special infected?

You just added vomit ability, but if you could add:
- smoker tongue
- hunter pounce
- jockey ride
- spitter acid
- Charger charge

Then, you just created a plugin which could revolutionize Left 4 Dead 2! :D
Hope someone will do it sooner or later! I'm telling you this here, because looks like you just started a step of this project! :)

Anyway good work!

alexip121093 06-27-2011 10:14

Re: [L4D2] Everyone Vomit
 
Quote:

Originally Posted by paul92 (Post 1497652)
Can you add all the special attacks of all special infected?

You just added vomit ability, but if you could add:
- smoker tongue
- hunter pounce
- jockey ride
- spitter acid
- Charger charge

Then, you just created a plugin which could revolutionize Left 4 Dead 2! :D
Hope someone will do it sooner or later! I'm telling you this here, because looks like you just started a step of this project! :)

Anyway good work!

i can only make spitter first. other may not possible

paul92 06-27-2011 14:33

Re: [L4D2] Everyone Vomit
 
Oh! A good addon to this plugin anyway! :)
Then you can change the name in: The big Mouth! XD

Anyway there is already a plugin: "character select menu" which has already a similar function.
In fact, you can change you character (as survivor) and select any special infected.
And you can also use the special attack of that special infected. (in the equip menu in the right, a new "white box" appear above the "primary weapon box" and when selected, you enter in the "civil mode", and can use the special attack of that infected (also the tipical cooldown ring appear). You can scroll with the mouse wheel the weapons, and change from humans weapons to infected weapons!
Obviously this feature should work mainly for infected!
Maybe you could look in his code (couldn't remember the author name, anyway :()
Anyway, as said! Very funny plugin! :D

alexip121093 06-27-2011 19:43

Re: [L4D2] Everyone Vomit
 
Quote:

Originally Posted by paul92 (Post 1498021)
Oh! A good addon to this plugin anyway! :)
Then you can change the name in: The big Mouth! XD

Anyway there is already a plugin: "character select menu" which has already a similar function.
In fact, you can change you character (as survivor) and select any special infected.
And you can also use the special attack of that special infected. (in the equip menu in the right, a new "white box" appear above the "primary weapon box" and when selected, you enter in the "civil mode", and can use the special attack of that infected (also the tipical cooldown ring appear). You can scroll with the mouse wheel the weapons, and change from humans weapons to infected weapons!
Obviously this feature should work mainly for infected!
Maybe you could look in his code (couldn't remember the author name, anyway :()
Anyway, as said! Very funny plugin! :D

i know that way , but it is not so stable and it can not attack everyone
eg. boomer skill only hit survivor. jockey skill apply to survivor team can only hit survivor team.... very buggy

paul92 06-28-2011 05:50

Re: [L4D2] Everyone Vomit
 
Quote:

Originally Posted by alexip121093 (Post 1498336)
i know that way , but it is not so stable and it can not attack everyone
eg. boomer skill only hit survivor. jockey skill apply to survivor team can only hit survivor team.... very buggy

Yeah, obviously that could be a plugin idea only for special infected, not for survivors!
But, wait a moment. You said you could implement the spitter attack, but that mean you could make a survivor spit, and damage normal and special infected? (like how it works now with the vomit attack)

Anyway, when (if you want) you will finish your ideas (if you'll finish them), try to take a look on that idea, many people on l4d2 are waiting a similar addon to their gameplay!

I'm downloading this anyway! Keep it up!

alexip121093 06-30-2011 20:42

Re: [L4D2] Everyone Vomit
 
sorry it will take sometime
i am working on a custom map project , so no time to script right now

alexip121093 03-12-2012 13:36

Re: [L4D2] Everyone Vomit
 
fixed Handle typo lol
thanks silver!!


All times are GMT -4. The time now is 15:03.

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