Changes

From Vendetta Online Wiki
Jump to: navigation, search

Binds

6,414 bytes added, 03:47, 27 July 2010
/* Using Quotes */
==BindsHow binds work==
In Vendetta Online, the player can customize their own '''binds and aliases ''' to improve their experience. Binds allow you to automate, or program steps, that can be accomplished on the command line within the game. These can range from a simple bind to toggle the auto-aim mode, to a complicated system of aliases and binds that can be used as an online encyclopedia.
===How to "Install" Binds===If operate sequentially. What this means is that if you are taking binds from another sourcecreate a bind that charges a charge cannon for 10 seconds, say the [[http://www.vendetta-online.com/x/msgboard/1/3229 Custom Binds and Aliases Thread]]then fires, you won't need to type them in manually unless you want to that is what it will do it . You cannot interrupt the hard waybind. - Find It will wait the file named __**wgaffull 10 seconds before finishing.cfg**__ in your Vendetta folder and open it. For Mac users, If you will have done something to **Show Package Contents** of discharge the Vendetta Online package in order to get to it. For Windows usersgun before then, 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 command to release the file in ''~/trigger "+Shoot1 0" will still go off at the appropriate time.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 Many binds that you want. - Copy and paste. - Clean up the WGAF file by removing any '/' characters can be operating at the beginning of the aliases same time, and/or binds you copiedoverlap their effects.
===The List=How to "Install" Binds== * [[If you are taking bindsfrom another source, say the [http:Auto Aim Toggle//www.vendetta-online.com/x/msgboard/1/3229 Custom Binds and Aliases Thread]] - Lets , you assign a key won't need to toggle type them in manually unless you want to do it the auto-aim featurehard way. * #Find the file named '''[[binds:Controllable Rotation Speedwgaf.cfg]] - Lets ''' in your Vendetta folder and open it. For Mac users, you change your shipwill have to '''Show Package Contents'''s rotation speed (with limits, of course)the Vendetta Online package in order to get to it. * [[binds:Diamond Dodge]] - Automatic diamond-shaped dodgeFor Windows users, useful against energy weapons (although you can find it is a cheap tactic)in either ''C:\Program Files\Guild Software\Vendetta\wgaf. * [[bindscfg'' or ''C:Emergency Brakes]] - Adds an "emergency brake" that causes almost instant stopping * [[binds:Inertial Dampening Controls]] - Lets \Program Files\Vendetta Online\wgaf.cfg'' depending on when you reset installed the "Inertial Dampeners"game. LetLinux users can find the file in 's you avoid control jitters and overshoots'~/. :P * [[binds:Message Target]] - allows you to send vendetta/wgaf.cfg''. You should open it in a private message to whomever you have targettedsimple text editor (not a word processing application), such as Notepad, TextEdit, vim, or possibly emacs. * [[#Pick the bind or binds:Key Ramping]] - Enables and Disables key ramping. Extremely useful if that you fly with a keyboardwant. * [[binds:Scanner]] - Automatic enemy scanner * [[binds:Self Destruct]] - Timed self destruct#Copy and paste. * [[binds:Turbo Lock]] - Lets you change #Clean up the tab key to toggle turbo, WGAF file by removing any '/' characters at the beginning of the aliases and/or to act normally. * [[binds:Variable Zoom]] - Allows you to zoom in/out incrementally, using the mouse wheel if you so desirecopied.
==Deleting a bind while in the game=How to Make Binds===The commands **/alias** and **/bind** are the only tools used to make your own command-line scripts and shortcuts.
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)=Syntax= When you use the /load filename.cfg command, the binds you have stored in the filename.cfg file will be loaded into the wgaf.cfg file. The filename.cfg file must be loaded from the same directory that wgaf.cfg lives, or you can type the full path to the bind in quotes. /load filename.cfg /load "C:\Program Files\Vendetta Online\binds\filename.cfg" The loaded file can be any text file, edited by the editor of your choice, even notepad (yuck) if you are so inclined. If you load a file that contains binds with the same name or alias, then the new ones will overwrite the existing binds. There is no way I know of to erase a bind from the command line in the wgaf.cfg file. If you need to do this you can either edit the wgaf.cfg file directly, or delete the wgaf.cfg file with Vendetta off. It will create a new default wgaf.cfg file, and then you can re-load all your preferred binds and configurations. This may become necessary because when Vendetta re-saves this file after every change, the order of the loaded binds is not preserved, and is stored in a manner that makes it hard to find all the related binds, or follow logical programming paths.  Using this way to load binds also allows you to test and troubleshoot the binds without having to reload the game every time. ==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. ==+/-== By placing a + or a - on the front of an alias, you designate that this is what happens when the key is pressed or released. It is very useful for altering the effects of joystick buttons, as it is the only way that you can designate a counter event when a button is released.  In the below example I have switched out the standard "+Shoot1" from the config.ini file for my own custom +guns alias. ==Example== [config.ini] JOYBUTTON0=+guns JOYBUTTON1=+Shoot3  [fire.cfg] alias +guns "+Shoot1 1" alias -guns "+Shoot1 0" ==Basic Binds==  A basic bind is written on a single line within the file and looks like this. bind "q" +RotateCWIn this case I have bound my q key to the Rotate Counter Clockwise command. You can bind any key press, except for joystick buttons, to any command or alias. ==The Alias== An alias is a designation of one or more commands defined in the wgaf.cfg file. What this means is that you can create any alias you like, and assign it specific commands. alias mt "+turbo 0"  This assigns the "mt" to the action of "+turbo 0". I personally recommend that you use aliases that have more meaning than the above. I have not found a limit on alias length, and it will make it easier to follow your own binds when you want to change them later. alias masterturbo "+turbo 0" To call an alias you can either bind it directly to a key, or call it directly from within another bind or alias.  bind "~" masterturbo alias foo masterturbo You can assign multiple commands to an alias, by separating them with a ";". 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.  alias example "alias foo '+Shoot1; wait 0.015 foo2'; foo3" ==Sets==Sets allow you to change on the fly various aspects of the game dynamics. For example you can change your music volume to maximum by using.. set snd_musicvolume '1.000000' These can also be added directly to wgaf.cfg or loaded from a text file. ==The List==*[[Auto_aim_bind|Auto Aim Toggle]] - Lets you assign a key to toggle the auto-aim feature.*[[Chainfiring]] - "Cowboy style" shooting*[[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.*[[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.*[[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.*[[Emergency_brakes_bind|Emergency Brakes]] - Adds an "emergency brake" that causes almost instant stopping*[[Hail_suite_bind|Hail Suite]] - Allows for the addition of up to ten individualized hails that can use either one or two lines.*[[Hail_suite_bind_mk2|Hail Suite with multicharacter abilities]] - The basic Hail Suite, only with multicharacter capability!*[[Inertial_dampening_bind|Inertial Dampening Controls]] - Lets you reset the "Inertial Dampeners". Let's you avoid control jitters and overshoots.*[[Key_ramping_bind|Key Ramping]] - Enables and Disables key ramping. Extremely useful if you fly with a keyboard.*[[Message_target_bind|Message Target]] - allows you to send a private message to whomever you have targetted.*[[Playlist_changer_bind|Playlist Changer]] - Allows you to switch through playlists of oggs or even individual oggs.*[[Scanner_bind|Scanner]] - Automatic enemy scanner*[[Self_destruct_bind|Self Destruct]] - Timed self destruct.*[[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. ==Command line Binds==The commands '''/alias''' and '''/bind''' are the only tools used to make your own command-line scripts and shortcuts when Vendetta is loaded, and you have opened a chat prompt. ==Syntax==
* /alias AliasName "Command text"
* /bind "Key" "AliasName"
===Use=== #Decide what you want your bind to do. In this example, we'll make a command that sends a string of text to your currently active channel.#Choose a name for your command. In this example, we'll pick a name that is simple; '''MyBind''' will do nicely.#Next we need to decide what to say. '''"This is my first Vendetta Online bind! w00t!"''' will suit this command well, don't you think?#Now we need to make the command. The syntax of the command we need to print to the channel is "'''/say_channel text'''", so type this into the console: '''/alias MyBind "say_channel This is my first Vendetta Online bind! w00t!"'''#Last, we need to bind it to a key. This would be typed in as '''/bind "p" "MyBind"'''#Now all you have to do in order to run this command is to either a) be inflight and hit the assigned key (p) or b) type '''/MyBind''' in the console. The latter works inside stations as well as outside them. For a full list of the Vendetta commands click [http://www.vendetta-online.com/manual/app_commands.html here] or for a more detailed explanation of the commands, go [[Command_List|here]].
- Decide what you want your bind to do. In this example, we'll make a command that sends a string of text to your currently active channel. - Choose a name for your command. In this example, we'll pick a name that is simple; **MyBind** will do nicely. - Next we need to decide what to say. **"This is my first Vendetta Online bind! w00t!"** will suit this command well, don't you think? - Now we need to make the command. The syntax of the command we need to print to the channel is "**/say_channel text**", so type this into the console[[Category: **/alias MyBind "say_channel This is my first Vendetta Online bind! w00t!"**General Information]] - Last, we need to bind it to a key. This would be typed in as **/bind "p" "MyBind"** - Now all you have to do in order to run this command is to either a) be inflight and hit the assigned key (p) or b) type **/MyBind** in the console. The latter works inside stations as well as outside them.\\ [[Category:Binds]]For a full list of the Vendetta commands click [[httpCategory://www.vendetta-online.com/manual/app_commands.html|hereConfiguration]]
7
edits