Binding keys Ommi-bot Commands: Difference between revisions

From MyGamingTalk
m (1 revision imported)
 
m (1 revision imported)
 
(No difference)

Latest revision as of 08:02, 13 February 2023

Binds & Configs

Manually typing every waypoint command is time consuming, you should bind commands to a key or use a config file.


Before you start to bind

Its is a good idea to save your current key setup


If you already have your own config file (also known as an autoexec file) you can ignore this.


Open the console and type this command


/writeconfig autoexec


You will then see a message in console saying "Writing autoexec.cfg"


The name 'autoexec' is just the default name you can use anything you want like your name for example.

Pre-written config

If you would prefer just use a pre-written config file, You can download a config here

Making your own binds

If you would prefer to bind your own keys this is how to do it


Choose a key that you want to assign a command to.


For example purposes we are going to use the 'X' key and assign (bind) the add waypoint command to it.


In console you would type this


/bind x bot waypoint_add


Now every time you press 'X' you will have added a waypoint.


Another useful command to bind would be the bi-connect.


Because we have already used the 'X' key we need to choose another key so for this example we are going to use the 'Z' key.


Open the console again and type this


/bind z bot waypoint_biconnect


Again as with the last bind now when you press the 'Z' it will add the bi-connect command.


You will find that you might want to add more key binds later on, just remember not to bind keys that you use to move about in the game.



Saving your binds

When you have added your custom binds you should save then as a config file or there is a risk that you will loose you binds.


Open the console and type this command


/writeconfig waypoint


You will then see a message in console saying "Writing waypoint.cfg"


The name 'waypoint' is just an example name, you can use anything you want.