Left 4 Dead 2

Left 4 Dead 2

Left 4 Bots 2
pufflesboi 6 Aug, 2024 @ 7:15am
How can I shorten the distance of the bots following you?
Title's a nutshell.

What commands (or something) should I change/add to at least "shorten" the distance of the bots that follow you. I get that the distance is somewhat of a way for them to easily scavenge for items or just to tread more ground (mimicking the feel of human players) but often times, especially on huge, open environments, they would just stand there and will not follow me until I'm at a considerable distance away from them.

How can I let them stick closely to me, similar to base A.I, without modifying their scavenge radius, tank dodge settings, etc.
Last edited by pufflesboi; 6 Aug, 2024 @ 7:16am
< >
Showing 1-12 of 12 comments
LimmyTastic 8 Aug, 2024 @ 3:14am 
Try to adjust move_end_radius_follow in the settings.txt to a lower value.
pufflesboi 8 Aug, 2024 @ 4:45am 
Hey, thanks for the reply.
Unfortunately, I don't think changing that command did anything (at least, on my own testing).
Everything's still the same. Bots still won't follow me til' I'm at a certain distance away.
I'm still not sure though, maybe it did change or something, I don't know.
Still waiting for a fix. :steamsad:
pufflesboi 8 Aug, 2024 @ 4:48am 
Just to be clear, I did lower the value constantly.
100 -> 50 -> 25 -> 10
No bueno.
4512369781  [developer] 8 Aug, 2024 @ 7:01am 
l4b has this improves, but l4b2 not.

add it in "Left 4 Dead 2\left4dead2\ems\left4bots2\cfg\convars.txt".
sb_separation_danger_max_range 360 sb_separation_danger_min_range 120 sb_separation_range 120
from Improved Bots (Simple)
pufflesboi 8 Aug, 2024 @ 8:24am 
Thanks man, this actually worked.
Though I did lower the values to my suit my preference but still.
Very 'ppreciated. :steamhappy:
T626 20 Sep, 2024 @ 4:52am 
@4512369781 Will this also fix the bots pathing? Where they'll stop running in front of you when you're trying to shoots targets from mid-range to long range. It's been irritating me for years how whenever I slow walk through any campaign and I try to take out infected they constantly run in front of me and take friendly fire damage. I've been wanting to find a way to apply the tighter formation fix from Improved Bots (Simple) by @Ziggy into this but I don't know how.
4512369781  [developer] 21 Sep, 2024 @ 3:37am 
Originally posted by T626:
@4512369781 Will this also fix the bots pathing? Where they'll stop running in front of you when you're trying to shoots targets from mid-range to long range. It's been irritating me for years how whenever I slow walk through any campaign and I try to take out infected they constantly run in front of me and take friendly fire damage. I've been wanting to find a way to apply the tighter formation fix from Improved Bots (Simple) by @Ziggy into this but I don't know how.
l4b2 not conflict with Improved Bots (Simple), you can use them together.
T626 21 Sep, 2024 @ 6:25am 
@4512369781 Yes I know. I tested them multiple times before to confirm that. The real problem is that Ziggy's mod conflicts with the script mod "Additional Weapon Performance Overhaul (Insane)" which was made by a very good friend of mine, @AxeKiller6277. When the two of them are enabled in me addon inventory browser, despite glowing red and conflicting, they do not cause any game crashes. Instead, @Ziggy's mod causes the modded reserve ammunition of the primary weapon to Not appear as it should, while the current ammo clip of the gun does appear in it as it should.

I've tried multiple times to fix this myself by putting @AxeKiller6277's mod leagues above @Ziggy's in me addon inventory, but no dice. I've tried getting a hold of AxeKiller via email and on the steamworkshop with comments. But he told me that for personal reasons, he's not doing L4D2 mods/modding anymore. So I respected his wishes, and told hi if he ever wants to play Left 4 Dead with me sometime, I'll be happy to oblige. So I then tried to reach out to Ziggy on Twitter/X but despite my attempts, Ziggy never responded back to me. So now, I'm stuck and I don't know how I can fix this. And I could use some help
4512369781  [developer] 21 Sep, 2024 @ 9:01am 
Originally posted by T626:
@4512369781 Yes I know. I tested them multiple times before to confirm that. The real problem is that Ziggy's mod conflicts with the script mod "Additional Weapon Performance Overhaul (Insane)" which was made by a very good friend of mine, @AxeKiller6277. When the two of them are enabled in me addon inventory browser, despite glowing red and conflicting, they do not cause any game crashes. Instead, @Ziggy's mod causes the modded reserve ammunition of the primary weapon to Not appear as it should, while the current ammo clip of the gun does appear in it as it should.

I've tried multiple times to fix this myself by putting @AxeKiller6277's mod leagues above @Ziggy's in me addon inventory, but no dice. I've tried getting a hold of AxeKiller via email and on the steamworkshop with comments. But he told me that for personal reasons, he's not doing L4D2 mods/modding anymore. So I respected his wishes, and told hi if he ever wants to play Left 4 Dead with me sometime, I'll be happy to oblige. So I then tried to reach out to Ziggy on Twitter/X but despite my attempts, Ziggy never responded back to me. So now, I'm stuck and I don't know how I can fix this. And I could use some help

add it in "Left 4 Dead 2\left4dead2\ems\left4bots2\cfg\convars.txt", also check "settings.txt" file, make sure "load_convars = 1".

this is Improved Bots (Simple) used convars, and i made some changes.
"precache_all_survivors", after TLS, not fixed "sb_transition" bug anymore.
"sb_transition", see info_transitioning_player
"sb_allow_shoot_through_survivors", my other mod fixed the camera shake.
"sb_close_threat_range", was 250, bots will focus on one zombie in this range until it's dead.
"sb_escort", was 1, if fighting tank near saferoom, bots will not move.
"sb_sidestep_for_horde", was 1, this should solve bots run in front of you.

// --- SINGLE PLAYER FIXES --- allow_all_bot_survivor_team 1 //precache_all_survivors 1 sb_all_bot_game 1 //sb_transition 0 // --- IMPROVED SURVIVOR BOTS --- //sb_allow_shoot_through_survivors 0 sb_battlestation_give_up_range_from_human 500 sb_battlestation_human_hold_time 2 sb_close_checkpoint_door_interval 0.15 sb_close_threat_range 55 sb_combat_saccade_speed 2000 sb_escort 0 sb_far_hearing_range 2000 sb_follow_stress_factor 1 sb_friend_immobilized_reaction_time_expert 0 sb_friend_immobilized_reaction_time_hard 0 sb_friend_immobilized_reaction_time_normal 0 sb_friend_immobilized_reaction_time_vs 0 sb_hindrance_range 90 sb_locomotion_wait_threshold 2 sb_max_battlestation_range_from_human 200 sb_max_scavenge_separation 300 sb_max_team_melee_weapons 1 sb_melee_approach_victim 0 sb_near_hearing_range 1000 sb_neighbor_range 200 sb_normal_saccade_speed 1000 sb_path_lookahead_range 1000 sb_separation_danger_max_range 360 sb_separation_danger_min_range 120 sb_separation_range 120 sb_sidestep_for_horde 0 sb_temp_health_consider_factor 0.75 sb_threat_close_range 250 sb_threat_far_range 1000 sb_threat_medium_range 500 sb_threat_very_close_range 250 sb_threat_very_far_range 2000 sb_toughness_buffer 40 sb_vomit_blind_time 3
T626 21 Sep, 2024 @ 9:23am 
@4512369781 Okay. I copied and pasted everything that you gave me for "SINGLE PLAYER FIXES" and "IMPROVED SURVIVOR BOTS", and put them into the convars.txt folder. The command "load_convars = 1" was already set to 1 when I checked in the settings.txt folder.

One quick question. I also have these commands in my convars.txt folder:
allow_all_bot_survivor_team 1
sb_all_bot_game 1
sb_enforce_proximity_lookat_timeout 0.0
sb_enforce_proximity_range 10000
sb_locomotion_wait_threshold 0
sb_min_attention_notice_time 0
sb_min_orphan_time_to_cover 0
sb_revive_friend_distance 250
sb_pushscale 4
sb_sidestep_for_horde 1
sb_combat_saccade_speed 2300
sb_friend_immobilized_reaction_time_hard 0
sb_battlestation_human_hold_time 0.25
sb_max_battlestation_range_from_human 200
sb_battlestation_give_up_range_from_human 100
sb_separation_danger_max_range 360
sb_separation_danger_min_range 120
sb_separation_range 120

Should I get rid of these or keep them? I don't know if they'll conflict with the stuff you just gave me.
4512369781  [developer] 21 Sep, 2024 @ 10:07am 
Originally posted by T626:
Should I get rid of these or keep them? I don't know if they'll conflict with the stuff you just gave me.

you can delete the duplicates, or just put your cvars at the end and it will overwrite my content.
T626 21 Sep, 2024 @ 11:07am 
Originally posted by 4512369781:
Originally posted by T626:
Should I get rid of these or keep them? I don't know if they'll conflict with the stuff you just gave me.

you can delete the duplicates, or just put your cvars at the end and it will overwrite my content.
Okay. Thank you so much for your help, mate!!!
< >
Showing 1-12 of 12 comments
Per page: 1530 50