Page 1 of 1

Follow/Assist

Posted: Sun Feb 07, 2010 3:33 pm
by askme
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 ?

Re: Follow/Assist

Posted: Mon Mar 08, 2010 8:43 am
by rock5
There has been more than 1 post showing an interest in teaming bots so I suspect there would be a few people interest in this feature, if you can make it work.

I get the impression, though, that the dev is not keen in implementing such a feature himself but maybe he will support it if you work out the code for him?