[Release] Auto Windmill Golem

06/11/2011 23:21 fjkljkldsjfkl#1
;) here is a simple xml script that will make your golem windmill monsters.
it only works when a monster attacks your golem.
if you want to make it attack all monsters in range you have to make the golem target itself.


<?xml version="1.0" encoding="utf-16"?>
<aidescdata>
<template>
<var_decl>
<var name="visualfield_radius" default="600" />
<var name="audio_range" default="400" />
</var_decl>
<character/>
<patterns>
<!-- wander -->
<pattern name="wander">
<param_decl>
</param_decl>
<sequence>
<cmd name="prepare_skill" skill_id="22001" try_cnt="3" />
<cmd name="process_skill" target="1" />
<cmd name="wait" min="5000" max="5000" />
<cmd name="cancel_skill" />
</sequence>
</pattern>
</patterns>
<sensor visualfield_radius="600" visualfield_angle="120" audio_range="600" />
<strategy>
<idle type="idle_wander">
<pattern name="wander" />
</idle>
</strategy>
</template>
<definition race="tamed_default" >
<var_def>
<var name="visualfield_radius" value="800" />
<var name="audio_range" value="800" />
</var_def>
</definition>
</aidescdata>

you have to edit your aidescdata_tamed_default.xml in C:\Nexon\Mabinogi\data\db\ai\local
if you don't have it make one and put this script in it.
don't forget to use data packer after that.
06/12/2011 00:11 merlotg#2
where can I get data packer?
06/12/2011 02:26 kotarou3#3
Why do you make the skill cancel after 5 seconds?
06/12/2011 06:03 CoalChris#4
^
But I'm guessing so that if there's an error in the wming calculations, it'll just be bypassed by re-loading wm?
06/12/2011 22:48 razer951#5
Good work!
06/16/2011 05:56 new11111111#6
oh, so how to make the golem target itself. do u have any sample? thanks
06/20/2011 09:31 otherhand#7
Dangit. So much for Synergy, now they'll fix it. Good going, guy. :/
06/20/2011 09:55 kotarou3#8
Quote:
Originally Posted by otherhand View Post
Dangit. So much for Synergy, now they'll fix it. Good going, guy. :/
Uhh, wrong thread? (And wrong section too for that matter?)
07/26/2011 20:10 hkco2007#9
how can it make to auto use Windmill any monster near the Golem?
07/27/2011 05:30 sidneyd#10
Very cool, can't wait to try this out. One of the things that hooked me on Mabi is the AI for pets. I noticed there's some entries I'm not familiar with such as sensor visualfield_radius. Could elements like these be applied to regular pet AI?

Also, since the file being modified is aidescdata_tamed_default.xml, will this affect things other than the golem such as monsters charmed with Taming or Control of Darkness?
08/16/2011 09:42 helohi#11
omg this makes my alchemy so much easier thx alot!
08/18/2011 01:59 cythereaa#12
BLUE WAFFLE