D3bot icon indicating copy to clipboard operation
D3bot copied to clipboard

Add probability for bot to miss a hit

Open arthurgeron opened this issue 6 years ago • 2 comments

Hi,

People comment a lot how bots have a "aimbot" type of aim, if you're in a certain range, doesn't matter what you do they will hit you.. If we could set like a chance, like 1 in 4 chances of missing ( a player, not props) a hit it would feel way more organic to play against bots.

arthurgeron avatar Sep 01 '19 04:09 arthurgeron

For now you can change the D3bot.BotAttackAngLerpFactor variable in lua/d3bot/sv_config.lua. Decreasing it should make the bot follow its target slower. But the bots will still do a 180 turn relatively fast.

I can change bot movement, to turn at a maximum speed. Additionally i can add a strength setting for random movements when bots are in melee mode. If i find some time i can experiment with that in a few days.

Prop attacking is not influenced by any of that, because bots don't actively attack props.

Dadido3 avatar Sep 01 '19 09:09 Dadido3

I'm trying that out, thank you!

arthurgeron avatar Sep 02 '19 00:09 arthurgeron