Author Topic: Having Issues With AI  (Read 1175 times)

Offline Silverfish

  • The Hardest Part of Ending is Starting Again
  • Super Heavyweight
  • Posts: 844
  • Rep: 3
  • Welcome to the quiet before the storm hits...
  • Awards BOTM Winner
    • View Profile
    • Awards
Having Issues With AI
« on: September 09, 2015, 04:06:55 PM »
Sometimes, when i try to ai a spinner, when it gets near, the weapons don't trigger. I've used both omni and spinner, but neither seems to work. this is in DSL3 beta, and ocasionally stock. any ideas?
Tourney stuffs:

"We need a new way to defeat them... Something they haven't seen. Something... no one... has ever seen..."
-Gelorum, Acceleracers: Ignition

Youtube(cuz I can't use the normal link): https://www.youtube.com/channel/UCZ8zJZecbrpqiZK2eLnKLAA

Offline G.K.

  • *
  • Posts: 12156
  • Rep: 10
  • Striving for a good personal text since 1994.
    • View Profile
    • Awards
Re: Having Issues With AI
« Reply #1 on: September 09, 2015, 04:07:53 PM »
Can you post up an example of your AI binding lines?
My above post explains everything about everything.

Host of: Wheely Tag, Back To The Beginnings, BTTB 2, BTTB 3, BTTB 4, & BTTB V.

Heavy Metal: Champion (Mockery of the Whole Concept)
Robotic International Wars Series 1: Champion (Minifridge 6)
RA2 Team Championships 1 & 2: Champion (High Speed Train & Upthrust - as part of Naryar's Not Quite Evil Council of Doom)

Runner Up in: The Amazing Rage (Team Fedex), R0B0NOVA (Zaphod Stock), Steel Warzone (Inception of Instability), Box of Nightmares (Gicquel), Wheely Tag (Minifridge the Second)

Clash Cubes IV: 5th place (Fretless)
BBEANS 6: Rumble Winner & 6th Place (Minifridge 4)

Offline Silverfish

  • The Hardest Part of Ending is Starting Again
  • Super Heavyweight
  • Posts: 844
  • Rep: 3
  • Welcome to the quiet before the storm hits...
  • Awards BOTM Winner
    • View Profile
    • Awards
Re: Having Issues With AI
« Reply #2 on: September 09, 2015, 04:15:16 PM »
I'm trying to make some ai for DSL3:

list.append( ("Lock On", "Omni", { 'radius':1.5, 'turnspeed' : 1.0, 'topspeed' : 12.0, 'throttle' : 120 }) )

(that's the main one that's giving trouble)

I've named the controls right, I've checked this a lot.
Tourney stuffs:

"We need a new way to defeat them... Something they haven't seen. Something... no one... has ever seen..."
-Gelorum, Acceleracers: Ignition

Youtube(cuz I can't use the normal link): https://www.youtube.com/channel/UCZ8zJZecbrpqiZK2eLnKLAA

Offline cephalopod

Re: Having Issues With AI
« Reply #3 on: September 09, 2015, 04:27:31 PM »
You've got no 'weapons' : 0 or whatever in there - if the ai tells the bot it has no weapons, it won't use any ;)
For hardcore mode you can try and find out the component id number for each weapon, or easy mode just put 0 - 0 registers as the chassis so the bot will always try to use the weapon.
bristol bot builders / two headed death flamingo / snappy robots
//
kindest and friendliest '13, '15, '16, '17 / favourite staff member '14, '15

Offline Silverfish

  • The Hardest Part of Ending is Starting Again
  • Super Heavyweight
  • Posts: 844
  • Rep: 3
  • Welcome to the quiet before the storm hits...
  • Awards BOTM Winner
    • View Profile
    • Awards
Re: Having Issues With AI
« Reply #4 on: September 09, 2015, 04:36:24 PM »
Thanks for the help! It worked! :bigsmile:
Tourney stuffs:

"We need a new way to defeat them... Something they haven't seen. Something... no one... has ever seen..."
-Gelorum, Acceleracers: Ignition

Youtube(cuz I can't use the normal link): https://www.youtube.com/channel/UCZ8zJZecbrpqiZK2eLnKLAA