Author Topic: Bot Always Faces Backward  (Read 1202 times)

Offline yugitom

  • *
  • Posts: 2378
  • Rep: 17
  • Google Garry's Wars
    • TheYuGiTom
    • View Profile
    • Awards
  • Skype: nanwiththeplan
Bot Always Faces Backward
« on: January 30, 2016, 07:36:00 PM »
So I am AI'ing a robot and no matter what I do to this: 'nose':math.pi, the robot always seems to face backward when beginning a match. It's forward facing is correct in the bot lab, too. Anyone else had this problem before?

Offline Thrackerzod

  • Sparkle up your day!
  • *
  • Posts: 2035
  • Rep: 10
  • The distant future... the year 2000...
  • Awards BOTM Winner
    • View Profile
    • Awards
Re: Bot Always Faces Backward
« Reply #1 on: January 30, 2016, 07:42:28 PM »
What AI lines have you tried so far that don't work?

Offline yugitom

  • *
  • Posts: 2378
  • Rep: 17
  • Google Garry's Wars
    • TheYuGiTom
    • View Profile
    • Awards
  • Skype: nanwiththeplan
Re: Bot Always Faces Backward
« Reply #2 on: January 30, 2016, 07:43:58 PM »
The generic 'nose':math.pi and 'nose':math.pi*2. No matter the forward facing orientation, that should flip where it faces by 180 degrees no matter what but the robot loves to stare at the wall regardless.

Offline Thrackerzod

  • Sparkle up your day!
  • *
  • Posts: 2035
  • Rep: 10
  • The distant future... the year 2000...
  • Awards BOTM Winner
    • View Profile
    • Awards
Re: Bot Always Faces Backward
« Reply #3 on: January 30, 2016, 07:44:53 PM »
Try it with math.pi/2 ?

Offline yugitom

  • *
  • Posts: 2378
  • Rep: 17
  • Google Garry's Wars
    • TheYuGiTom
    • View Profile
    • Awards
  • Skype: nanwiththeplan
Re: Bot Always Faces Backward
« Reply #4 on: January 30, 2016, 07:49:43 PM »
I was ready to slap myself for not trying that but it doesn't work. Still ramming head first in the wall :P Thanks for the suggestion and help, though.

Offline Thrackerzod

  • Sparkle up your day!
  • *
  • Posts: 2035
  • Rep: 10
  • The distant future... the year 2000...
  • Awards BOTM Winner
    • View Profile
    • Awards
Re: Bot Always Faces Backward
« Reply #5 on: January 30, 2016, 07:50:51 PM »
Hrm darn, I was hoping that'd at least make it sideways or something.

Can you share the bot file or is it a secret?

Offline yugitom

  • *
  • Posts: 2378
  • Rep: 17
  • Google Garry's Wars
    • TheYuGiTom
    • View Profile
    • Awards
  • Skype: nanwiththeplan
Re: Bot Always Faces Backward
« Reply #6 on: January 30, 2016, 07:52:44 PM »
It's for a tournament, so I'd rather not share it publicly but it's one you're not entering so I'll send it to you, along with the AI line I have for it, if you want.

Offline Mr. AS

  • TheGloriousCarbideArstotzkanIronsideChaosProtocol
  • *
  • Posts: 7558
  • Rep: 19
    • robotarenagtm
  • Awards BOTM Winner
    • View Profile
    • Awards
Re: Bot Always Faces Backward
« Reply #7 on: January 30, 2016, 07:55:46 PM »
Try:

'nose':math.pi
'nose':0
'nose':-math.pi
'nose':-math.pi/2
'nose':-math.pi*2
'nose':math.pi/2
'nose':math.pi*2

Also check to make sure you only have 1 'nose':math.pi
How you make Alarm Clock Pizza is:
Step 1: You buy an alarm clock from the store, and then you have to break it and put it in the sauce.
Step 2: Fold the sauce in 5 slices and put it in the dough.
Step 3: Paint the eggs with a pitcher of a clock showing what time you want to wake up and eat pizza for breakfast.
Step 4: Put the eggs in the dough.
Step 5: Make it flat into a round shape and draw the time you want on it.
Step 6: Put some old steel to prevent other peple from stealing it.
Step 7: Make it flat and cut into 60 slices 1 for each minute in 1 our.
Step 8: Put in the oven set the timer to 30048813.2884 seconds and put the temperature on 'Volcano' setting.
Step 9: If you think it is take to long, then get yor alarm clock and set it to now so that it will ring and you can take it out.
Step 10: Take it out uv the uvin wen it is redy and go to bed. In the morning eat pizza and also eat yor hands bi mistake.

Offline yugitom

  • *
  • Posts: 2378
  • Rep: 17
  • Google Garry's Wars
    • TheYuGiTom
    • View Profile
    • Awards
  • Skype: nanwiththeplan
Re: Bot Always Faces Backward
« Reply #8 on: January 30, 2016, 08:02:18 PM »
Ffs, I have found the solution and I really should have realised sooner. The name of the robot shares a name with a replica in DSL, so it's taking that replica's AI line, first. I'll have to make a slight adjustment to the robot's name. Thanks for the help anyway, guys.

Offline Thrackerzod

  • Sparkle up your day!
  • *
  • Posts: 2035
  • Rep: 10
  • The distant future... the year 2000...
  • Awards BOTM Winner
    • View Profile
    • Awards
Re: Bot Always Faces Backward
« Reply #9 on: January 30, 2016, 08:13:07 PM »
Oh dang, well, glad you got it figured out.