Author Topic: How to edit a botfile to make it's burst motor have an 180 degree arc?  (Read 5470 times)

Offline Elementos

  • Heavyweight
  • Posts: 799
  • Rep: 2
  • Bringing you the elements...
    • View Profile
    • Awards
So I'm making a replica and the judge burst says how the Judge's botfile was edited to make its burst motor have an 180 degree arc. I wanna know how to do this as it will improve my bot a ton.

Anyone help?
Tournament Wins:


yug1tom for president 2016

Offline Resetti's Replicas

  • *
  • Posts: 4399
  • Rep: 18
  • Replica King
    • ResettisReplicas
  • Awards BOTM Winner
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
Go into the bot file and locate the line below the burst motor.  The second number is the swing arc in radians, change that to extend the swing arc.  1.5708 is equal to 90 degrees.  In my experience, you can go as high as +/- 2.9 without havok risks.
« Last Edit: January 30, 2015, 01:28:57 PM by Sonny_Resetti »

Offline Elementos

  • Heavyweight
  • Posts: 799
  • Rep: 2
  • Bringing you the elements...
    • View Profile
    • Awards
Thanks for such a simple answer.  :thumbup
Tournament Wins:


yug1tom for president 2016


Offline Natster-104

  • Ultra Heavyweight
  • Posts: 1406
  • Rep: 6
    • http://www.youtube.com/ch
    • View Profile
    • Awards
  • Skype: natster-104
Wow this has helped me quite a bit, anyone know where I can find a DL for notepad++?

Offline Elementos

  • Heavyweight
  • Posts: 799
  • Rep: 2
  • Bringing you the elements...
    • View Profile
    • Awards
Think there's a link on the downloads section of GTM.
Tournament Wins:


yug1tom for president 2016

Offline 090901

  • alcoholic in denial
  • *
  • Posts: 7005
  • Rep: 22
  • :mrgreen:
  • Awards Donated money for site hosting 2019 GTMCS2 Divison Winner GTMCS Division Winner
    • View Profile
    • Awards
Wow this has helped me quite a bit, anyone know where I can find a DL for notepad++?
http://notepad-plus-plus.org/download/v6.6.7.html

Offline Yeastisbeast

  • Beetleweight
  • Posts: 160
  • Rep: 0
  • I'm back, but no-one noticed I was gone
    • View Profile
    • Awards
Re: How to edit a botfile to make it's burst motor have an 180 degree arc?
« Reply #7 on: December 30, 2014, 12:14:33 PM »
I tried this, but when I went into the botlab to see if it workec my game crashed. Help plz
Huzzah! This post is bad now!

Offline Badnik96

  • tired of your shit
  • *
  • Posts: 17537
  • Rep: 3
    • Badnik96GTM
  • Awards BOTM Winner
    • View Profile
    • BattleBots Wiki
    • Awards
  • See profile for gamer tags: Yes
  • Skype: Badnik96
Re: How to edit a botfile to make it's burst motor have an 180 degree arc?
« Reply #8 on: December 30, 2014, 07:34:27 PM »
Did you edit it in notepad++ and keep everything else the same?

Changing the length of the number probably messed it up I think.

Offline Yeastisbeast

  • Beetleweight
  • Posts: 160
  • Rep: 0
  • I'm back, but no-one noticed I was gone
    • View Profile
    • Awards
Re: How to edit a botfile to make it's burst motor have an 180 degree arc?
« Reply #9 on: December 31, 2014, 03:53:09 AM »
I did it again, kept the number length the same, edited in notepad, still didn't work. Changed it from 2.26667 to 2.96667.
Huzzah! This post is bad now!

Offline Resetti's Replicas

  • *
  • Posts: 4399
  • Rep: 18
  • Replica King
    • ResettisReplicas
  • Awards BOTM Winner
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
Re: How to edit a botfile to make it's burst motor have an 180 degree arc?
« Reply #10 on: December 31, 2014, 08:49:32 AM »
So just regular Notepad, the one that came pre installed with windows?  Tht could be your problem; it doesn't preserve line spacing and special characters.  Get notepad++ and make that your default program for editing text and gmf files.

Offline Yeastisbeast

  • Beetleweight
  • Posts: 160
  • Rep: 0
  • I'm back, but no-one noticed I was gone
    • View Profile
    • Awards
Re: How to edit a botfile to make it's burst motor have an 180 degree arc?
« Reply #11 on: December 31, 2014, 09:14:32 AM »
Actually I looked and it's wordpad. When I tried to install notepad++ it kept coming up with 'error opening file' you could ignore it, but there were so many I figured it wouldn't work anyway and eventually clicked abort

Huzzah! This post is bad now!

Offline Badnik96

  • tired of your shit
  • *
  • Posts: 17537
  • Rep: 3
    • Badnik96GTM
  • Awards BOTM Winner
    • View Profile
    • BattleBots Wiki
    • Awards
  • See profile for gamer tags: Yes
  • Skype: Badnik96
Re: How to edit a botfile to make it's burst motor have an 180 degree arc?
« Reply #12 on: December 31, 2014, 03:34:36 PM »
See theres your problem. It's gotta be in notepad++.

Offline Yeastisbeast

  • Beetleweight
  • Posts: 160
  • Rep: 0
  • I'm back, but no-one noticed I was gone
    • View Profile
    • Awards
Re: How to edit a botfile to make it's burst motor have an 180 degree arc?
« Reply #13 on: January 05, 2015, 09:58:18 AM »
Well, I've AI'd using wordpad, but OK...
Huzzah! This post is bad now!

Offline Badnik96

  • tired of your shit
  • *
  • Posts: 17537
  • Rep: 3
    • Badnik96GTM
  • Awards BOTM Winner
    • View Profile
    • BattleBots Wiki
    • Awards
  • See profile for gamer tags: Yes
  • Skype: Badnik96
Re: How to edit a botfile to make it's burst motor have an 180 degree arc?
« Reply #14 on: January 05, 2015, 10:06:11 AM »
Py files and Bot files are completely different things. You can edit the bindings file in pretty much any word processor, bot files need notepad++ or they screw up.

Offline Trovaner

  • *
  • Posts: 1222
  • Rep: 32
    • View Profile
    • Awards
Re: How to edit a botfile to make it's burst motor have an 180 degree arc?
« Reply #15 on: January 06, 2015, 07:46:12 AM »
Wordpad is what is known as a word processor. Its good for formatting documents that look good for humans. What you see on screen does not necessarily reflect the contents of the file.

Notepad is a text editor. It doesn't allow for any text formatting but that is exactly what you need when programming because things like italics generally don't mean anything to a compiler or interpreter. When you open a file in a text editor, you are viewing exactly whats in the file.

Neither Notepad nor Wordpad support all of the characters found in a bot file so you'll need to find one that does since the bot file contains TGA data for the skin and preview image. Most of the people here use Notepad++ but there are plenty of other options if you can't get it to work.

That said, you shouldn't get any error if you install Notepad++ by downloading and extracting the ZIP instead of the executable.