-
Notifications
You must be signed in to change notification settings - Fork 120
AI Migration guide
xanunderscore edited this page Feb 11, 2025
·
2 revisions
Old AI mode is now replaced with a better, much more flexible alternative. This guide will help you adapt to the changes, and provide some guidance on how settings can now be further customized.
Fundamentally, everything that was done by AI before is now done by specialized rotation modules. You can add them to your presets, or even cooldown plans for automating movement in complex content.
- Go to preset config page (
/vbm
-> Autorotation Presets tab) - Select your favourite one and press 'Save as copy', or just create 'New' one from scratch
- In addition to your standard rotation modules and their configuration, add two more modules:
- AI -> Automatic targeting; don't worry about any strategies
- AI -> Automatic movement; add
Destination
strategy
- Give appropriate name to the new preset and hit Save
That's it - now you can select your new preset as usual (DTR bar, autorotation window, slash commands, ipcs) and it will perform everything old AI did.
- One thing you might want to do is, for trash in dungeons, automatically target enemy with highest remaining hp (so that enemies are aoed together efficiently). You can do that by adding new
General
strategy to theAutomatic targeting
module in a preset, changing Targeting option toEnemyWithHighestPriority
, and then selectingHighestCurHP
criterion - Another thing you might want is to only have vbm move, but select targets manually - just delete (or select passive strategy) in
Automatic targeting
module - You might want to automatically pull mobs in FATEs for simpler farming - just add FATE strategy to the
Automatic targeting
module, and change the option inGeneral
strategy to the one that allows pulling (either only when player is out of combat, or aggressively whenever any new untagged mobs appear)
- Open your plan and add
Automatic movement
module - Add entries as needed - you can use pathfinding for some parts of fights, for others you might specify explicit positions (eg when there's some prepos enforced by your group), you can select options for melee greed and slidecasting, etc etc etc
- There were no IPCs that were AI specific, but you might have interacted with AI by changing configuration options explicitly; AIConfig class with all its options is now removed
- To enable or disable AI, it is recommended to create a custom preset and package it with your plugin, then use IPCs to create/update/activate/deactivate it as needed.
- Existing preset can also be modified by using IPC to add transient strategy tracks, this might be simpler than creating one preset per permutation of configurations that you expose
- If some feature that you need is missing, shout in discord!