AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugin/Gameplay Ideas and Requests (https://forums.alliedmods.net/forumdisplay.php?f=60)
-   -   [L4D2] Boomer Vomit Damage Toxic (https://forums.alliedmods.net/showthread.php?t=336357)

Maur0 02-13-2022 15:18

[L4D2] Boomer Vomit Damage Toxic
 
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.

Drixevel 02-14-2022 12:57

Re: [L4D2] Boomer Vomit Damage Toxic
 
1 Attachment(s)
Untested, might not be what you want but seems good. :bee:

Maur0 02-14-2022 15:16

Re: [L4D2] Boomer Vomit Damage Toxic
 
Quote:

Originally Posted by Drixevel (Post 2771461)
Untested, might not be what you want but seems good. :bee:

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 :/

Marttt 02-15-2022 04:44

Re: [L4D2] Boomer Vomit Damage Toxic
 
Missing the hook event line for Event_OnPlayerIt

Add:
PHP Code:

HookEvent("player_now_it"Event_OnPlayerIt); 

To OnPluginStart

Maur0 02-15-2022 14:34

Re: [L4D2] Boomer Vomit Damage Toxic
 
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.


All times are GMT -4. The time now is 04:50.

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