CODE
AvailableCommands=(UniqueName=Fire,FriendlyName="Fire",Command="Fire")
the example above is the simple fire primary weopon command,
CODE
Command="fire"
is the console command that will be run.
if we change this to
CODE
Command="SHOT"
the trigger will take a screen shot and place in the system folder as a bitmap.
rather than edit current code, it is better to add your own,
at the bottom of the curent list of commands set by the developer, add your own
CODE
AvailableCommands=(UniqueName=a name that does not conflict with current,FriendlyName="Fire",Command="commaands can be used from utk2 console")
the only problem is that there are only a certain amount of buttons to use, and most are used often, at first i tended to used the d-pad to activate certain commands.
this became annoying as in team games i could not order certain bots.
a way to get round this is to change a layout.
this is my current one:
CODE
[Layout_1] Title="Warning Seans Modded Keybinds" AButton=Jump
BButton=Ranged
XButton=MeleeAndPounce
YButton=Combo
BlackButton=NextThird
WhiteButton=PrevVoice
LeftTrigger=AltFire
RightTrigger=Fire
DPadUp=screen
DPadDown=Suiside
DPadLeft=Ghost
DPadRight=Walk
Start=Menu
Back=Scoreboard
LeftStickButton=Playersonly
RightStickButton=Lock
LeftStick=Move
RightStick=Look
i modified the second layout to my tastes, keeping the default as non-modified.
the "=fire" referes to the unique name refered in the commands list.
more added later in a edit