Player suffers damage when touching another player
Is it possible to have a plugin inflict damage on players when they come in contact with another player (bot)?
Looked high and low and can't find a plugin like this. |
Re: Player suffers damage when touching another player
You might try the [TF2] Roll The Dice Revamped (RTD) plugin by the talented Phil25.
Link: https://forums.alliedmods.net/showthread.php?t=278579 That plugin has a Perk called 'Toxic' that does damage to enemy players that you are near. Once you install the plugin you can try it out for 60 seconds with this command: !forcertd @me toxic 60 Toxic Perk description: Hurts enemy players in the specified radius, interval and with given damage. |
Re: Player suffers damage when touching another player
That’s not what he wants, he wants a plugin when players touch each other getting damaged.
So we need to hook on touch and doing SDKHook_Damage function |
Re: Player suffers damage when touching another player
Thats exactly what I was looking for. Has anybody ever done it?
Basically I have a zombie mod for Insurgency but the way the bot behavior is coded the bots (zombies) will come up to you but not attack. I thought maybe damage could be given to the player when touching the zombie bot. Otherwise the players just stand in the mob and blast everything. |
All times are GMT -4. The time now is 00:41. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.