Left 4 Dead 2

Left 4 Dead 2

Left 4 Bots 2
Bots keep switching weapon when throwing grenade
I have no idea why this happend, and found no solution to fix it. I've redownload the game and let this mod alone running, yet it still be like this

Video: https://youtu.be/xPdlVndjsFI
< >
Showing 1-8 of 8 comments
4512369781  [developer] 24 Jul @ 7:42am 
Have you tried restoring default settings?
delete or rename "\left4dead2\ems\left4bots2\cfg" directory.
TBK Duy 24 Jul @ 8:46am 
Originally posted by 4512369781:
Have you tried restoring default settings?
delete or rename "\left4dead2\ems\left4bots2\cfg" directory.

In the video i was leave everything as default setting, not touching anything, and also not only molotov, pipebomb and bile jar also have the same problem

tank_molotov_chance = 25
tank_retreat_radius = 650
tank_throw_deltapitch = 3
tank_throw_min_health = 1500
tank_throw_range_max = 1300
tank_throw_range_min = 200
throw_molotov = 1
throw_molotov_interval = 4
throw_nade_deltapitch = -6
throw_nade_interval = 10
throw_nade_mindistance = 250
throw_nade_radius = 500
throw_pipebomb = 1
throw_vomitjar = 1

This is default setting right ?
4512369781  [developer] 24 Jul @ 9:50am 
I can't reproduce the bug, but the logs might help.
Change setting “loglevel” to 4 and copy the log that appears when bot throwing grenade.
TBK Duy 24 Jul @ 8:00pm 
[L4B][DEBUG] OnPostPlayerSpawn - player: Tank
[L4B][DEBUG] OnTankActive
[L4B][DEBUG] Active tanks: 1
[L4B][DEBUG] [AI]Ellis - Throw (weapon_molotov) -> ([2] player)
[L4B][DEBUG] [AI]Ellis - Throw finalization - ThrowType: 1 - ThrowTarget: ([2] player)
[L4B][DEBUG] [AI]Ellis - Throw no longer valid
[L4B][DEBUG] [AI]Ellis - Throw (weapon_molotov) -> ([2] player)
[L4B][DEBUG] [AI]Ellis - Throw finalization - ThrowType: 1 - ThrowTarget: ([2] player)
[L4B][DEBUG] [AI]Ellis - Throw no longer valid
[L4B][DEBUG] [AI]Ellis - Throw (weapon_molotov) -> ([2] player)
[L4B][DEBUG] [AI]Ellis - Throw finalization - ThrowType: 1 - ThrowTarget: ([2] player)
[L4B][DEBUG] [AI]Ellis - Throw no longer valid
[L4B][DEBUG] [AI]Ellis - Throw (weapon_molotov) -> ([2] player)
[L4B][DEBUG] [AI]Ellis - Throw finalization - ThrowType: 1 - ThrowTarget: ([2] player)
[L4B][DEBUG] [AI]Ellis - Throw no longer valid
[L4B][DEBUG] [AI]Ellis - Throw (weapon_molotov) -> ([2] player)
[L4B][DEBUG] [AI]Ellis - Throw finalization - ThrowType: 1 - ThrowTarget: ([2] player)
[L4B][DEBUG] [AI]Ellis - Throw no longer valid
4512369781  [developer] 25 Jul @ 6:09am 
I think I know why, are you run in 100 tickrate?
TBK Duy 25 Jul @ 6:22am 
Originally posted by 4512369781:
I think I know why, are you run in 100 tickrate?

Not really, but yeah i do increase tickrate to 60
4512369781  [developer] 25 Jul @ 8:19am 
I made a fix[github.com], please test it.

Unzip and put the "left4bots_afterload.nut" file in Left 4 Dead 2\left4dead2\scripts\vscripts directory
TBK Duy 25 Jul @ 10:23am 
Thank you so much, finally fixed the problem
Hope this fix will be included in next update if there's one
< >
Showing 1-8 of 8 comments
Per page: 1530 50