Description
This plugin creates a 'roar' skill for the tank. Players just click on the middle mouse button to use this ability. When used, survivors around a certain radius from the tank will be knockbacked. Depending on the server, the knockback can be towards the tank or away from the tank. This opens up some interesting strategies.
FeaturesAdjustable area of effect (radius from tank).
Adjustable damage done to survivors.
Adjustable cooldown.
Adjustable force of knockback.
Adjustable direction of knockback. (towards or away from tank)
Many other adjustable aspects of the roar.
Installation
-Scroll to the bottom of this post and click on 'Get Plugin' to download the .smx version of this plugin. Put this file in your left 4 dead 2 "addons\sourcemod\plugins" directory.
-Download tankroar.phrases and put this file in "addons\sourcemod\translations" directory.
-Download l4d2tankroar.txt and put this file in "addons\sourcemod\gamedata" directory.
Cvars- sm_tankroar - Sets the dimensional plane the roar affects. 0 - Disable plugin, 1 - Roar only affect survivors on the (relatively) same plane as tank, 2 - Roar affects survivor as long as survivor is 400 distance away from tank.
Changelogs
Quote:
1.2.2
-Added a cvar to control tank's stun time after using roar.
-Removed a part of possibly redundant code.
1.2.1
-Fixed a bug where Tank Roar becomes spammable in cases 5v5 or above.
-Fixed minor coding bug.
-sm_tankroar cvar can now set whether survivor needs to be on the same plane as tank for roar to affect them.
1.2
-Survivors now cannot be roared away if they are pinned by other SI.
-Damage done by the roar is now added into the infected points.
-Added a cvar option to choose the knockback type. (Tank punch knockback)
-Added a cvar option to change the required hp before tank can use roar.
-Added a cvar option to choose the type of hint.
-Added some comments to the code.
1.1.1
-Fixed some minor bugs.
-Added a seperate cvar for version checking instead of using sm_tankroar.
1.1
-Added instructor hint to the tank so that players are informed of its roar ability.
-Survivors now can get incapped by the roar if damage is set.
-Rewritten some parts of the code.
-Fixed Tank's roar ability getting bugged after one round.
1.0 - Initial Release
|