Left 4 Dead 2

Left 4 Dead 2

Bot AI Improvements
 Tämä aihe on kiinnitetty, joten se on todennäköisesti tärkeä
T-Rizzle  [kehittäjä] 20.9.2022 klo 6.03
Suggestions
Have any features you want to see on this addon. Suggest them here and I will try to add them.
< >
Näytetään 1-15 / 79 kommentista
After playing a bit, I noticed bots will try crouching and taking potshots during gauntlet events like the Coaster. Adding a "minimum distance to human" condition for crouching might help them keep up again.
Another edge case is they sometimes crouch in front of Tanks.
T-Rizzle  [kehittäjä] 20.9.2022 klo 13.35 
sans shapiro lähetti viestin:
After playing a bit, I noticed bots will try crouching and taking potshots during gauntlet events like the Coaster. Adding a "minimum distance to human" condition for crouching might help them keep up again.
Another edge case is they sometimes crouch in front of Tanks.
1. That is possible, I just need to figure out a fail safe incase the team is made of only bots, Ex. “all human players are dead.”
2. I think I know why this is happening, bots only crouch if three variables are true. First check if the common infected target is not too far away, Second check if the common infected target is not too close, Third and final, check for active threats. The check for active threats stop bots from crouching when they can’t see common infected, but if they see an special infected they check the COMMON INFECTED’S distance and not the special infected’s distance. I can fix this with a function that checks if a tank is nearby along with other special infected.
T-Rizzle  [kehittäjä] 20.9.2022 klo 17.51 
sans shapiro lähetti viestin:
After playing a bit, I noticed bots will try crouching and taking potshots during gauntlet events like the Coaster. Adding a "minimum distance to human" condition for crouching might help them keep up again.
Another edge case is they sometimes crouch in front of Tanks.
Done, let me know how the update goes. I did some testing before posting it and everything looked good.
The update does seem to make them expert-viable again after playing a few chapters now that they can keep pace. but I didn't see much difference in crouching during Tank fights, unfortunately (Imgur:gZLzu5r for the last one i had). Only other issue I encountered is bots crouch-walking through Spitter goo, but overall the update is good.
+ Make bots shove more often if any infected get close
+ If a bots got smoked, make its focus on killing the smoker (TONGUE TWISTER)
+ Try to make all bots pickup magnum than pistol (Ellis for example)
+ Dodge Charger (if you can :steamhappy:)
T-Rizzle  [kehittäjä] 13.10.2022 klo 12.54 
Duy Trịnh lähetti viestin:
+ Make bots shove more often if any infected get close
+ If a bots got smoked, make its focus on killing the smoker (TONGUE TWISTER)
+ Try to make all bots pickup magnum than pistol (Ellis for example)
+ Dodge Charger (if you can :steamhappy:)
1. sb_close_threat_range tells the bot to focus on the one zombie that enters this range if you set it to 0 it should allow the bot to change targets as much as it wants and this causes the bot to shove more often.

2. I will be implementing this, it should hopefully be in the next update

3. I don’t know how to do that, but you can use Left4Bots and force Ellis and Zoey bots to pick it up by looking at the magnum and then type in the chat Ellis use or Zoey use

4. Doesn’t look very possible but, I will see what I can do.
Viimeisin muokkaaja on T-Rizzle; 13.10.2022 klo 14.08
tom 15.10.2022 klo 7.36 
r u able to make the bots go on the turrent thingy (idk whats it called)
T-Rizzle  [kehittäjä] 15.10.2022 klo 8.06 
meow lähetti viestin:
r u able to make the bots go on the turrent thingy (idk whats it called)
The mounted guns? It’s not as easy as you think it is, but I can attempt to get bots to use it on their own. Once I release the next update. I will start working on it and let you know how it goes.
make bots shove after they shoot with the T1 Shotguns and also for bolt css weapons like the sniper ones
Viimeisin muokkaaja on Typical; 17.10.2022 klo 7.45
T-Rizzle  [kehittäjä] 17.10.2022 klo 16.21 
Typical lähetti viestin:
make bots shove after they shoot with the T1 Shotguns and also for bolt css weapons like the sniper ones
I think this is possible, I will try to make it after I release the update that allows this addon to make it more customizable and allow players to edit the script rethink rate.
tom 17.10.2022 klo 20.55 
-make the bots shoot any explosive items, gas can, fireworks box etc. if the soecial infected is in the sperfec radius in the item hitbox then the bot will shoot it if its in the circle in the radius

-carry objects e.g gas can, explosive gas, if the bots cant find/have any moly or pipe bomb, the bots will throw at the zombies and shoot at the can.
You could add some more cvars to disable some of the bots abilities, like have an option to disable the bots to deadstop hunters and jockeys
T-Rizzle  [kehittäjä] 18.10.2022 klo 21.19 
Typical lähetti viestin:
You could add some more cvars to disable some of the bots abilities, like have an option to disable the bots to deadstop hunters and jockeys
I will see what I can do
TBK Duy 19.10.2022 klo 19.18 
Does this mod have "Target priority" yet, I want the bots focus on dealing with SI first if they are on the ideal range rather than common infected

si_focus_range = 500 for example (if any SI get close to this range, the bots immediately focus on killing that SI with forced attack button method)

Also can you give an option to adjust how many bots can use melee (I might want none since I have bots pickup magnum)
Viimeisin muokkaaja on TBK Duy; 19.10.2022 klo 19.31
Typical 19.10.2022 klo 19.42 
Could you make bots to wait the shotguns to reload? since it basically renders them useless when they are in a horde mob event, because of that they always spam the attack button while they are reloading the shotgun and they take a long time to kill the zombies.
Viimeisin muokkaaja on Typical; 19.10.2022 klo 19.43
< >
Näytetään 1-15 / 79 kommentista
Sivua kohden: 1530 50