Hi, this guide is about configuring your User AI script for your homunculus, preferably MirAI homunculus AI because we will be using MirAI control panel. I’m not sure if the control panel works for other types of configs of Homunculus AI like Rampage and etc.
Step 1: Make sure you already have
MirAI homunculus AI Script in your
Ragnarok\AI\USER_AI Folder, preferably Version 1.2 or Later. You can download the MirAI script here:
MirAI ScriptStep2: Download and Install MirAI Control Panel (mirai_cp_setup.exe) in your USER_AI folder
Note: MirAI Homunculus AI script is not included in the Mirai_Cp_Setup.exe



Step 3: After Installation open the config.exe inside the USER_AI folder. (It should look like the Icon below, and ignore the other folders inside my USER_AI folder if it does not exist in yours/wah kung anu anu kasi na AI ung tinry ko dati and ndi ko na nadelete /heh )
Step 4: Configure the AI

As you can see, I set the
Attack when HPs > and Evade when HP < configuration to 0% so the homunculus will attack/use skill no matter how much HP it has.
Another thing, when using Vanilmirth, I prefer enabling the
Don’t Move Option so that the Vanil won’t dive to the enemy. Another advantage of enabling that option is that, when you are in PVP, instead of you taking the damage, the opposing player will be attacking the homunculus instead of you if he/she is not careful enough when clicking your character (This happens to me almost everytime, other players happen to target my homunculus instead of me because enabling the option makes the homunculus stand at the same cell your character is at. It’s a very good life saver /heh).
The
Switch target on battle, to go to help the owner Option sets the homunculus to automatically switch to the enemy you are attacking.
The Right part of the Control Panel sets the minimum amount of SP the homunculus will try to use its skill and at what level of the skill will it use. I prefer setting the minimum SP to 0 so that the homunculus will try use the skill no matter how much SP is left.
Next: Click on the
Extra Tab on the uppe right part of the Control Panel to set the Distance and at what rate will the homunculus will use its Skill

The default value for the
Max enemy distance from the alchemist is 14, though I prefer setting it to 8 because I think 14 cells is way too far to be able to use homunculus skills.
The
Max time for skills (ms) Option sets the rate on how often the homunculus will use the skill. When using vanilmirth, I prefer setting it to the lowest value so that the homunculus will try to cast Caprice as soon as the casting-delay of the skill is finished (note: setting it to lower than the casting-delay of the skill does not change the default casting-delay of the skill,
unless the homunculus is affected by bragi’s poem <- I’m not sure if homunculus is affected by bragi, though I think it is affected )
Always remember to check the
Follow the alchemist at once Option so that the homunculus will not get behind and will try to be at the same Cell your character is standing.
Lastly, Click the Save Configuration Button :) Recon, and don't forget to type /HOAI . The homun should now be able to use skills on its own.
************************************************************
Hope this helps those who want to configure their Homunculus AI…
If somethings are unclear or something is wrong with my guide, just post your questions, comments and suggestion, it will greatly be appreciated /heh
NOTE: Guide Posted Above is my rough draft and might and probably be subject to change /sry. I’ll edit this and post the download links if I have time /swtEDIT: Added Download Links for MirAI Script and MirAI Control Panel