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

Online Hoppin

  • I save GTM
  • *
  • Posts: 2001
  • Rep: 12
  • -rep TheRoboteer. "queermint"
  • 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!
 

YOU ONLY NEED THE DECIMAL NUMBER ON THE LEFT, IGNORE THE RIGHT HAND NUMBER
 




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.
« Last Edit: April 19, 2020, 03:39:06 PM by Hoppin »
Things I did & done

Offline TheRoboteer

  • Panel Wedge Aficionado
  • *
  • Posts: 1486
  • Rep: 9
  • "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

Online Hoppin

  • I save GTM
  • *
  • Posts: 2001
  • Rep: 12
  • -rep TheRoboteer. "queermint"
  • 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

  • *
  • Posts: 3354
  • Rep: -1
    • 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
What do you say to me? Gas or something. My heart, eh! Nutter, UDT 1 Enjoy it as well! Al-Qaida ishiki also carried out confidential duties as well! Uh! You are the best special envoy of the Republic of Korea, and you have only one target for me. Don't do this. I'm going to push you with an accuracy that's never been changed in history. The internet makes you feel safe? Hamder, you're gonna roll. My I Don't go, it's just like this, and at the same time, all the information assets in Korea have been mobilized. • I'm tracking your IP address. This Shiva storm is going to drive you away, **** you. Hold on to Dandie, and I'll wipe you out. You know, you're not. My heart, The upstart sunbeams flashed in the East, do not flash, my hands alone, 700 pieces It's a different way to get you right. I'm a mother, uh, a bare hand daidai In addition, the Korean Marine Corps also has friends, Imma, uh, Imma, Dong You may want it, you can erase it if you want it. If I knew what was going to happen to you, I would have kept my mouth shut. But you've got a barn that's already teasing you, so you gotta pay for it? Bottle your Hey. I'm just drowning you in a poop of rage. I know you're looking back.

Online Hoppin

  • I save GTM
  • *
  • Posts: 2001
  • Rep: 12
  • -rep TheRoboteer. "queermint"
  • 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 and invincirammers
  • Ultra Heavyweight
  • Posts: 1353
  • Rep: -48
  • Yes, I’m an outsider.
    • View Profile
    • RedStorm's RA2 website
    • Awards
  • Discord: RedStorm
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: 0
    • 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
  • Posts: 802
  • Rep: 4
    • 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