Left 4 Dead 2

Left 4 Dead 2

86 rating
Bot Flame Evasion
   
Penghargaan
Favorit
Difavoritkan
Batalkan favorit
Game Content: Scripts, Miscellaneous
Game Modes: Single Player, Co-op
Ukuran File
Diposting
Diperbarui
31.652 KB
20 Nov 2024 @ 10:05am
27 Okt @ 7:08pm
5 Catatan Perubahan ( lihat )

Berlangganan untuk mengunduh
Bot Flame Evasion

Dalam koleksi 1 dari kurochama
Useful "Side-Dish" Mods (Especially for Bots)
Item 61
Deskripsi
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 "♥♥♥ 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 ♥♥♥'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:
  • ♥♥♥ 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.

  • ♥♥♥ 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.
62 Komentar
kurochama  [pembuat] 13 jam yang lalu 
@ 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) 27 Okt @ 5:17am 
i'said look in finale on dark carnival map about fireline stage/firework stage ignore custom campaign
kurochama  [pembuat] 27 Okt @ 12:27am 
@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) 27 Okt @ 12:13am 
and another one the fire barrel the bot got stuck into fire barrel start taking damage slowing
Poolsup (TH) 27 Okt @ 12:10am 
and second phase the firework pop up on middle stage mic the bot near to middle
Poolsup (TH) 27 Okt @ 12:09am 
on first phase
Poolsup (TH) 27 Okt @ 12:09am 
i'saw bot walk into fireline on stage is stop moving
kurochama  [pembuat] 26 Okt @ 11:07pm 
@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) 26 Okt @ 10:06pm 
firework set on stage have two fire pop out the bot can't walk up and drop down stage
Poolsup (TH) 26 Okt @ 10:05pm 
but finale in dark carnival map the stage fire on edge