Open redheadgektor opened 4 months ago
not a bug but a feature. don't do that!
not a bug but a feature. don't do that!
I modified bot states for more realism actions like humans: bhop, long jumps, use buttons for open doors and try recoil controlling while long bursts
@redheadgektor The more functionality you add, the worse they will play. They won't become human no matter how hard you try.
@Vaqtincha Naturally, but now at least they can fight back against the players + if they hear the noise of the enemy, they try to shoot through the wall and throw grenades in a non-random place. I also added the ability to manually place campsites (useful for zombie servers)
not a bug but a feature. don't do that!
I modified bot states for more realism actions like humans: bhop, long jumps, use buttons for open doors and try recoil controlling while long bursts
but now at least they can fight back against the players + if they hear the noise of the enemy, they try to shoot through the wall and throw grenades in a non-random place. I also added the ability to manually place campsites (useful for zombie servers)
@redheadgektor and where are all these new features?
A problem has been found, bots do not have a bullet spread, because the engine emulating usercmd does not assign random_seed. random_seed is always zero
https://github.com/s1lentq/ReGameDLL_CS/blob/master/regamedll/game_shared/bot/bot.cpp#L286 https://github.com/s1lentq/ReGameDLL_CS/blob/master/regamedll/dlls/client.cpp#L5005
FIX: Replace function