Author Topic: Srimech Issue  (Read 2967 times)

Offline RedAce

  • Host of The Award Winning Deathmatch Series
  • *
  • Posts: 3965
  • Rep: 21
  • Yep, I'm that RedAce guy.
  • Awards BOTM Winner
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
  • Skype: redaceofsp4des
  • Discord: ThatRedAceGuy#3618
Srimech Issue
« on: April 12, 2014, 09:47:24 AM »
I'm probably posting this in the wrong thread, so if I am, please move this topic. Thanks.

Anyway I'm having trouble AI'ing this bot:

https://gametechmods.com/uploads/files/2897SHW-Chanticleer.zip

Bindings:
Code: [Select]
    list.append(("SHW-Chanticleer","Flipper",{'nose':0,'radius':1,'topspeed':100,'throttle':100,'turn':100,'turnspeed':2.5,'UseSrimech':0,'EnemyMoveRadius':1,'EnemyMoveTime':3,'PrioritizeFlipper':0,'NoChassisTime':1,'SrimechInterval':0,'weapons':(0,)}))
Now I only want the flipping scoops to fire when opposing bots are in the smart zone,



and I only want the srimech lid to fire when the bot is on it's back.



But the problem is the lid doesn't fire unless it get the phase where the srimech reaches it's limit (picture on the right for more details). Instead, It just uses the scoops to try to flip itself back.



Am I AIing it wrong? Is there something missing in the bindings? Do I need to modify the button functions in the wiring? Am I excluding something in this explanation?

Thank you.

Offline Philippa

  • The Queen of GTM
  • Giga Heavyweight
  • Posts: 6186
  • Rep: 0
  • ✊ Viva la Standard! ✊
  • Awards BOTM Winner
    • View Profile
    • Awards
Re: Srimech Issue
« Reply #1 on: April 12, 2014, 10:06:33 AM »
Try looking at the AI for Panic Attack, it self-rights using a different thing.

Offline RedAce

  • Host of The Award Winning Deathmatch Series
  • *
  • Posts: 3965
  • Rep: 21
  • Yep, I'm that RedAce guy.
  • Awards BOTM Winner
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
  • Skype: redaceofsp4des
  • Discord: ThatRedAceGuy#3618
Re: Srimech Issue
« Reply #2 on: April 12, 2014, 10:31:01 AM »
Try looking at the AI for Panic Attack, it self-rights using a different thing.
Oh yeah, I forgot about Panic Attack's AI.

Anyway, I tried it, and the srimech is working better now. Thank you Kurt Wylde!
Now if only I can +1 his rep to show my appreciation.

Offline Badnik96

  • tired of your shit
  • *
  • Posts: 17536
  • Rep: 3
  • Awards BOTM Winner
    • View Profile
    • Awards
Re: Srimech Issue
« Reply #3 on: April 12, 2014, 10:31:34 AM »
hmm. If you're using the new flipper.py, try fire/weapon for the weapon instead of flip. That should work. You'll have to deal with slightly less responsive AI but that's just what happens I guess.

Offline JamesAvery

  • Antweight
  • Posts: 53
  • Rep: 0
    • View Profile
    • Awards
Re: Srimech Issue
« Reply #4 on: April 12, 2014, 10:33:20 AM »
try Fire instead of Flipper it Works for my AI bots.
::destroy all hvs

Offline Clickbeetle

  • *
  • Posts: 3375
  • Rep: 21
  • In Soviet Russia, bugs stomp YOU!
  • Awards BOTM Winner
    • View Profile
    • Beetle Bros site
    • Awards
Re: Srimech Issue
« Reply #5 on: April 13, 2014, 05:23:42 PM »
You need to set 'UseSrimech':1 in the bindings for Flip and Srimech controls to work together.

To lack feeling is to be dead, but to act on every feeling is to be a child.
-Brandon Sanderson, The Way of Kings