Left 4 Dead 2

Left 4 Dead 2

Bot Flame Evasion
72 条留言
Poolsup (TH) 8 小时以前 
they floating in mid air start clip through
Poolsup (TH) 8 小时以前 
bot dosen't jump is warp clip through wall
Poolsup (TH) 8 小时以前 
was clip through wall
Poolsup (TH) 8 小时以前 
but is floating in air stickly in corner
kurochama  [作者] 8 小时以前 
@ Poolsup (TH) , sometimes that happens in areas where survivors can't jump, like vents or small caves, but normally they'll only get pushed back.
Poolsup (TH) 10 小时以前 
but i'something bug that bot they move in corner and they bot clip through wall or floor
kurochama  [作者] 10 小时以前 
@Poolsup (TH) , read the "Notes" on the description on "weakness of Mode 2".
Poolsup (TH) 11 小时以前 
on mode 2 pushback
Poolsup (TH) 11 小时以前 
soon stand in corner
Poolsup (TH) 11 小时以前 
hmm something bug the bot move clip through floor or out the map some reason
kurochama  [作者] 10 月 27 日 下午 7:11 
@ Poolsup (TH) , I just updated. Now bots can avoid from fireworkcrate explosion. However, they still can't avoid the fireworks on the Dark Carnival Stage. Probably I'll check the entity for firework on the stage later, as it's different from the one from fireworkcrate.
Poolsup (TH) 10 月 27 日 上午 5:17 
i'said look in finale on dark carnival map about fireline stage/firework stage ignore custom campaign
kurochama  [作者] 10 月 27 日 上午 12:27 
@Poolsup (TH) , as I said before, firework uses different fire type, so bots can't detect it. As for fire barrel, they can detect it as long as it's exploded because of a survivor. I tested just recently in some custom campaigns with many fire barrels & they're pushed back when they're too close to the fire. If you want to test, try "Alien Trilogy" campaign, as that one has many fire barrels even in 1st map. Probably I'll do some tests again soon, especially to check the fire type on fireworkcrate.
Poolsup (TH) 10 月 27 日 上午 12:13 
and another one the fire barrel the bot got stuck into fire barrel start taking damage slowing
Poolsup (TH) 10 月 27 日 上午 12:10 
and second phase the firework pop up on middle stage mic the bot near to middle
Poolsup (TH) 10 月 27 日 上午 12:09 
on first phase
Poolsup (TH) 10 月 27 日 上午 12:09 
i'saw bot walk into fireline on stage is stop moving
kurochama  [作者] 10 月 26 日 下午 11:07 
@Poolsup (TH) , firework is an exception. Bots only avoid flame covered the ground, but not the firework. Firework has different entity from the flame caused by molotov, gascan & explosive barrel so that's why bots can't detect it. There might be some tricks to make them avoid fireworks caused by exploding a fireworkcrate, but probably it might cause some small bugs.
Poolsup (TH) 10 月 26 日 下午 10:06 
firework set on stage have two fire pop out the bot can't walk up and drop down stage
Poolsup (TH) 10 月 26 日 下午 10:05 
but finale in dark carnival map the stage fire on edge
kurochama  [作者] 10 月 26 日 下午 10:02 
@Poolsup (TH) , they can avoid it, as long as the culprit blowing up the barrel is another survivor. They just can't detect flame that comes from a map, like for example, map 1 of Dead Center.
Poolsup (TH) 10 月 26 日 下午 9:41 
even explode barrel
Poolsup (TH) 10 月 26 日 下午 9:41 
but they bot don't avoid fire object not molotov
Bane 10 月 4 日 上午 1:53 
Just recently tested this again and now it does not cause problems, thank you
Yorukaze 9 月 12 日 上午 7:59 
Honestly, it would be great if someone figured out to make the bots dodge before the rock is thrown so they can avoid rock in close range aswell.
kurochama  [作者] 2 月 22 日 上午 5:45 
@Jakiy , to avoid tank, there's "BOT_CMD_RETREAT" bot command to order bots to avoid tank. But this command alone can't prevent bots from reviving incapped survivor when tank is still nearby. The solution to prevent them from reviving the incapped would be either blocking their nav around the incapped survivor temporarily, or use a bot command "BOT_CMD_MOVE" to force them to retreat. Btw, I think L4B2 already has this solution on the latest update, by blocking bot's nav on incapped survivor. You can check there.
As for avoiding rock throw, it's a bit tricky, but it should be possible by either making bots change the running direction once the rock is thrown, or simply just making them run far enough till they're out of the rock throw range.
Jakiy 2 月 22 日 上午 4:41 
Is it possible to make the bots avoid the tank and its rock throw? Especially when a player get incap, they will try to revive no matter what.
maiaterix 2 月 1 日 下午 7:04 
Esta super :steamthumbsup:
kurochama  [作者] 1 月 4 日 下午 5:19 
@CaptPatrick01 , use mode 2 then. Mode 1 sometimes makes bots run to the other side of the fires (that's why it looks like they're running into the fires). As for mode 2, bots will be pushed back, away from fire. I used mode 2 quite often when testing regularly, & I think bots have better evasion on mode 2. For mode 1, probably I'll try to alter the running directions so they won't run to the other side of fire.
CaptPatrick01 1 月 4 日 下午 4:56 
They've been running from molotov fires, but for some reason this mod is making them run _towards_ gas can and explosive barrel fires.
kurochama  [作者] 2024 年 12 月 20 日 下午 12:56 
@Wenda , mode 2 uses pushback, so it depends on the area where there's fire. If the area is wide enough, bots will be pushed away from the fire, but if it's in a small room where the fire covers almost the whole room, they will be pushed to the corner & trapped there. I explained this weakness on the "notes" on the description. But based on my tests in several custom campaigns, mode 2 gives more chance to avoid fire than mode 1, as mode 2 is active instantly when bots detect fire caused by other survivor's molotov or gascan.
I STAPLE TAPEWORMS ON MY 2024 年 12 月 20 日 下午 12:02 
mode 2 seems to still have the same issue, except they teleport through to the other side rather than walk. they also seem to just stand there more often
I STAPLE TAPEWORMS ON MY 2024 年 12 月 18 日 上午 9:03 
i switched to 2 after
kurochama  [作者] 2024 年 12 月 18 日 上午 8:56 
@Wenda , did you use mode 1? Sometimes bots do that on mode 1. Mode 2 (pushback) should be safer for bots as they just get pushed back away from the fire.
I STAPLE TAPEWORMS ON MY 2024 年 12 月 18 日 上午 8:29 
im having an issue with this where, bots will be at the edge of the fire and take damage but will then run through the fire to escape through the other side.
Doc903 2024 年 12 月 9 日 下午 6:31 
Ah, yeah, I could see that being a big performance drop.
kurochama  [作者] 2024 年 12 月 9 日 下午 5:37 
@Darko , thanks. I'm glad that you like this mod.

@Doc903 , this may require nax block, to block common infected. It should be possible to be made, but this will spawn a nav block entity anytime flame is triggered by a survivor via molotov of shooting a gascan/ barrel, & that might cause a problem when the entity limit is reached.
Doc903 2024 年 12 月 9 日 下午 5:30 
Can this be done to infected, too? Imagine the infected re-routing to avoid a molotov chokepoint.
Darko 2024 年 12 月 7 日 上午 11:22 
Awesome mod. Instant favorite. A must-have add-on for singleplayer.

Though in my experience it has a 10% chance of failure. Fore example, after a holdout event Francis got incapped and I accidentally shot a gascan nearby and then Zoey and Louis rushed towards him to save him, the three of them dying in seconds [Expert difficulty]. At that moment I was experimenting with Left 4 Bots 2 + Competitive Bots. I tried to test that again multiple times by incapping myself after throwing a molotov in the middle to see if they crossed the fire; thankfully they did not. I also tested it with Left 4 Bots 2 + Cruel Bots and no issue.
kurochama  [作者] 2024 年 11 月 30 日 下午 10:43 
@Bane , here's the video for "Dead Vacation" finale, with "Bot Flame Evasion": https://www.youtube.com/watch?v=26qYrDFDPzM&feature=youtu.be
You can check at minute 1:40 to see how I threw molotov & bots avioided with auto pushback (mode 2). & mods I used:
- Merciless Bots
- Item Drop Bonus
- Item Randomizer
- Bot Acid Evasion
- Bot Flame Evasion
- Ak47 Paladin
- Rifle with M203
- Mp5 with Smoke GL
- Fullblast Autoshotgun
- Desperado Dual Pistols
- Funny Guns
- Gun Collectors Lite
- Demolition Gunners
- Survivor Item Swap & Drop
- Celestial Melee Weapons
- Sentry Floating Turret
- Etc (there were around 30 script mods active, too many to mention all here)
Even with all those script mods, this "Bot Flame Evasion" worked with normal finale. So, probably there's one or some of your mods that messed with other vscript files & caused the bugged finale. You can try "reverse search" for that.
kurochama  [作者] 2024 年 11 月 30 日 下午 7:52 
@Bane , btw could you send me the workshop link for "Dead Resort"? I tried to find it via google but I could only find "Last Resort". The closer one I could think of is "Dead Vacation", as that also has a finale where some parts of the building crumble & collapses. If that's the campaign, probably I can also test a play on last 2 maps, just to check whether the bug will also happen to my play or not.
kurochama  [作者] 2024 年 11 月 30 日 下午 7:14 
@Bane , it's very strange as I just finished playing "Disturbed in the Suburb" from the beginning till the finale with this mod enabled, & the finale was normal. If only I could see the list of mods you were using when that bug happened, probably I could also search the source of the bug in a reverse way, like, instead of disabling this mod, I'll try to disable other mods one by one, or every 10-20 mods to save time until I get the problematic ones & then I'll check the vscript files inside. At least that's the method I'd do. Anyway, actually I also ever met such bug few years ago when I messed with vscript files other than "director_base", "mapspawn", & "scriptedmode". So my suspicion would be some mods that messed with other vscript files.
Bane 2024 年 11 月 30 日 下午 6:51 
Unfortunately it's still causing issues, in particular the rescue vehicle often arrives during the 2nd tank fight. Sometimes the tank music will just stop for no reason. Other times it starts the post tank wave of zombies during the first tank fight. As soon as I remove the addon it goes back to normal. This is deadly in campaigns like Dead Resort as the building collapses as soon as the rescue vehicle arrives killing you if you are still fighting
kurochama  [作者] 2024 年 11 月 27 日 下午 6:46 
@Bane , so now it worked in your play? It's good to hear that. Probably the main cause was the script that I had put on "director_base_addon.nut" before.
Bane 2024 年 11 月 27 日 下午 6:10 
I think it is better now, I played 3 campaigns without any issue
TBK Duy 2024 年 11 月 26 日 下午 9:18 
Thank you, but i'd still prefer a mod because i'm super lazy :steamhappy:
kurochama  [作者] 2024 年 11 月 26 日 下午 9:10 
@TBK Duy , you can try "Anti Traps" now, as I updated value no. 0.5.
kurochama  [作者] 2024 年 11 月 26 日 下午 8:21 
@TBK Duy , writing alias on console is actually simple enough. For example, you only need to write 3 lines like this on console to bind "v" key as toggle on/ off for hold button on USE:
alias "touch+" "+use; bind v touch-"
alias "touch-" "-use; bind v touch+"
bind "v" "touch+"

You can keep the format of these 3 lines on a notepad or phone notepad, so anytime you play at cyber game, you can set your hold button. As for the mod version, it might need a timer function, or some event functions related to pressing USE button.
TBK Duy 2024 年 11 月 26 日 下午 8:00 
Well i'd like to have my friends or randoms to enable it as well, so i think a mod would be more suitable. Also, i'm not at home gaming PC often, so when i go to cyber game i have to do bunch of stuff to install sourcemod. A workshop mod is sure helpful saving a lot of time
kurochama  [作者] 2024 年 11 月 26 日 下午 7:44 
@Bane , I just updated the mod with "IncludeScript" instead. You can test it again. It should no longer cause conflict or trigger bugs, as most of script mods also use "IncludeScript" on "director_base_addon.nut". Let me know theresult.

@TBK Duy , did you mean holding button like holding E button when pressing some generator buttons etc? I think this can be done with "alias" command on console, so there's no need to use a mod. It can be made via mod too, in fact, as there's a netprops to force a button on a survivor.