View Single Post
Author Message
Ernecio
Junior Member
Join Date: Sep 2019
Old 12-09-2019 , 18:28   [L4D1 AND L4D2] Tank's Laser Attack
Reply With Quote #1

[L4D1 AND L4D2] Tank's Laser Attack

Sorry, This Plugin has been discontinued

Description:

The plugin is based on the original Witch Lightning Attack Idea by Panxiaohai, but unlike this it creates an electrical explosion in the target that is guided by a laser beam, causing damage to the ovjective if is in the range of laser. This plugin gives to Tank the probability in Spawn a chance to create laser-guided attacks on survivors, when the tank throws a rock it has a time frame to defend itself and this plugin is good for those time lapses in which the tank cannot defend itself, or for example in L4D1 in many cases the tank is blocked by players when it goes up a wall, and this plugins is good for that lapses of time (the plugin works if the Tank is blocked or not, acording to chance of gives the ability in spawn). The plugin have laser beam range configuration and a range of damage that can cause to survors. The laser is print to acording the color Tank, if the Tank have no colors the laser will be print normal (white)



Convars:

PHP Code:
// Probability that the Tank gets the laser attack ability in spawn.
// If the value is 0 = Plugin Disabled.
// -
// Default: "30.0"
// Minimum: "0.000000"
// Maximum: "100.000000"
l4d_tank_laserattack_chance "30.0"

// Maximum damage per attack.
// -
// Default: "10.0"
// Minimum: "0.000000"
// Maximum: "100.000000"
l4d_tank_laserattack_damage_max "10.0"

// Miinimum damage per attack.
// -
// Default: "3.0"
// Minimum: "0.000000"
// Maximum: "100.000000"
l4d_tank_laserattack_damage_min "3.0"

// Maximum attack range.
// -
// Default: "300.0"
// Minimum: "0.000000"
// Maximum: "1000.000000"
l4d_tank_laserattack_range_max "300.0"

// Miinimum attack range.
// -
// Default: "100.0"
// Minimum: "0.000000"
// Maximum: "1000.000000"
l4d_tank_laserattack_range_min "100.0" 
Installation:

1 - Click "Get Plugin" and put the l4d_tank_laserattack.smx file into your server or game \addons\sourcemod\plugins\ folder.
2 - (Only for L4D1) Required vmt for full visual lighting effect: https://forums.alliedmods.net/showpo...4&postcount=58 (by Dragokas)
3 - (Only for L4D1) Installation of particles for the server and client. Open the .Rar file that was previously downloaded and copy the files: bendibeam.vmt and bendibeam.vft in the following path: left4dead\materials\particle \ folder

Last edited by Ernecio; 01-17-2023 at 16:04. Reason: Compiler Version Changed
Ernecio is offline