Page 1 of 1

Change the normal turn to turn while running

Posted: Thu Mar 22, 2012 12:10 am
by eragon2450
I don't know lua so i was wondering what the code is for "and". I was hoping that in the settings file i could make it so the bot will turn while running so its looks more natural. Haven't found threads on this so I don't know whether you can do it or not.
Something like this:
ROTATE_LEFT = {key = _G.key.VK_Q "code for and" _G.key.VK_W, modifier = nil}
Let me know if it can work or if there is another way, Thanks

Re: Change the normal turn to turn while running

Posted: Thu Mar 22, 2012 12:14 am
by lisa
there is a profile option for this

settings.profile.options.WP_NO_STOP

So in your profile you can do

Code: Select all

<option name="WP_NO_STOP" 	value="true" />
Mind you by default it already does this.

Re: Change the normal turn to turn while running

Posted: Thu Mar 22, 2012 1:18 am
by eragon2450
first things first....that was fast lol, thanks for the quick reply. But right now the bot runs through the way point doing a quick turn, I was hoping it could do a slow turn while running, is that possible?

I was thinking, if turning was two functions, turn and move, that the slow curve turn may work, since it look more human and all.

Re: Change the normal turn to turn while running

Posted: Thu Mar 22, 2012 2:28 am
by lisa
in your profile it will have

Code: Select all

		<option name="QUICK_TURN" 			value="true" />
change it to false

Code: Select all

		<option name="QUICK_TURN" 			value="false" />

Re: Change the normal turn to turn while running

Posted: Thu Mar 22, 2012 3:44 pm
by eragon2450
Yes but it's not a curve turn, the bot stops at the waypoint and turns, even if the <option name="WP_NO_STOP" value="true" />. With quick turn the bot is always moving, yes that is what I want, but with a slow turn the bot stops to turn, ignoring WP_NO_STOP. This is the case for me atleast. Plus i have never seen a bot move like this, slowly turn and run forward at the same time so i don't know if its possible, but im crossing my fingers for some ideas.

Also i just checked for a 7th time, i dont have

<option name="WP_NO_STOP" value="true" /> in my setting.lua file so what i did was i put it in porfile, could that be the reason it isn't working?

Re: Change the normal turn to turn while running

Posted: Thu Mar 22, 2012 10:59 pm
by rock5
I'd say that the bot would ignore the "no stop" option when you disable quickturn because it sometimes can't hit the waypoint if it can't turn fast enough. So it must stop when turning slowly.

Re: Change the normal turn to turn while running

Posted: Thu Mar 22, 2012 11:17 pm
by lisa
slowly turning while still moving forward would create a huge arc in the path which would give a much higher chance to get stuck because you make the coords where you want to walk and not plan on such a large deviation from those coords.

Re: Change the normal turn to turn while running

Posted: Fri Mar 23, 2012 8:26 am
by eragon2450
So your saying it is possible? and plus i only use the bot for dog meat, and i watch the screen so I think it will work just fine. If I play with the waypoints in that area, I should be able to avoid getting stuck so that isn't something im worried about.