gametechmods
Robot Arena => General Support => Topic started by: Probably Rob on May 20, 2013, 06:16:03 PM
-
After trying to do a Frenzy.py AI'd robot for the first time, it seems to fly around randomly.
The robot has an axe, on a motor, and I've done 'whipzone' along with 'Hammer', yet in-game when you drive slightly up to it, it decides to fly around without stopping.
Can I possibly have any help, in trying to make it work correctly?
Thank you.
-
As in havok explosion of it just keeps firing?
-
Nah, no havoks, but yes, keeps firing/swinging. That's what I meant by flying, hah.
-
Did you copy and paste a bindings line from another bot?
-
Same thing happen with THZ?
-
Repost:
Should mention that I'm doing this in DSL 3.
(http://i.imgur.com/7zavJOe.png)
list.append( ("[name]", "Frenzy", { 'nose' : math.pi, 'radius' : 1.4, 'topspeed' : 12.0, 'throttle' : 120, 'turn' : 20, 'turnspeed' : 1.0, 'weapons' : (15, 39) }) )
Update:
After some testing, THZ seems to work when it's AI vs AI, but still flies (firing, not havoking) when self-righting.
Is it because it's specifically made for something, like a Hammer motor, and that Overkill motor?
-
ElectricHammer is the binding you want.
Bots AI'd with THz and FrenZy use a special motor that goes in a 180-arc, I don't recommend it, it comes with quite a lot of havok issues.
-
ElectricHammer is the binding you want.
Ah, cheers man!
Bots AI'd with THz and FrenZy use a special motor that goes in a 180-arc, I don't recommend it, it comes with quite a lot of havok issues.
Oh, Jesus, don't I know it! The amount of recording issues I have with freakin' Terrorhurtz, hah.
-
I remember trying to AI Scrap's Diesector replica with Frenzy.py, it did not end well at all.
-
Okay guys, little old me has gotten rusty with adding bits to AI lines.
This probably concerns the same bot :P
list.append(("[name]","ElectricHammer",{'SwingTime':4,'nose':math.pi','StartAngle':math.pi,'NoChassisTime':4,'range':99,'radius':0.1,'topspeed':100,'throttle':130,'turn':60,'turnspeed':3,'weapons':(18,19)}))
4 spaces, blargh blargh, definitely the AI line because I #'d it and the game worked fine like that. Just want to get it fixed before the tweaking occurs to maximise performance.
-
I spaced them correctly for DSL 3; it crashes the game.
-
I spaced them correctly for DSL 3; it crashes the game.
Nah, that shouldn't be the problem, I've got other bots in DSL3 that I've AI'd with a similar spacing and they're fine. Though it might just be one comma in the wrong place or something silly like that I haven't picked up on. Normally is.
-
Apologies. It's because I seemed to accidentally deleted a closed bracket after the 'weapons'. :gawe: