gametechmods
Robot Arena => General Support => Topic started by: Phoenyx on September 20, 2012, 07:19:54 PM
-
http://www.youtube.com/watch?v=RDoLmtaAN-c#ws (http://www.youtube.com/watch?v=RDoLmtaAN-c#ws)
This video basically shows the problem.
My bindings:
list.append(("Ram Bam Jewel","Omni",{'radius':0.1,'topspeed':100,'throttle':130,'turn':100,'turnspeed':3,'tactic':"Ram",'invertible':1}))
I've also tried rammer, and pusher, all to no avail.
Everything c out in terms of controls. Forward is labeled Forward and Steering is labeled LeftRight.
What's the cause, and how can I get the bot to turn instead of being stupid?
EDIT: I know I'm having problems with DSL, but I'm pretty sure that AI issues apply to both versions of the game. Also, I'm using Clickbeetle's AI essentials.
-
are you sure you wired this right ? steering should be "LeftRight"
i think i had the same problem when ai'ing event horizon 3 into my game and it turned out the steering was named new analog instead of what it should be
-
Yeah, LeftRight, no spaces, L and R capitalized. Check using Notepad ++ if you need to.
And I like the name, Kirby Super Star FTW
(realized my last post was stupid so I deleted it)
-
Double-checked using Notepad++. It is listed as LeftRight.
-
With no spaces surrounding it at all?
-
Nope. None at all. I'm thinking it might be an issue with the Ram strategy, though I have yet to test anything else.
-
Looks like a Nose issue to me.
-
Looks like a Nose issue to me.
No, if you look at the beginning the robots charge forward and ram into the opposite wall
-
It seems as though the video skipped that when I watched it. :P
Phoenyx, if you want, send the bot over my way and I can take a look at it.
-
Your bindings work for me so if adding 'AimError':0.1 doesn't help, I would need to look at the bot itself.
-
Did you...... WIRE THE DRIVE TO TURN?
-
Did you...... WIRE THE DRIVE TO TURN?
Yes.
-
may be the 'Tactic':"Ram" being a bitch,
also invertible can be put to binary values as well ? This is interesting
-
also invertible can be put to binary values as well ? This is interesting
Boolean values get translated into 0 (False) and 1 (True) but you can also give it any other non-zero number and it will evaluate to True. It is actually slightly faster to check the Boolean of a number as opposed to checking if the number is not 0 (None also evaluates to False so be careful if you mix them).
Change your radius to something like 1.2. That way, IsStraightPathClear will tell the AI to stay further away from the walls (in the very slim chance that they are preventing you from turning).