Follow/Assist
Posted: Sun Feb 07, 2010 3:33 pm
I had made some changes at my player.lua to let the bot follow a defined char.
The idea is to follow waypoints as usual but use the defined char positions as next waypoint without a waypoint file.
Bot should follow (with a little distance) the char.
First i tried the ingame "follow" function but i found no way where the bot realize if it is following or not
It would work in basics ... ist set the char as target ... set the waypoint with distance (i set only x-10 y-10 could be made better with a defined distance behind the leader) ... and walk to the char
in the profile i set
<!-- new ... not working proper ... follow and target targets target -->
<option name="ASSIST_PLAYER" value="CHAR_TO_ASSIST" />
<option name="AUTO_TARGET" value="false" /><!-- target next enemy automatically -->
<option name="WAYPOINTS" value="" /> <!-- leave empty to show a list -->
<option name="RETURNPATH" value="" />
<option name="PATH_TYPE" value="wander" /> <!-- waypoints | wander -->
<option name="WANDER_RADIUS" value="0" />
<option name="WAYPOINT_DEVIATION" value="0" />
Problems :
sometimes
the bot starts following very late
it wander around but stay near the leader
it would not target targets(leader) target just heal the leader
Is someone interested in further developement ?
The idea is to follow waypoints as usual but use the defined char positions as next waypoint without a waypoint file.
Bot should follow (with a little distance) the char.
First i tried the ingame "follow" function but i found no way where the bot realize if it is following or not
It would work in basics ... ist set the char as target ... set the waypoint with distance (i set only x-10 y-10 could be made better with a defined distance behind the leader) ... and walk to the char
in the profile i set
<!-- new ... not working proper ... follow and target targets target -->
<option name="ASSIST_PLAYER" value="CHAR_TO_ASSIST" />
<option name="AUTO_TARGET" value="false" /><!-- target next enemy automatically -->
<option name="WAYPOINTS" value="" /> <!-- leave empty to show a list -->
<option name="RETURNPATH" value="" />
<option name="PATH_TYPE" value="wander" /> <!-- waypoints | wander -->
<option name="WANDER_RADIUS" value="0" />
<option name="WAYPOINT_DEVIATION" value="0" />
Problems :
sometimes
the bot starts following very late
it wander around but stay near the leader
it would not target targets(leader) target just heal the leader
Is someone interested in further developement ?