Author Topic: AI Trouble  (Read 1051 times)

Offline Jaydee99

  • Waltuhweight
  • *
  • Posts: 1939
  • Rep: -23
  • :/
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
AI Trouble
« 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?

Offline Philippa

  • The Queen of GTM
  • Giga Heavyweight
  • Posts: 6186
  • Rep: 0
  • ✊ Viva la Standard! ✊
  • Awards BOTM Winner
    • View Profile
    • Awards
Re: Lazerguided V2 AI giving me trouble
« Reply #1 on: December 01, 2014, 04:01:03 PM »
F9 or F10

Offline Virus Bomb

Re: Lazerguided V2 AI giving me trouble
« Reply #2 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.

Offline Jaydee99

  • Waltuhweight
  • *
  • Posts: 1939
  • Rep: -23
  • :/
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
Re: Lazerguided V2 AI giving me trouble
« Reply #3 on: December 01, 2014, 04:09:01 PM »
Thanks to both of you. Also, Virus Bomb, like your new avatar.

Offline Jaydee99

  • Waltuhweight
  • *
  • Posts: 1939
  • Rep: -23
  • :/
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
Re: Lazerguided V2 AI giving me trouble
« Reply #4 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?

Offline Resetti's Replicas

  • *
  • Posts: 4399
  • Rep: 18
  • Replica King
    • ResettisReplicas
  • Awards BOTM Winner
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
Re: AI Trouble
« Reply #5 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

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.

Offline Jaydee99

  • Waltuhweight
  • *
  • Posts: 1939
  • Rep: -23
  • :/
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
Re: AI Trouble
« Reply #6 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

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.

Offline Jaydee99

  • Waltuhweight
  • *
  • Posts: 1939
  • Rep: -23
  • :/
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
Re: AI Trouble
« Reply #7 on: December 03, 2014, 05:15:29 PM »
Is there an AI for Frenzy style axes and spinners on the same robot?

Offline Resetti's Replicas

  • *
  • Posts: 4399
  • Rep: 18
  • Replica King
    • ResettisReplicas
  • Awards BOTM Winner
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
Re: AI Trouble
« Reply #8 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.