Inspired by the
200 IQ Bots of ConnerRia.
Summary
This is my version of ConnerRia's
Bot Haymakers plugin. I didn't like that the chance system of bots executing haymakers is limited to chance factors instead of an actual percentage. So, I had to implement my own version with a bit more flexibility. The tanks now have a chance to execute jump attacks, haymakers, and jumping haymakers.
Bugs
Code:
- Algorithm may stop executing the attack sequence(revert to normal attack pattern)
***In the meantime, you may unload/reload the plugin***
ConVars
Saved to l4d_tacticaltanks.cfg in your servers
..\cfg\sourcemod\ folder.
Code:
//Print [L4D1 & L4D2] Tactical Tanks Version
l4d_tacticaltanks_version
// Chance for a tank to perform a haymaker attack.
// -
// Default: "25"
// Minimum: "0.000000"
// Maximum: "100.000000"
l4d_tacticaltanks_haymaker_chance "25"
// Chance for a tank to perform a jump attack
// -
// Default: "15"
// Minimum: "0.000000"
// Maximum: "100.000000"
l4d_tacticaltanks_jumpattack_chance "15"
Recommended Settings
Changelog -
Date format is MM/DD/YYY
Code:
Version 0.8 - 09/28/2022
- Fixed bug on 0% chance. No special techniques for tank bots to execute once chance value is 0
Version 0.6 - 09/28/2022 ~ 15 views
- Supports both L4D1(untested) and L4D2
- Initial release
Credits
Code:
ConnerRia ~ For the original implementation where I figured out what to improve on.