gametechmods

Robot Arena => General Support => Topic started by: Jaydee99 on December 01, 2014, 03:54:09 PM

Title: AI Trouble
Post 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?
Title: Re: Lazerguided V2 AI giving me trouble
Post by: Philippa on December 01, 2014, 04:01:03 PM
F9 or F10
Title: Re: Lazerguided V2 AI giving me trouble
Post by: Virus Bomb on December 01, 2014, 04:06:58 PM
open the .py in notepad and do this

Find these lines near the top

Code: [Select]
        # 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.
Title: Re: Lazerguided V2 AI giving me trouble
Post by: Jaydee99 on December 01, 2014, 04:09:01 PM
Thanks to both of you. Also, Virus Bomb, like your new avatar.
Title: Re: Lazerguided V2 AI giving me trouble
Post by: Jaydee99 on December 02, 2014, 04:58:17 AM
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?
Title: Re: AI Trouble
Post by: Resetti's Replicas on December 02, 2014, 07:44:32 AM
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.
Title: Re: AI Trouble
Post by: Jaydee99 on December 02, 2014, 09:55:00 AM
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.
Title: Re: AI Trouble
Post by: Jaydee99 on December 03, 2014, 05:15:29 PM
Is there an AI for Frenzy style axes and spinners on the same robot?
Title: Re: AI Trouble
Post by: Resetti's Replicas on December 04, 2014, 12:06:13 AM
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.