Raised This Month: $12 Target: $400
 3% 

[L4D2] Boomer Vomit Damage Toxic


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Maur0
Senior Member
Join Date: Aug 2020
Old 02-13-2022 , 15:18   [L4D2] Boomer Vomit Damage Toxic
Reply With Quote #1

Very good. I wanted to know if it is possible to create a plugin that allows to give the Boomer a toxic damage style when he vomits a survivor.

This occurred to me, because it would be good to apply it as a style of the Killing Floor of the Bloat and also the Back 4 Blood of the Retch. When someone is thrown up, their health goes down over time.

More than that, I hope it's possible. Thanks a lot.
Maur0 is offline
Drixevel
AlliedModders Donor
Join Date: Sep 2009
Location: Somewhere headbangin'
Old 02-14-2022 , 12:57   Re: [L4D2] Boomer Vomit Damage Toxic
Reply With Quote #2

Untested, might not be what you want but seems good.
Attached Files
File Type: sp Get Plugin or Get Source (l4d2-toxicvomit.sp - 96 views - 2.3 KB)
Drixevel is offline
Maur0
Senior Member
Join Date: Aug 2020
Old 02-14-2022 , 15:16   Re: [L4D2] Boomer Vomit Damage Toxic
Reply With Quote #3

Quote:
Originally Posted by Drixevel View Post
Untested, might not be what you want but seems good.
Thank you. I've tried it and unfortunately it didn't work. I do not know why.

It shows me the commands in the console, I have it in the cfg file and there is no error that it marks. And yet, when the Boomer throws up someone, he doesn't do anything :/
Maur0 is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 02-15-2022 , 04:44   Re: [L4D2] Boomer Vomit Damage Toxic
Reply With Quote #4

Missing the hook event line for Event_OnPlayerIt

Add:
PHP Code:
HookEvent("player_now_it"Event_OnPlayerIt); 
To OnPluginStart
__________________

Last edited by Marttt; 02-15-2022 at 04:45.
Marttt is offline
Maur0
Senior Member
Join Date: Aug 2020
Old 02-15-2022 , 14:34   Re: [L4D2] Boomer Vomit Damage Toxic
Reply With Quote #5

Marttt - Thanks a lot. I put it in and it seems to work.

Drixevel - Thank you very much for your plugin. Now thanks to Marttt, I got it to work. But there is almost something that is more or less:

> It only deals damage when the Boomer enzyme explodes them. Not when the Boomer throws them up.
> So that it is for 1 damage. The speed is very fast that it can even deplete your health very quickly. Maybe an interval or something so that their health doesn't drop too quickly.
> There is a small bug that when the Boomer covers them with vomit and if he dies. When spawning another Boomer while still covered in vomit, the damage will continue to lower their health. It even happens when another infected (example Hunter) spawns near them and lowers their health. For a strange reason. Or maybe there are times that the vomiting damage stops or continues. I don't know if I said this right.

In general, the plugin is not bad. It just needs to be applied for when he vomits them + his enzyme explosion of them too. And add some interval, example: 2.5 seconds for 1 damage. So that they don't go down too fast. Thank you very much for the plugin.
Maur0 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 15:26.


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