Thread
:
[L4D2]Random Tank Rock With Props And Explosion[v3.0.0]
View Single Post
Author
Message
King_OXO
Senior Member
Join Date: Dec 2020
Location: Brazil
09-07-2021 , 15:20 [L4D2]Random Tank Rock With Props And Explosion[v3.0.0]
#
1
Description
this plugin makes that when the tank throws rocks the rock catches fire and when it is destroyed it explodes and also when the tank throws the rock, can spawn a random props: Tree Trunk and Giant Rock
Related Plugins
º
[L4D1 & L4D2] Tank Rock Ignition [v1.1.0 | 17-April-2021]
by
Marttt
º
[L4D1 & L4D2] Random Tank Rock [v1.1.0 | 18-April-2021]
by
Marttt
Video:
if you are using other plugins in which you use tank rock and want to use this plugin, please remove them
you can edit the time for objects to explode in l4d2_timer_explode
Changelog
-2.0.1: Fixed some errors and GetEdictClassname and Added more power to the throw
-2.1.0: Fixed "Cannot create new entity when no map is running",
reduced entities to just Tree Trunk and Giant Rock
, new cvar(see the "Cvars") and
explosion when the player is hit and hurt with the small rock or small wood
-2.2.0: Removed warning, added
newdecls
-3.0.0: Removed cvar
l4d2_model_type
, Added new convars(
prop chance, prop explosion damage and radius
) and another model for prop rock
Cvars
cvars are located in the cfg/sourcemod/l4d2_tank_props.cfg
//New
// Spawn prop chance
// -
// Default: "75.0"
// Minimum: "0.000000"
// Maximum: "100.000000"
l4d2_prop_chance "75.0"
// Damage when prop explodes
// -
// Default: "27.0"
l4d2_prop_explosion_damage "27.0"
// Explosion radius when prop explodes
// -
// Default: "1000.0"
l4d2_prop_explosion_radius "1000.0"
[/COLOR]
// blue color
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "255.000000"
l4d2_prop_glow_blue "255"
// flashing glow prop created by the tank
// -
// Default: "1"
l4d2_prop_glow_flash "1"
// green color
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "255.000000"
l4d2_prop_glow_green "255"
// red color
// -
// Default: "255"
// Minimum: "0.000000"
// Maximum: "255.000000"
l4d2_prop_glow_red "0"
// time for entities to explode
// -
// Default: "15.0"
l4d2_timer_explode "15.0"
Attached Files
Get Plugin
or
Get Source
(l4d_tank_props_rock.sp - 589 views - 11.1 KB)
Last edited by King_OXO; 11-22-2022 at
12:56
. Reason: update
King_OXO
View Public Profile
Send a private message to King_OXO
Find More Posts by King_OXO