Author Topic: BFE - A beginner's guide  (Read 385 times)

Offline Hoppin

  • E-Girl
  • *
  • Posts: 1596
  • Rep: 9
  • Sket
  • Awards BOTM Winner
    • View Profile
    • Awards
  • Discord: Hoppin#0013
BFE - A beginner's guide
« on: November 14, 2018, 09:35:33 AM »
BFE - Beginners guide.

BFE (Bot File Editing) is the process of adjusting the parametres of a given component using the .bot file.

To start with I recommend looking at Craig's guide to the bot file, in which he dissects the bot file itself, showing what each part does. https://gametechmods.com/forums/tutorials-and-tips/guide-to-the-bot-file-(re-up)/

Software you'll need.
Notepad++ https://notepad-plus-plus.org/

Changing the chassis height.
Changing the height of the chassis is a rather simple task. It is stored as a decimal point somewhere shortly after "Chassis". (The number of lines depends on the amount of points your chassis has)

To start with you'll want to create a chassis, example below.
 


Then you'll want to export it, this can be done by selecting the bot in the team HQ, then clicking "EXPORT". Navigate to your "Robot Designs" folder, in which you can open the .bot file using Notepad++.
 


Once opened, you'll want to find the word "Chassis". Once located, look for a decimal point number. That is the value of your chassis height, highlight this, then press Ctrl+H. This brings up the Replace function. Adjust the "Replace this" to the number you want it to be, then click "Replace All". Then save!
 

 


Open up your RA2, then import the bot you just saved. Tada!
 


Position Adjustment
Again, this is a super simple process, even more so than the previous one, specifically in building extenderbots.

To start with place the component (for this example I'm using "Extenderstart" to showcase the process better.). Then export the bot once done so.

I tend to think as bot building as a grid, in which components move on an axis. When opening up the bot without moving the camera, the axis will look like so.
 


When opening up the bot file, you should be able to find the components section, located near the end of the file.
 


We are looking to adjust the X, Y & Z values of the component in question. Each component in the bot has their own set of variables found above the name of the components, highlighted below
 


We are looking to adjust the line "0 0 0". This is the position of the component. X Y & Z respectively.
 


Remember that 10cm in the game is 0.1 on the file. Keep this in mind when you're adjusting the value.

Save up, and re-import your bot. If it doesn't move in the direction you intended to, you might have used the wrong column.
 

Here's the example from earlier, with the motor moved +0.4 (40cm) in the X axis.
 



Changing the component
For this, you want to change the .txt name in the bot file of the component you have, to the one you want to change.
 


This can be difficult as you need to know the name of the component in the file name. You can do this easier by attaching the component you want to change it to, to the bot, then copying that .txt name over to the component you need to change.

Hopefully this helps with your BFE. Any questions, just post a reply and I'll certainly try to answer them.
Things I did & done

Offline TheRoboteer

  • IRL Purist / Bellend
  • *
  • Posts: 1205
  • Rep: 10
  • "I HATE SEBASTIAN COE!"
    • View Profile
    • Awards
Re: BFE - A beginner's guide
« Reply #1 on: November 14, 2018, 09:39:22 AM »
Good to see more of these guides cropping up. In an ideal world there'd be one for every major aspect of RA2.

Pretty well-written too. Though you could have condensed it down to just the word "Don't" IMO  ;)
Notable Guffs That I Dun Gone And Did:
The Beginner's Guide to IRL:
https://gametechmods.com/forums/tutorials-and-tips/irl-a-beginner's-guide

Offline Hoppin

  • E-Girl
  • *
  • Posts: 1596
  • Rep: 9
  • Sket
  • Awards BOTM Winner
    • View Profile
    • Awards
  • Discord: Hoppin#0013
Re: BFE - A beginner's guide
« Reply #2 on: November 14, 2018, 09:40:35 AM »
Pretty well-written too. Though you could have condensed it down to just the word "Don't" IMO  ;)

Beginner's guide to Ra2 right there.
Things I did & done

Offline kix

  • It is i
  • Ultra Heavyweight
  • Posts: 2345
  • Rep: 9
  • Josephi mother****ing Krakowski
    • View Profile
    • Awards
Re: BFE - A beginner's guide
« Reply #3 on: November 14, 2018, 09:53:29 AM »
Okay this is epic, but for chassis height or anything related to bfe, you dont really need to export the bot. Go to Test bot section, Alt tab out of the game, locate the bot, and bfe it there, without needing to exit the botlab

It saves you time
Hi, Phil Swift here with Flex Tape! The super-strong waterproof tape! That can instantly patch, bond, seal, and repair! Flex tape is no ordinary tape; its triple thick adhesive virtually welds itself to the surface, instantly stopping the toughest leaks. Leaky pipes can cause major damage, but Flex Tape grips on tight and bonds instantly! Plus, Flex Tape’s powerful adhesive is so strong, it even works underwater! Now you can repair leaks in pools and spas in water without draining them! Flex Tape is perfect for marine, campers and RVs! Flex Tape is super strong, and once it's on, it holds on tight! And for emergency auto repair, Flex Tape keeps its grip, even in the toughest conditions! Big storms can cause big damage, but Flex Tape comes super wide, so you can easily patch large holes. To show the power of Flex Tape, I sawed this boat in half! And repaired it with only Flex Tape! Not only does Flex Tape’s powerful adhesive hold the boat together, but it creates a super strong water tight seal, so the inside is completly dry! Yee-doggy! Just cut, peel, stick and seal! Imagine everything you can do with the power of Flex Tape!

Offline Hoppin

  • E-Girl
  • *
  • Posts: 1596
  • Rep: 9
  • Sket
  • Awards BOTM Winner
    • View Profile
    • Awards
  • Discord: Hoppin#0013
Re: BFE - A beginner's guide
« Reply #4 on: November 14, 2018, 09:54:43 AM »
Okay this is epic, but for chassis height or anything related to bfe, you dont really need to export the bot. Go to Test bot section, Alt tab out of the game, locate the bot, and bfe it there, without needing to exit the botlab

Just the way I learnt it, by all means you can do it that way.
Things I did & done

Offline Redalert

  • The inventor of Wandering Spinners, Snares, and InvinciRammers.
  • Super Heavyweight
  • Posts: 961
  • Rep: -29
  • Code: Redalert
    • View Profile
    • Awards
Re: BFE - A beginner's guide
« Reply #5 on: November 14, 2018, 12:01:34 PM »
Okay this is epic, but for chassis height or anything related to bfe, you dont really need to export the bot. Go to Test bot section, Alt tab out of the game, locate the bot, and bfe it there, without needing to exit the botlab

It saves you time

Thanks! I've never BFE'd before, so I just build all in-game. This will help, though.

Offline superbot13

  • Middleweight
  • Posts: 342
  • Rep: 1
    • View Profile
    • Awards
Re: BFE - A beginner's guide
« Reply #6 on: November 14, 2018, 03:54:41 PM »
You should add 180 degree bursts
Guess who's back

Offline Billy5545

  • Best Newcomer 2018
  • Heavyweight
  • Posts: 525
  • Rep: 3
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
  • Discord: Kendor#3191
Re: BFE - A beginner's guide
« Reply #7 on: November 14, 2018, 04:27:17 PM »
Okay this is epic, but for chassis height or anything related to bfe, you dont really need to export the bot. Go to Test bot section, Alt tab out of the game, locate the bot, and bfe it there, without needing to exit the botlab

It saves you time

Thanks! I've never BFE'd before, so I just build all in-game. This will help, though.
BFE can only be legally used for IRL (to help make more realistic bot) or maybe IF-S (I don't know actually, but I think Reier only allowed chassis height BFE for one of his tourneys IIRC). So if you use it in Stock Unrealistic, your bot will get rejected if you enter it to tourneys