More 'human' movement

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
imaginethat
Posts: 61
Joined: Sun Jul 10, 2011 10:39 pm

More 'human' movement

#1 Post by imaginethat »

Hi
I am looking for some feedback, thoughts, suggestions on a tweak I have made to the way the bot moves around.

I have been a bit conscious of the way the bot runs around from waypoint to waypoint, as it looks a bit artificial when QUICK_TURN is set to false. Obviously the bot spends time changing its facing before moving in the desired direction, so the bigger the direction change, the bigger the pause at the waypoint. This looks really artificial compared to the way 'humans' run around with constant motion changing direction without any pausing.

So just change QUICK_TURN to true I hear you all say...well, that then makes the non-travel activities of the bot look very artificial, with instant turns during combat and interacting with NPC's and such.

So, how to get a happy medium?

I have implemented some code in the profile to change the QUICK_TURN on and off when in and out of combat, so during combat QUICK_TURN is off, and while running around, QUICK_TURN is on.

This is by no means perfect, and introduces its own issues, but it is a start (maybe) and am looking for some feedback on this line of thought, how I may improve it, or how rubbish you think this idea really is.

What I added in the profile:

Code: Select all

<onLeaveCombat>
	<![CDATA[
		changeProfileOption("QUICK_TURN", true);
	]]>
</onLeaveCombat>
<onPreSkillCast>
	<![CDATA[
		if settings.profile.options.QUICK_TURN then
			changeProfileOption("QUICK_TURN", false);
		end;
	]]>
</onPreSkillCast>
I added the 'if' to stop the bot constantly changing the state to false on each cast during combat, and filling up the micromacro output screen with QUICK_TURN "spam".

Look forward to hearing what you all have to say.
User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: More 'human' movement

#2 Post by lisa »

It's an interesting theory, have you noticed when playing manually that when you first attack the character always spins to face the mob, always. After first attack it isn't the case though. So the client itself makes the character spin instantly. So making the character not spin would make it look more suspicious?
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Post Reply