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: http://steamcommunity.com/sharedfiles/filedetails/?id=523638132.
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.
(3 votes)
Name | Module Version Required | Released | File |
---|---|---|---|
Player AI v1.7 | 1.5.10 | 2022-03-01 11:30 |
tome-player-ai.teaa |
Player AI v1.6.2 | 1.5.10 | 2020-09-12 12:48 |
tome-player-ai.teaa |
Player AI v1.6.1 | 1.5.10 | 2019-03-28 09:48 |
tome-player-ai.teaa |
Player AI v1.6 | 1.5.10 | 2019-03-08 23:39 |
tome-player-ai.teaa |
Player AI v1.5.1 | 1.3.1 | 2015-10-16 20:41 |
tome-player-ai.teaa |
Player v1.5 | 1.3.1 | 2015-10-15 22:18 |
tome-player-ai.teaa |
Player AI v1.4 | 1.3.1 | 2015-10-15 05:12 |
tome-player-ai.teaa |
Player AI v1.3 | 1.3.1 | 2015-10-14 00:30 |
tome-player-ai.teaa |
Player AI v1.2 | 1.3.1 | 2015-10-09 03:48 |
tome-player-ai.teaa |
Player AI v1.1 | 1.3.1 | 2015-09-26 03:07 |
tome-player-ai.teaa |
Feature suggestion
Hi!
It would be cool if we could use the actions bar to "program" the AI. For example, maybe actions 1 through 10 are combat actions that the AI should use. Maybe the AI prioritizes left to right, or something like that, so that I can order skills in a way that makes sense, combat-wise. Maybe SHFT 1 through SHFT 10 are sustains that the AI should keep up. Things like that.
One major advantage is that I could make sure some skills are NEVER used: Some escape skills, for example, but also some useless skills/sustains that are just too weak, etc.
Anyway, just an idea. Thanks for the add-on!
F
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.
Suggestions
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!