Player AI

Player AI

Adds a keybind to activate the new player AI. Set to Alt+F1 by default.
This player AI rests, auto-explores, and attacks enemies.
It will clear an entire floor or stop when it hits 1/4 health in the presence of enemies.
Future versions may add configurations.

This description seems to vanish when I put too much text in it, so view the feature list and changelog on the steam version here:

Note for Developers: This addon superwrites Player:act(), so if your addon also touches Player:act() change the load order so that the Player AI addon loads last.

Player AI forum discussion thread
Player AI on Steam's Workshop
See addon usage in the character's vault.
Your rating: None Average: 5 (2 votes)
Name Module Version Required Released File
Player AI v1.5.1 1.3.1 2015-10-16 20:41
Player v1.5 1.3.1 2015-10-15 22:18
Player AI v1.4 1.3.1 2015-10-15 05:12
Player AI v1.3 1.3.1 2015-10-14 00:30
Player AI v1.2 1.3.1 2015-10-09 03:48
Player AI v1.1 1.3.1 2015-09-26 03:07
Player AI v1.0 1.3.1 2015-09-24 03:48

Bug Report

Your character can sometimes get stuck on an endless loop between level entrance and exit.

Open a menu.

I have found that when you get looped between entrance and exit, if you mash any button that brings up a menu and leave the menu open, the AI will disable the next time it reaches an entrance or exit.


Hey, I really like this mod. Nice work. I have some suggestions:

- Disabling the AI is very hit and miss. It seems like I can't disable it most of the time.
- 1/4 health is often too low. Is there a way to add some kind of settings control to let that be higher? Otherwise I would suggest making that 1/3 or even 1/2.
- The ability to auto-use some skills in some circumstances would be really good, such as letting a solipsist use mind blast as their primary attack.

To change health threshold.

If you want to change the health threshold, open the addon zip, go to the superload\mod\class folder and open Player.lua. Navigate to local function lowHealth. In the first if statement condition, change the 4 to a 3 if you want it to stop at 1/3 health, or a 2 if you want it to stop at 1/2.

I definitely had to do this myself as what seems to always happen while using the AI is that it auto stops with me surrounded by enemies, with very low health, and almost everything on cool-down. Sometimes I even am killed before the AI manages to stop.

Re: Suggestions

Hey j0ren,

Yes, I have noted those problems as well. Disabling the AI basically doesn't work because it's running inside Player:act() so there's no window of opportunity to accept hotkey presses. I haven't found a fix for that yet.

I do plan to make parts of the AI configurable at some point, and the cancel health value is definitely the top priority setting. I've only been working on this addon for about a week though, so there's just very little actually completed at this point.

Talent use is actually the next feature I'm working on right now. The v1.2 build already can activate sustained abilities, but I want to pack some more changes in before I release it.

Thanks for the feedback!