Binds: Difference between revisions

m →‎The List: Added the orphaned AutomateTurretToggle alias I created a bit ago
 
(10 intermediate revisions by 7 users not shown)
Line 8: Line 8:
If you are taking binds from another source, say the [http://www.vendetta-online.com/x/msgboard/1/3229 Custom Binds and Aliases Thread], you won't need to type them in manually unless you want to do it the hard way.
If you are taking binds from another source, say the [http://www.vendetta-online.com/x/msgboard/1/3229 Custom Binds and Aliases Thread], you won't need to type them in manually unless you want to do it the hard way.
    
    
#Find the file named '''wgaf.cfg''' in your Vendetta folder and open it. For Mac users, you will have to '''Show Package Contents''' of the Vendetta Online package in order to get to it. For Windows users, you can find it in either ''C:\Program Files\Guild Software\Vendetta\wgaf.cfg'' or ''C:\Program Files\Vendetta Online\wgaf.cfg'' depending on when you installed the game. Linux users can find the file in ''~/.vendetta/wgaf.cfg''. You should open it in a simple text editor (not a word processing application), such as Notepad, TextEdit, vim, or possibly emacs.
#Find the file named '''[[wgaf.cfg]]''' in your Vendetta folder and open it. For Mac users, you will have to '''Show Package Contents''' of the Vendetta Online package in order to get to it. For Windows users, you can find it in either ''C:\Program Files\Guild Software\Vendetta\wgaf.cfg'' or ''C:\Program Files\Vendetta Online\wgaf.cfg'' depending on when you installed the game. Linux users can find the file in ''~/.vendetta/wgaf.cfg''. You should open it in a simple text editor (not a word processing application), such as Notepad, TextEdit, vim, or possibly emacs.
#Pick the bind or binds that you want.
#Pick the bind or binds that you want.
#Copy and paste.
#Copy and paste.
#Clean up the WGAF file by removing any '/' characters at the beginning of the aliases and/or binds you copied.
#Clean up the WGAF file by removing any '/' characters at the beginning of the aliases and/or binds you copied.


==Deleting a bind while in the game==
While in the game, on the command line, just bind the key to a non-existent command. Usually this can be accomplished by hitting random keys until satisfied that you have a non-existent command:
/bind o asdgf8af
The game will report that command "asdg.." does not exist.
Further calls to ''/bind o'' will indicate that the key is not bound to anything. When you restart the game and check wgaf.cfg, the bind will be gone.
Unfortunately aliases cannot be "deleted" in the same way.


==Loading a Bind (/load filename.cfg)==
==Loading a Bind (/load filename.cfg)==
Line 26: Line 37:
==The config.ini File==
==The config.ini File==


 
Among other things, the [[config.ini]] file stores configuration for input peripherals. For more advanced configuration of these peripherals (particularly joysticks and gamepads), see the [[config.ini]] page.
A discussion on binds would not be complete without a discussion of the config.ini file.  This file contains many items, but what I will focus on in relation to binds are the peripherals, specifically the joystick peripherals and how the buttons for them work.
 
Within the config.ini file you will see a label for any joystick that has been connected to your computer when you have played the game. These are added automatically every time you plug in a new device, and old ones can and will clutter up the file if you do this frequently. 
 
If you want to change a button to a bind, they behave differently than the keyboard binds. You cannot add joystick configurations to a filename.cfg file and load it, you must change the config.ini file directly.  You must also do this while the game is not running as the config.ini file is often updated and overwritten by the game during the course of play.  


==+/-==
==+/-==
Line 63: Line 69:
To call an alias you can either bind it directly to a key, or call it directly from within another bind or alias.
To call an alias you can either bind it directly to a key, or call it directly from within another bind or alias.


  bind “q” masterturbo
  bind "~" masterturbo
  alias foo masterturbo
  alias foo masterturbo
Line 69: Line 75:
  alias +t "+turbo; alias -t masterturbo"
  alias +t "+turbo; alias -t masterturbo"


As this example demonstrates, you can also within the alias assign new aliases as part of the assigned alias.  This nesting can get quite complex, but also gives you a great deal of control.  
As this example demonstrates, you can also within the alias assign new aliases as part of the assigned alias.  This nesting can get quite complex, but also gives you a great deal of control.
 
==Using Quotes==
==Using Quotes==
Quotes need to be dealt with in a similar manner to other programming languages, with the exception that there is not an escape character.  In order to nest a quote within a bind definition, you need to switch from the outside double quotes (“) to an apostrophe or single quote (‘).
Quotes need to be dealt with in a similar manner to other programming languages, with the exception that there is not an escape character.  In order to nest a quote within a bind definition, you need to switch from the outside double quotes (") to an apostrophe or single quote (').


In the below example, the alias example creates a new alias foo, that contains two commands included within the single quotes. It also calls a third alias, foo3.
In the below example, the alias example creates a new alias foo, that contains two commands included within the single quotes. It also calls a third alias, foo3.
Line 86: Line 92:
==The List==
==The List==
*[[Auto_aim_bind|Auto Aim Toggle]] - Lets you assign a key to toggle the auto-aim feature.
*[[Auto_aim_bind|Auto Aim Toggle]] - Lets you assign a key to toggle the auto-aim feature.
*[[AutomateTurretToggle]] - turns the press-and-hold turret activator into a toggle on/off.
*[[Chainfiring]] - "Cowboy style" shooting
*[[Chainfiring]] - "Cowboy style" shooting
*[[Channel_toggle|Channel Toggle]] - Allows the player to cycle through several channels with the press of a button.
*[[Channel_toggle|Channel Toggle]] - Allows the player to cycle through several channels with the press of a button.
*[[Combat_Flight_Assist|Combat Flight Assist]] - Allows player to control the lateral direction of their ship during combat with FA off.
*[[Combat_Flight_Assist|Combat Flight Assist]] - Allows player to control the lateral direction of their ship during combat with FA off.
*[[Controllable_rotation_bind|Controllable Rotation Speed]] - Lets you change your ship's rotation speed (with limits, of course).
*[[Controllable_rotation_bind|Controllable Rotation Speed]] - Lets you change your ship's rotation speed (with limits, of course).
*[[Controlled_burn_bind|Controlled Burn]] - Allows user to boost indefinitely with timed bursts.
*[[Controlled_Burn_bind|Controlled Burn]] - Allows user to boost indefinitely with timed bursts.
*[[Diamond_dodge_bind|Diamond Dodge]] - Automatic diamond-shaped dodge, useful against energy weapons (although it is a cheap tactic).
*[[Diamond_dodge_bind|Diamond Dodge]] - Automatic diamond-shaped dodge, useful against energy weapons (although it is a cheap tactic).
*[[Dvorak_bind|Dvorak Keyboard]] - for those using the Dvorak keyboard.
*[[Dvorak_bind|Dvorak Keyboard]] - for those using the Dvorak keyboard.
Line 104: Line 111:
*[[Turbo_lock_bind|Turbo Lock]] - Lets you change the tab key to toggle turbo, or to act normally.
*[[Turbo_lock_bind|Turbo Lock]] - Lets you change the tab key to toggle turbo, or to act normally.
*[[Variable_zoom_bind|Variable Zoom]] - Allows you to zoom in/out incrementally, using the mouse wheel if you so desire.
*[[Variable_zoom_bind|Variable Zoom]] - Allows you to zoom in/out incrementally, using the mouse wheel if you so desire.
*[[Who_Bind|Who Bind]] - Show who is currently logged on.


==Command line Binds==
==Command line Binds==
Line 126: Line 132:
[[Category:General Information]]
[[Category:General Information]]
[[Category:Binds]]
[[Category:Binds]]
[[Category:Configuration]]