[quote author=SharkD link=topic=3610.msg26471#msg26471 date=1243324686]
All of the strings are not self-explanatory (most of them are). Could you translate them into real English? Thanks.
[/quote]
Ah! Ok ok.... so sorry. U dun do programming i guess?
[code]
// key layout, don't modify for no reason
// If you want to know the keyname of a specific key - set in_debug cvar to 1 and press the key
These are comments, just ignore them. Think of them as text notes for programmers which does nothing in the actual compilation of bindings. These are universal bindings sorta, with menu binding, general binding and battle bindings.
unbindallmenu
unbindall
unbindallbattle
Not of concern to you at this point.
bind PAUSE "pause"
bind F1 "game_quicksave"
bind F2 "mn_push quickload"
bind F12 "r_screenshot"
bind F11 "hidehud"
bind F10 "mn_push irc"
bind is the command for telling the program what keys to assign to wat functions.
the next one is the button - i.e. F1 = F1 on keyboard. PAUSE for pause key (or the break key).
after that, is the function.
Hence, an example is "Press F11 to hide HUD [heads up display]".
Another example is "Press F12 for a screenshot".
bindbattle BACKSPACE "dooraction"
bindbattle HOME "+hudradar"
bindbattle KP_HOME "+hudradar"
These 3 buttons = i dunno. Maybe someone can enlighten us here? (Cos i dun use em....)
bind k "messagesay"
bind l "messagesayteam"
bind j "showchat"
These are chat related functions. K general chat. L for team chat. J i think is chat bar.
bindbattle e "nextround"
End turn.
bindbattle t "drawspottedlines;nextalienactor"
Draw line of sight from aliens to soldiers. (Or vice versa more likely, as in from our soldiers to sighted reds [aka enemies]).
bindbattle MOUSE1 "+select"
bindbattle MOUSE2 "+turn"
bindbattle MOUSE3 "+action"
These are mouse related buttons. Dun think we need em here for your layout purposes. But Mouse 1 is left mouse button (lmb), Mouse 2 (rmb) Right mouse button, Mouse 3 for centre click.
bind CTRL "+turn"
For turning soldier to direct of cursor, press CTRL key (Does not matter L or R, its the same to the computer at this point).
The following are used in battle only, hence, bindbattle.
bindbattle c "standcrouch"
C to stand / crouch soldier
bindbattle x "togglereaction"
x to toggle reaction fire.
bindbattle SPACE "nextalien"
Spacebar to toggle next alien sighted (toggle thru the aliens list available - aka seen).
bindbattle ENTER "confirmaction"
Enter to confirm action
bindbattle UPARROW "levelup"
Up arrow key for going up 1 level (or storey, from 1 to
bindbattle DOWNARROW "leveldown"
Down arrow key for going down 1 level (or storey, from 8 to 1)
These nx set of commands or shortcuts plays ard with rotating the field in battle. Try it to understand it better. LEFTARROW means the 4 arrow buttons below your scroll lock (on a standard keyboard). KP_LEFTARROW however (note the KP) is a different LEFT ARROW. Its the one nos 4 key on the keypad area, (aka w.o numlock).
bindbattle LEFTARROW "+turnleft"
bindbattle RIGHTARROW "+turnright"
bindbattle KP_LEFTARROW "+shiftleft"
bindbattle KP_RIGHTARROW "+shiftright"
These change the view of the battlefield, aka rotate....
Note that KP means keypad only (aka w/o the num light). I.e. KP_LEFTARROW, is the nos 4 on the keyboard - keypad area, w/o the numlock.
(See below also some other KP related buttons)
bindbattle KP_UPARROW "+shiftup"
bindbattle KP_DOWNARROW "+shiftdown"
bindbattle INS "+turnup"
bindbattle DEL "+turndown"
More rotational functions.
bind PGUP "+zoomin"
PAGE UP for Zoom in to point.
bind PGDN "+zoomout"
Likewise, PAGE DOWN for Zoom out from point.
bind MWHEELUP "zoominquant;"
bind MWHEELDOWN "zoomoutquant;"
These are mouse related functions. For understanding's sake, scroll up for zoom in and scroll down for zoom out - quant means something that i dunnoe, and probably wun bother. lol. Its probably a slight zoom? lol.
bind i "invopen"
I for Inventory of soldier screen.
bind w "+shiftup"
bind s "+shiftdown"
bind a "+shiftleft"
bind d "+shiftright"
Ah, WSAD ("Whoa, Sad" is wat i called these familiar keys, for those who are in FPS like CS and such games). These are same as the rotational buttons. Try em!
bindbattle r "+turnup"
bindbattle f "+turndown"
one should be turn left, the other turn right (with respect to [wrt] the soldier's view).
bindbattle q "+turn"
This should be the same function as CTRL, like turn to point of cursor?
bindbattle SHIFT "targetalign"
Align firing angle, To Air, To ground, to norm level, good for grenades and rockets?
bindbattle h "+hudradar"
Hide / show HUD. (Heads Up Display - aka that frame around the battle field, containing stats of soldiers, and stuff).
bind 1 "soldier_select 0"
bind 2 "soldier_select 1"
bind 3 "soldier_select 2"
bind 4 "soldier_select 3"
bind 5 "soldier_select 4"
bind 6 "soldier_select 5"
bind 7 "soldier_select 6"
bind 8 "soldier_select 7"
These select the soldier on the battle field. Aka, 1 for soldier nos 0, 2 for solider 1, 3 for soldier 2....etc.
Why start with 0? Programming constraints..... they start with 0 then move to 1 to 2 3.....
For our understanding, just know that 1 selects 1st soldier. 2 selects 2nd soldier. Yupz, something like dat.
[/code]
bind TAB "nextsoldier"
TAB key for next soldier selection.
// joystick
bind JOY1 "+select"
bind JOY2 "+turn"
bind JOY3 "+action"
bind JOY4 "standcrouch"
bind JOY5 "togglereaction"
bind JOY6 "nextalien"
bind JOY7 "confirmaction"
bind JOY8 "nextround"
bind JOY9 "nextsoldier"
bind JOY16 "levelup"
bind JOY17 "leveldown"
bind JOY18 "+turnleft"
bind JOY19 "+turnright"
bindmenu JOY1 "+leftmouse"
bindmenu JOY2 "+rightmouse"
bindmenu JOY3 "+middlemouse"
Keypad (joystick, gamepad) related menus.....
This whole chunk next is rubbish useless stuff to you for the purpose of mapping the keyboard shortcuts.... Its translations for the program to pick up and assign menu and key bindings.
bindmenu UPARROW "mn_textscroll ufopedia -1;mn_textscroll campaign_desc -1;mn_textscroll trans_list -1;mn_textscroll keylist -1;mn_textscroll irc_data -1;mn_textscroll prodlist -1;mn_textscroll prodlist_amount -1;"
bindmenu DOWNARROW "mn_textscroll ufopedia 1;mn_textscroll campaign_desc 1;mn_textscroll trans_list 1;mn_textscroll keylist 1;mn_textscroll irc_data 1;mn_textscroll prodlist 1;mn_textscroll prodlist_amount 1;"
bindmenu PGUP "mn_textscroll ufopedia -10;mn_textscroll campaign_desc -10;mn_textscroll trans_list -10;mn_textscroll keylist -10;mn_textscroll irc_data -10;mn_textscroll prodlist -10;mn_textscroll prodlist_amount -10;"
bindmenu PGDN "mn_textscroll ufopedia 10;mn_textscroll campaign_desc 10;mn_textscroll trans_list 10;mn_textscroll keylist 10;mn_textscroll irc_data 10;mn_textscroll prodlist 10;mn_textscroll prodlist_amount 10;"
Next are the Geoscape functions. (aka global functions)
Time Control
bindmenu BACKSPACE "game_timestop"
bindmenu - "game_timeslow"
bindmenu n "game_timeslow"
bindmenu = "game_timefast"
bindmenu + "game_timefast"
bindmenu m "game_timefast"
Backspace key to stop time.
- or n to slow time 1 step.
+ = or m to hasten time 1 step.
bindmenu SPACE "map_center"
Space to centre map at object.
bindmenu MOUSE1 "+leftmouse"
bindmenu MOUSE2 "+rightmouse"
bindmenu MOUSE3 "+middlemouse"
Mouse related stuff.... ignore for now. (I am tired. lol)
bind ^ "toggleconsole"
bind ` "toggleconsole"
bind ~ "toggleconsole"
^ (tabulator) key to toggle console. Same as for the ` (quote) key and the tilda (~) key.
Hope this is english enuf.
Anything else u will have to ask Mattn or someone OR something up there. LOL.
Someone should update the wiki UFOAI of these keys with these more useful info (plus alot more stuff i guess)......
*wink*