Changes

From Vendetta Online Wiki
Jump to: navigation, search

Binds

209 bytes removed, 03:47, 27 July 2010
/* Using Quotes */
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.
#Pick the bind or binds that you want.
#Copy and paste.
#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)==
==The config.ini File==
 A discussion on binds would not be complete without a discussion of the config.ini file. This file contains many itemsAmong other things, 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 stores configuration for any joystick that has been connected to your computer when you have played the gameinput peripherals. These are added automatically every time you plug in a new device, For more advanced configuration of these peripherals (particularly joysticks and old ones can and will clutter up the file if you do this frequently.  If you want to change a button to a bindgamepads), they behave differently than the keyboard binds. You cannot add joystick configurations to a filename.cfg file and load it, you must change see 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]] page.
==+/-==
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
alias foo 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.
==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 (‘').
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.
*[[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).
*[[Controlled_burn_bindControlled_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).
*[[Dvorak_bind|Dvorak Keyboard]] - for those using the Dvorak keyboard.
*[[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.
*[[Who_Bind|Who Bind]] - Show who is currently logged on.
==Command line Binds==
[[Category:General Information]]
[[Category:Binds]]
[[Category:Configuration]]
7
edits