Robots

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

Offline Elementos

  • Super Heavyweight
  • Posts: 801
  • Reputation: 2
  • Bringing you the elements...
    • View Profile
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 Sonny_Resetti

  • *
  • Posts: 3610
  • Reputation: 16
  • Replica King
    • ResettisReplicas
    • View Profile
  • See profile for gamer tags: 1
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

  • Super Heavyweight
  • Posts: 801
  • Reputation: 2
  • Bringing you the elements...
    • View Profile
Thanks for such a simple answer.  :thumbup
Tournament Wins:


yug1tom for president 2016

Offline jaydee99

  • randomspam memer
  • Ultra Heavyweight
  • Posts: 1341
  • Reputation: -5
  • I've left (searching for my hero Sami Callihan)
    • https://www.facebook.com/
    • Jaydee (Jdixon)
    • View Profile
  • See profile for gamer tags: 1
Now I know how. Yey!
Download my AI guide: https://gametechmods.com/uploads/files/7203FIXEDJaydee's AI guide.zip
It's a game. I'll play it how I want.
https://gametechmods.com/uploads/images/787141lVITw_JGr_yFr-meOD6MJGneTmi-W4U-Em_iSvXQzM.jpg

Offline Natster-104

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

Offline Elementos

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


yug1tom for president 2016

Offline 090901

  • Forum Anti Anti Anti Bully Ranger!
  • *
  • Posts: 6893
  • Reputation: 25
  • :mrgreen:
    • View Profile
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: 154
  • Reputation: 0
  • I'm back, but no-one noticed I was gone
    • View Profile
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: 16666
  • Reputation: 12
    • Badnik96GTM
    • View Profile
    • BattleBots Wiki
  • See profile for gamer tags: 1
  • 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: 154
  • Reputation: 0
  • I'm back, but no-one noticed I was gone
    • View Profile
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 Sonny_Resetti

  • *
  • Posts: 3610
  • Reputation: 16
  • Replica King
    • ResettisReplicas
    • View Profile
  • See profile for gamer tags: 1
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: 154
  • Reputation: 0
  • I'm back, but no-one noticed I was gone
    • View Profile
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: 16666
  • Reputation: 12
    • Badnik96GTM
    • View Profile
    • BattleBots Wiki
  • See profile for gamer tags: 1
  • 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: 154
  • Reputation: 0
  • I'm back, but no-one noticed I was gone
    • View Profile
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: 16666
  • Reputation: 12
    • Badnik96GTM
    • View Profile
    • BattleBots Wiki
  • See profile for gamer tags: 1
  • 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
  • Reputation: 32
    • View Profile
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.