
ImprovedSurvivorAI
Overhauls the behavior of AI-controlled Survivors to make them more competent. Goobo Jr. users rejoice!Details
ImprovedSurvivorAI
For the most part, AI-controlled Survivors are plagued by egregiously low activation ranges, weird skill prioritization and an aversion towards sprinting when it would be appropriate to do so.
This mod rewrites the behavior tree of every single vanilla Survivor in the hopes of rendering them far more competent brawlers. It also grants them full awareness of their enemies' positions, ignoring both angle & line of sight requirements, although they will prioritize targets within line of sight if possible.
Also comes pre-packaged with improvements to the Engineer's mobile turrets; they now always sprint when following you, and their maximum attack range has been improved from 25m to 35m. These changes can be turned off.
This mod indirectly but very noticeably buffs Goobo Jr., so be on the lookout for that :P
Oh, and watch out for the Artifact of Vengeance.
To-do:
- General
- Set up the GitHub.
- Figure out custom targeting. That will be useful for skills that need to be placed on terrain (e.g. Arrow Rain, Snapfreeze) or skills that should just be thrown under the Survivor.
- A way to take into account the number of stocks available for a skill. This will allow for optimal usage of skills like Engineer's Thermal Harpoons.
- Do I really have to program specific cases for Heresy skills on every Survivor? Do I? I don't think so, but leaving this here regardless.
- Specific
- Figure out how to input both Primary & Secondary skills as Power Mode MUL-T. Currently unused for the time being.
- Figure out Meditate on Seeker. Currently unused for the time being.
- Make Artificer hover?
- Incorporate Captain's Supply Beacons into his behavior.
- Heretic's Ruin is currently set to target sufficiently injured targets (< 50% HP) as a band-aid, but it ideally should just take into account the number of Ruin stacks on the target.
- I do not know what the fuck did they do to my boy CHEF, but Roll places it in an infinite charging loop and Yes, CHEF! is straight up unable to override its skills. Is that why its vanilla behavior tree is so abysmal? I will unshackle you some other day.
- Among other things. Stay tuned...
Credits
- Nuxlar & Moffein, for writing helpful and sometimes yoinkable code.
- The denizens of
#development, for answering my questions. (I am forever indebted to you, .score.)
Contact
I am samuel17 on Discord. If you got feedback or bug reports, contact me either through DMs or the Risk of Rain 2 Modding Discord.