Left 4 Dead 2

Left 4 Dead 2

84 hodnocení
Bot Flame Evasion
   
Ocenit
Přidat do oblíbených
Oblíbeno
Odebrat z oblíbených
Game Content: Scripts, Miscellaneous
Game Modes: Single Player, Co-op
Velikost souboru
Přidáno
Aktualizováno
28.251 KB
20. lis. 2024 v 10.05
28. srp. v 11.51
Poznámky ke změnám (4) – zobrazit

Klikněte na „Odebírat“ pro stažení položky
Bot Flame Evasion

V 1 kolekci od uživatele kurochama
Useful "Side-Dish" Mods (Especially for Bots)
61 položek
Popis
Common Question: "Is it possible to make bots avoid fire from molotov & gascan?"
Common Answer: "Bots can't avoid fire."
Crazy Answer: "Bots can't avoid fire, normally. But with some tricks on vscripts, it's possible to make it happen."

& here it is, a small proof. This mod allows bots to detect flame caused by other survivor very early & decide to stay away from it. The flame entity that bots can avoid are those from molotov, gascan & explosive barrel that other survivor throw/ shoot.

There's only 1 feature available on "bot flame evasion.txt" cfg file:
  1. Flame Evasion: This controls the mode of "Flame Evasion". Mode 1= Forrced Command (bots are forced to avoid flame). Mode 2= Pushback Evasion (bots will be pushed back when they're too close to flame)

Q: "Can bots avoid all flames with this? Like, flames in map 1 of Dead Center?"
A: ""Unfortunately, no. This is only to make them avoid flames from other survivor. Normally it should be possible to make them avoid from flames in a map, but that might need nav block instead, to block bot's navigation. & this might or might not cause another bug."

So, with this mod, you don't need to worry anymore about bots standing still on pool of flame. & this mod also breaks the common beliefs abput how it's impossible to make bots avoid flame. This can also become an example, to motivate other modders to make impossible things on bots possible.

Other mods useful for bots:
  • Bot Acid Evasion: The twin brother of this mod. It makes bots avoid acid early the moment it drops on the ground

  • Capped Fall Damage: Set your own max fall damage, or set it for bots to protect them by reducing or even nullifying fall damage when falling from long ladders.

  • Bot Healing Prevention System: Prevents bots from healing too early by storing the healing items to virtual inventory when bots try to heal.

  • Anti Traps: Nullifies damages from traps in custom campaigns. It can be set to only bots, to protect them from trap damage so they'll live longer.

NOTES:
  • A video preview will be added later.
  • The warped bots when taking friendlyfire damage on the video is not because of this mod, but from other mod.
  • A weaknees of Mode 1: Bots sometimes can run far enough from players, but they'll return in less than 3 seconds after the flame is off. Press "TAB + RELOAD" in case if you want bots to return immediately.
  • A weaknees of Mode 2: In a close room/ area where bots can be cornered, the pushback effect when avoiding flame can trap bots in the corner until the flame is off.
Počet komentářů: 54
Poolsup (TH) před 16 minutami 
firework set on stage have two fire pop out the bot can't walk up and drop down stage
Poolsup (TH) před 17 minutami 
but finale in dark carnival map the stage fire on edge
kurochama  [autor] před 20 minutami 
@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) před 41 minutami 
even explode barrel
Poolsup (TH) před 41 minutami 
but they bot don't avoid fire object not molotov
Bane 4. říj. v 1.53 
Just recently tested this again and now it does not cause problems, thank you
Local coffee enjoyer 12. zář. v 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  [autor] 22. úno. v 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 22. úno. v 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 1. úno. v 19.04 
Esta super :steamthumbsup: