Left 4 Dead 2

Left 4 Dead 2

Left 4 Bots 2
보고 2024 年 12 月 12 日 下午 7:23
In a custom addon map, when you go down an elevator, a bot teleports.
It's not like there's a bot involved, and you can just stand there and kill zombies, but then it suddenly teleports and goes down there and eventually dies. Is there a way to prevent the bot from teleporting at all?
最后由 보고 编辑于; 2024 年 12 月 12 日 下午 7:37
< >
正在显示第 1 - 15 条,共 15 条留言
76561198960574500 2024 年 12 月 12 日 下午 10:47 
The same issue
76561198960574500 2024 年 12 月 12 日 下午 10:48 
Bots I won't use teleports from elevator please copy your files
https://www.reddit.com/r/l4d2/comments/1bvhadf/a_guide_to_smarter_bots_in_left_4_dead_2/
보고 2024 年 12 月 13 日 上午 3:57 
@7656119860574500
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2782400161
Among the mods you sent me with the link,
I tried this mod and
when riding the elevator,
survivors really stopped teleporting out of nowhere.

It's a really good feature,
but there are also some unrealistic features that I don't like,
like being able to crawl when you're down and your health is low,
or being able to quickly raise up a survivor who's down in a few seconds.

Can you tell me what the code for the feature that prevents teleporting is?
보고 2024 年 12 月 13 日 上午 3:58 
I plan on removing all features except the one that prevents teleportation.
4512369781  [开发者] 2024 年 12 月 13 日 上午 5:43 
add "sb_enforce_proximity_range 99999" to the "left4bots2/cfg/convars.txt" file.
보고 2024 年 12 月 13 日 下午 6:47 
@4512369781 I'm asking because it doesn't work even though I put in that code.
보고 2024 年 12 月 13 日 下午 7:09 
I just figured out the cause.
It was because I wrote the command
sb_allow_leading 1
in convars.

I always didn't enjoy having bots behind me,
so I liked the situation where bots went in front of me and led me,
so I wrote this command.
Strangely,
when I wrote this command, when I couldn't go forward,
I discovered that I would teleport..

It's really unfortunate that I can't use this feature because of this phenomenon,
but I can't help it..
4512369781  [开发者] 2024 年 12 月 13 日 下午 7:24 
引用自 게영남
when I wrote this command, when I couldn't go forward,
I discovered that I would teleport..
you mean you teleported, not the bots?
보고 2024 年 12 月 13 日 下午 7:38 
@4512369781
It's not that I teleport, but I wrote the sb_allow_leading 1 command in the convars.txt file, and when I played a custom addon map, I found that if there was a section where the bot couldn't move while moving forward, it would teleport right away.

I was playing the map 'MILITARY INDUSTRIAL COMPLEX V11', and I got on the elevator with the bots, and I found that the bots suddenly teleported forward, got out of the elevator, and fell to my death, so I decided not to use that command anymore.
4512369781  [开发者] 2024 年 12 月 13 日 下午 8:20 
引用自 게영남
@4512369781
It's not that I teleport, but I wrote the sb_allow_leading 1 command in the convars.txt file, and when I played a custom addon map, I found that if there was a section where the bot couldn't move while moving forward, it would teleport right away.

I was playing the map 'MILITARY INDUSTRIAL COMPLEX V11', and I got on the elevator with the bots, and I found that the bots suddenly teleported forward, got out of the elevator, and fell to my death, so I decided not to use that command anymore.
oh, i see, because the game prevents bots stuck in somewhere by default, so you need add "sb_unstick 0" in "convars.txt" file.
보고 2024 年 12 月 14 日 上午 12:54 
Ok, thank you so much for this useful tip.

I have one more question.

Is it possible to modify how the bot behaves when a tank spawns by adding a file called ontank.txt,

but can I also add a file like this:
onwitch when a witch appears?
보고 2024 年 12 月 14 日 上午 1:06 
Oh I tried the command you told me and now the bots don't teleport anymore, thank you
4512369781  [开发者] 2024 年 12 月 14 日 上午 4:31 
引用自 게영남
Ok, thank you so much for this useful tip.

I have one more question.

Is it possible to modify how the bot behaves when a tank spawns by adding a file called ontank.txt,

but can I also add a file like this:
onwitch when a witch appears?

yes, you can change the settings and convars when tank spawned, need created the "ontank_settings.txt" and "ontank_convars.txt" file manually.

no, not made this function for witch.
보고 2024 年 12 月 15 日 下午 10:46 
@4512369781
First, I tried using the command sb_unstick 0 that you mentioned, and it was good because the bot no longer teleports behind walls when moving forward, but I found that when the bot gets stuck somewhere while moving, it stops there and does nothing.

Is there no function to disable the teleportation function only when the bot is in the lead?
4512369781  [开发者] 2024 年 12 月 16 日 上午 2:47 
引用自 게영남
@4512369781
First, I tried using the command sb_unstick 0 that you mentioned, and it was good because the bot no longer teleports behind walls when moving forward, but I found that when the bot gets stuck somewhere while moving, it stops there and does nothing.

Is there no function to disable the teleportation function only when the bot is in the lead?

no, but you can use the "warp" command, like "bots warp" or "nick warp".
ADDON COMMANDS[github.com]
< >
正在显示第 1 - 15 条,共 15 条留言
每页显示数: 1530 50