Skip to content
xanunderscore edited this page Feb 11, 2025 · 2 revisions

AI is dead, long live AI

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.

User guide: creating an AI preset

  • 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.

image

User guide: customizing AI preset

  • 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 the Automatic targeting module in a preset, changing Targeting option to EnemyWithHighestPriority, and then selecting HighestCurHP 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 in General strategy to the one that allows pulling (either only when player is out of combat, or aggressively whenever any new untagged mobs appear)

User guide: adding AI to a plan

  • 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

Developer guide

  • 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!