gametechmods
Robot Arena => General Support => Topic started by: Jaydee99 on December 01, 2014, 03:54:09 PM
-
So I've AI'd a robot using an axe on a turret. The robot is performing perfectly however random lines of coding appear on the game screen IE
Throttle = 100
Turning = 0
Engage = 80 (you get the jist)
Is there any way to hide the coding?
-
F9 or F10
-
open the .py in notepad and do this
Find these lines near the top
# to display the current angle of the servo motor uncomment thoses lines :
self.debug = True
AI.SuperAI.debugging = True
and either comment them out or change True to False. That should do it.
-
Thanks to both of you. Also, Virus Bomb, like your new avatar.
-
And, the weapon won't fire. The first time I AI'd this I did not place a smart-zone and it didn't fire (when the coding appeared). Now I've place two smart-zones named "weapon" and the turret won't spin accurately and the weapon won't fire
Also, does anyone mind if I keep this thread open under the name "AI trouble" so anyone having the same kind of trouble post in here?
-
There's a py called LaserGuidedV3, which I assume is subjectively better. Here's the pack with it plus a bunch of other good ones to have:
https://gametechmods.com/uploads/files/8459AI-Chart-2.3.rar (https://gametechmods.com/uploads/files/8459AI-Chart-2.3.rar)
You do not need any smartzones for version 3. use ServoFire as the command for the weapon and, in the binding, ServoRange to determine how far the weapon should try to reach. My Bamm Bamm replica has a pretty small reach and has it set to 6, to give you a frame of reference.
-
There's a py called LaserGuidedV3, which I assume is subjectively better. Here's the pack with it plus a bunch of other good ones to have:
https://gametechmods.com/uploads/files/8459AI-Chart-2.3.rar (https://gametechmods.com/uploads/files/8459AI-Chart-2.3.rar)
You do not need any smartzones for version 3. use ServoFire as the command for the weapon and, in the binding, ServoRange to determine how far the weapon should try to reach. My Bamm Bamm replica has a pretty small reach and has it set to 6, to give you a frame of reference.
You're a godsend. Thanks.
-
Is there an AI for Frenzy style axes and spinners on the same robot?
-
No that I know of, but apparently it's just a simple matter of sticking the code from Frenzy py into the Omni. Don't try this without making backups - I've never attempted it and I'm giving you this secondhand.