// Chance for the rock model.
// Example:
// rock_chance = "1" and trunk_chance = "1", means Rock [50%] / Trunk [50%].
// rock_chance = "2" and trunk_chance = "3", means Rock [40%] / Trunk [60%].
// 0 = OFF.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "100.000000"
l4d_random_tank_rock_rock_chance "1"
// Chance for the trunk model.
// Example:
// rock_chance = "1" and trunk_chance = "1", means Rock [50%] / Trunk [50%].
// rock_chance = "2" and trunk_chance = "3", means Rock [40%] / Trunk [60%].
// 0 = OFF.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "100.000000"
l4d_random_tank_rock_trunk_chance "1"
Admin Commands
sm_print_cvars_l4d_random_tank_rock => Print the plugin related cvars and their respective values to the console. (z flag required)
Change Log
Spoiler
1.1.0 (18-April-2021)
- New version released.
1.0.0 (23-April-2019)
- Initial release.
Notes
This plugin precache some models.
These two models are the only ones that fit into the Tank animation, since they both have the "ValveBiped.debris_bone" attachment, other default models would appear stuck on the floor until the tank throws it. (using the same method)
Thank you!
KadabraZz - for the request and testing in his server.