############################################################################### # # # ControlDefs # # # ############################################################################### [ControlDefs] [ControlDef] # Summary # -------- # Left Right Up Down Jump # Throw Drop Use # ThrowAlt DropAlt UseAlt # # CancelUse CancelMenu # # Grab Ungrab GrabPrevious GrabNext PushEnter # # Enter Exit # # NextCrew PreviousCrew # # MenuCancel MenuOK MenuDown MenuUp MenuLeft MenuRight MenuSelect # ObjectMenuCancel ObjectMenuOK ObjectMenuSelect ObjectMenuSelectAll # ObjectMenuDown ObjectMenuUp ObjectMenuLeft ObjectMenuRight # PlayerMenu # # CursorPos # # Backpack # # with Mouse # --------------- # Aim GUICursor GUIClick1 GUIClick2 # # Gamepad controls # ------------------------------------- # ThrowDelayed ThrowAltDelayed # UseDelayed UseAltDelayed # AimUp AimDown AimLeft AimRight # AimAxisUp AimAxisDown AimAxisLeft AimAxisRight # # with Keyboard # ------------------ # Hotkey1 Hotkey2 Hotkey3 Hotkey4 Hotkey5 Hotkey6 Hotkey7 Hotkey8 Hotkey9 # Hotkey0 # # PlayerHotkey1 PlayerHotkey2 PlayerHotkey3 PlayerHotkey4 PlayerHotkey5 # PlayerHotkey6 PlayerHotkey7 PlayerHotkey8 PlayerHotkey9 PlayerHotkey0 # [ControlDef] Identifier=Aim DefaultDisabled=1 [ControlDef] Identifier=GUICursor DefaultDisabled=1 [ControlDef] Identifier=AimUp DefaultDisabled=1 Hold=1 [ControlDef] Identifier=AimDown DefaultDisabled=1 Hold=1 [ControlDef] Identifier=AimLeft DefaultDisabled=1 Hold=1 [ControlDef] Identifier=AimRight DefaultDisabled=1 Hold=1 [ControlDef] Identifier=AimAxisUp GUIName=Aim up Hold=1 [ControlDef] Identifier=AimAxisDown GUIName=Aim down Hold=1 [ControlDef] Identifier=AimAxisLeft GUIName=Aim left Hold=1 [ControlDef] Identifier=AimAxisRight GUIName=Aim right Hold=1 # Movement [ControlDef] Identifier=Left GUIName=Left Hold=1 [ControlDef] Identifier=Right GUIName=Right Hold=1 [ControlDef] Identifier=Up GUIName=Up Hold=1 [ControlDef] Identifier=Down GUIName=Down Hold=1 [ControlDef] Identifier=Jump GUIName=Jump GUIDesc=Do the mario! # Inventory [ControlDef] Identifier=Throw GUIName=Throw GUIDesc=Throw selected inventory item Hold=1 [ControlDef] Identifier=ThrowDelayed GUIName=Throw GUIDesc=Throw selected inventory item Hold=1 [ControlDef] Identifier=Drop GUIName=Drop GUIDesc=Drop selected inventory item Hold=1 [ControlDef] Identifier=ThrowAlt GUIName=Throw 2 GUIDesc=Throw secondary selected inventory item Hold=1 [ControlDef] Identifier=ThrowAltDelayed GUIName=Throw 2 GUIDesc=Throw secondary selected inventory item Hold=1 [ControlDef] Identifier=DropAlt GUIName=Drop 2 GUIDesc=Drop secondary selected inventory item Hold=1 # Controlling (contents, vehicles, structures) [ControlDef] Identifier=Use GUIName=Use GUIDesc=Use selected or controlled item Hold=1 SendCursorPos=1 [ControlDef] Identifier=UseDelayed GUIName=Use GUIDesc=Use selected or controlled item Hold=1 SendCursorPos=1 [ControlDef] Identifier=CancelUse GUIName=Cancel Use GUIDesc=Cancel usage of selected or controlled item [ControlDef] Identifier=CancelMenu GUIName=Close Menu GUIDesc=Close a menu [ControlDef] Identifier=UseAlt GUIName=Use 2 GUIDesc=Use secondary selected or controlled item Hold=1 SendCursorPos=1 [ControlDef] Identifier=UseAltDelayed GUIName=Use 2 GUIDesc=Use secondary selected or controlled item Hold=1 SendCursorPos=1 [ControlDef] Identifier=Backpack GUIName=Backpack GUIDesc=Open/close backpack SendCursorPos=1 [ControlDef] Identifier=Grab GUIName=Grab GUIDesc=Grab vehicle SendCursorPos=1 [ControlDef] Identifier=Ungrab GUIName=Let go GUIDesc=Let go vehicle [ControlDef] Identifier=GrabPrevious GUIName=Grab previous GUIDesc=Grab the previous vehicle on the same spot [ControlDef] Identifier=GrabNext GUIName=Grab next GUIDesc=Grab the next vehicle on the same spot [ControlDef] Identifier=PushEnter GUIName=Push into building GUIDesc=Push the vehicle into the building [ControlDef] Identifier=Interact GUIName=Interact GUIDesc=Interact with object in landscape SendCursorPos=1 [ControlDef] Identifier=Enter GUIName=Enter GUIDesc=Go into the building SendCursorPos=1 [ControlDef] Identifier=Exit GUIName=Exit GUIDesc=Exit the building # Hotkeys (lower bar) [ControlDef] Identifier=Hotkey1 SendCursorPos=1 [ControlDef] Identifier=Hotkey2 SendCursorPos=1 [ControlDef] Identifier=Hotkey3 SendCursorPos=1 [ControlDef] Identifier=Hotkey4 SendCursorPos=1 [ControlDef] Identifier=Hotkey5 SendCursorPos=1 [ControlDef] Identifier=Hotkey6 SendCursorPos=1 [ControlDef] Identifier=Hotkey7 SendCursorPos=1 [ControlDef] Identifier=Hotkey8 SendCursorPos=1 [ControlDef] Identifier=Hotkey9 SendCursorPos=1 [ControlDef] Identifier=Hotkey0 SendCursorPos=1 # Crew [ControlDef] Identifier=NextCrew GUIName=Next crew member GUIDesc=Control next crew member [ControlDef] Identifier=PreviousCrew GUIName=Previous crew member GUIDesc=Control previous crew member [ControlDef] Identifier=PlayerHotkey1 [ControlDef] Identifier=PlayerHotkey2 [ControlDef] Identifier=PlayerHotkey3 [ControlDef] Identifier=PlayerHotkey4 [ControlDef] Identifier=PlayerHotkey5 [ControlDef] Identifier=PlayerHotkey6 [ControlDef] Identifier=PlayerHotkey7 [ControlDef] Identifier=PlayerHotkey8 [ControlDef] Identifier=PlayerHotkey9 [ControlDef] Identifier=PlayerHotkey0 # Menu control [ControlDef] Identifier=GUIClick1 GUIName=Click GUIDesc=Click selected or controlled GUI item DefaultDisabled=1 Hold=1 [ControlDef] Identifier=GUIClick2 GUIName=Right click GUIDesc=Right click selected or controlled GUI item DefaultDisabled=1 Hold=1 [ControlDef] Identifier=MenuOK GUIName=OK Action=MenuOK [ControlDef] Identifier=MenuSelect GUIName=Select GUIDesc=Select specific item Action=MenuSelect [ControlDef] Identifier=MenuCancel GUIName=Close menu Action=MenuCancel [ControlDef] Identifier=MenuLeft Action=MenuLeft [ControlDef] Identifier=MenuRight Action=MenuRight [ControlDef] Identifier=MenuUp Action=MenuUp [ControlDef] Identifier=MenuDown Action=MenuDown # hardcoded identifier called by engine mouse control - do not change! [ControlDef] Identifier=ObjectMenuOK Action=ObjectMenuOK [ControlDef] Identifier=ObjectMenuOKAll Action=ObjectMenuOKAll [ControlDef] Identifier=ObjectMenuSelect Action=ObjectMenuSelect [ControlDef] Identifier=ObjectMenuCancel Action=ObjectMenuCancel [ControlDef] Identifier=ObjectMenuLeft Action=ObjectMenuLeft [ControlDef] Identifier=ObjectMenuRight Action=ObjectMenuRight [ControlDef] Identifier=ObjectMenuUp Action=ObjectMenuUp [ControlDef] Identifier=ObjectMenuDown Action=ObjectMenuDown # control sent by engine along controls with SendCursorPos=1 [ControlDef] Identifier=CursorPos # Extra buttons... [ControlDef] Identifier=PlayerMenu GUIName=Player menu GUIDesc=Open/close player menu Action=Menu # Viewport Zoom [ControlDef] Identifier=ZoomIn GUIName=Zoom in GUIDesc=Increase viewport zoom Action=ZoomIn Hold=1 RepeatDelay=3 [ControlDef] Identifier=ZoomOut GUIName=Zoom out GUIDesc=Decrease viewport zoom Action=ZoomOut Hold=1 RepeatDelay=3 [ControlDef] Identifier=WheelZoomIn GUIName=Zoom in GUIDesc=Increase viewport zoom Action=ZoomIn [ControlDef] Identifier=WheelZoomOut GUIName=Zoom out GUIDesc=Decrease viewport zoom Action=ZoomOut ############################################################################### # # # ControlSets # # # ############################################################################### [ControlSets] # ======================================================================= # # Mouse control with keyboard (QWERTY) # # ======================================================================= # # # # Summary # -------- # Left A # Right D # Up, Jump W # Down S # # Hotkey0-9 (0-9) # # Use, Throw Left mouse button # Drop S+Left mouse button # Throw Shift+Left mouse button # # UseAlt, ThrowAlt Right mouse button # DropAlt S+Right mouse button # ThrowAlt Shift+Right mouse button # # Interact Space # # Backpack Q # # NextCrew T # PreviousCrew R # PlayerHotkey0-9 Shift+(0-9) # # MenuOK Return # MenuCancel Backspace # # PlayerMenu F [ControlSet] Name=WASD_Hotkeys_IntQueue_MouseCon_ GUIName=Keyboard and Mouse Keyboard=1 Mouse=1 Gamepad=0 # Backpack [Assignment] Key=Q Control=Backpack # Menu [Assignment] Key=F Control=PlayerMenu [Assignment] Key=Space Priority=100 Control=MenuOK [Assignment] Key=Backspace Priority=100 Control=MenuCancel # Movement [Assignment] Key=A Priority=50 Control=Left [Assignment] Key=D Priority=50 Control=Right [Assignment] Key=S Priority=50 Control=Down [Assignment] Key=W Priority=50 Control=Up [Assignment] Key=W Priority=10 Control=Jump # Object interaction [Assignment] Key=Space Priority=35 Control=Interact # Crew [Assignment] Key=R Control=PreviousCrew [Assignment] Key=T Control=NextCrew # Use [Assignment] Key=GameMouse1ButtonLeft Priority=100 Control=Use [Assignment] Key=GameMouse1ButtonRight Priority=100 Control=UseAlt # click in gui [Assignment] Key=Mouse1ButtonLeft Priority=300 Control=GUIClick1 [Assignment] Key=Mouse1ButtonRight Priority=300 Control=GUIClick2 # Zoom [Assignment] Key=Mouse1Wheel1Up Priority=100 Control=WheelZoomIn [Assignment] Key=Mouse1Wheel1Down Priority=100 Control=WheelZoomOut # ======================================================================= # # Mouse control with keyboard (DVORAK) # # ======================================================================= # # # # Summary # -------- # # See Keyboard_Mouse. Same but with DVORAK keyboard # [ControlSet] Name=DVORAK_Hotkeys_IntQueue_MouseCon_ GUIName=DVORAK keyboard and mouse Keyboard=1 Mouse=1 Gamepad=0 # Backpack [Assignment] Key=Apostrophe Control=Backpack # Menu [Assignment] Key=U Control=PlayerMenu [Assignment] Key=Space Priority=100 Control=MenuOK [Assignment] Key=Backspace Priority=100 Control=MenuCancel # Movement [Assignment] Key=A Priority=50 Control=Left [Assignment] Key=E Priority=50 Control=Right [Assignment] Key=O Priority=50 Control=Down [Assignment] Key=Comma Priority=50 Control=Up [Assignment] Key=Comma Priority=10 Control=Jump # Object interaction [Assignment] Key=Space Priority=35 Control=Interact # Crew [Assignment] Key=P Control=PreviousCrew [Assignment] Key=Y Control=NextCrew # Use [Assignment] Key=GameMouse1ButtonLeft Priority=100 Control=Use [Assignment] Key=GameMouse1ButtonRight Priority=100 Control=UseAlt # click in gui [Assignment] Key=Mouse1ButtonLeft Priority=300 Control=GUIClick1 [Assignment] Key=Mouse1ButtonRight Priority=300 Control=GUIClick2 # Zoom [Assignment] Key=Mouse1Wheel1Up Priority=100 Control=WheelZoomIn [Assignment] Key=Mouse1Wheel1Down Priority=100 Control=WheelZoomOut # ======================================================================= # # Dualshock-like gamepad (10-12 buttons, 1 D-Pad, 2 analog stick) # # ======================================================================= # # # This control definition is designed to be also compatible with gamepads # that only have ten buttons (4 main buttons [A-D], 4 shoulder buttons # [E-H], 2 buttons [I-J] in the front) and no analog stick. # # However it is not compatible with Sven's gamepad! (with 6 main buttons # but otherwise no analog stick and only 2 shoulder buttons). It would be # he found out a way how to distinguish shoulder buttons from main buttons # :P # # Summary # -------- # Left Joy1Left # Right Joy1Right # Up Joy1Up # Down Joy1Down # # AimAxisLeft, Left Joy1Axis1Min # AimAxisRight, Right Joy1Axis1Max # AimAxisUp, Up Joy1Axis2Min # AimAxisDown, Down Joy1Axis2Max # # Jump Joy1C # # Backpack Joy1E # # Use, Throw Joy1A # Drop Joy1Down+Joy1A # # UseAlt, ThrowAlt Joy1D # DropAlt Joy1Down+Joy1D # # Interact Joy1B # # MenuOK Joy1C # MenuCancel Joy1B # # NextCrew Joy1I # PlayerMenu Joy1J # # ZoomOut Joy1G # ZoomIn Joy1H [ControlSet] Name=Gamepad_GamepadCon_IntQueue_ GUIName=Gamepad Keyboard=0 Mouse=0 Gamepad=1 # Backpack [Assignment] Key=Joy1E Control=Backpack # Menu [Assignment] Key=Joy1J Control=PlayerMenu [Assignment] Key=Joy1C Control=MenuOK [Assignment] Key=Joy1B Control=MenuCancel # Movement [Assignment] Key=Joy1Left Priority=50 Control=Left [Assignment] Key=Joy1Right Priority=50 Control=Right [Assignment] Key=Joy1Down Priority=50 Control=Down [Assignment] Key=Joy1Up Priority=50 Control=Up [Assignment] Key=Joy1C Priority=10 Control=Jump [Assignment] Key=Joy1Axis1Min Priority=50 Control=Left [Assignment] Key=Joy1Axis1Max Priority=50 Control=Right [Assignment] Key=Joy1Axis2Max Priority=50 Control=Down [Assignment] Key=Joy1Axis2Min Priority=50 Control=Up [Assignment] Key=Joy1Axis1Min Priority=80 Control=AimAxisLeft [Assignment] Key=Joy1Axis1Max Priority=80 Control=AimAxisRight [Assignment] Key=Joy1Axis2Max Priority=80 Control=AimAxisDown [Assignment] Key=Joy1Axis2Min Priority=80 Control=AimAxisUp # Object interaction [Assignment] Key=Joy1B Priority=35 Control=Interact # Crew [Assignment] Key=Joy1I Control=NextCrew # Use, Throw, Drop [Assignment] Key=Joy1A Priority=100 Control=UseDelayed [Assignment] Key=Joy1D Priority=100 Control=UseAltDelayed [Assignment] Key=Joy1K Control=CancelUse # Zoom [Assignment] Key=Joy1H Priority=100 Control=ZoomIn [Assignment] Key=Joy1G Priority=100 Control=ZoomOut # ======================================================================= # # Default gamepad control # # ======================================================================= # [ControlSet] Name=*_GamepadCon_* [Assignment] Key=CON_Left Priority=70 Control=AimLeft [Assignment] Key=CON_Right Priority=70 Control=AimRight [Assignment] Key=CON_Down Priority=70 Control=AimDown [Assignment] Key=CON_Up Priority=70 Control=AimUp [Assignment] Key=CON_Down,CON_UseAltDelayed Priority=150 Control=DropAlt [Assignment] Key=CON_UseAltDelayed Priority=50 Control=ThrowAltDelayed [Assignment] Key=CON_Down,CON_UseDelayed Priority=150 Control=Drop [Assignment] Key=CON_UseDelayed Priority=50 Control=ThrowDelayed # ======================================================================= # # Default mouse control # # ======================================================================= # [ControlSet] Name=*_MouseCon_* # Aiming [Assignment] Key=GameMouse1Move Control=Aim Priority=50 [Assignment] Key=Mouse1Move Control=GUICursor Priority=100 # Forced Throw [Assignment] Key=Shift+CON_Use Priority=150 Control=Throw [Assignment] Key=Shift+CON_UseAlt Priority=150 Control=ThrowAlt # Standard throw [Assignment] Key=CON_Use Priority=50 Control=Throw [Assignment] Key=CON_UseAlt Priority=50 Control=ThrowAlt # Drop [Assignment] Key=CON_Down,CON_UseAlt Priority=150 Control=DropAlt [Assignment] Key=CON_Down,CON_Use Priority=150 Control=Drop # ======================================================================= # # Interaction queue # # ======================================================================= # [ControlSet] Name=*_IntQueue_* [Assignment] Key=CON_Interact Priority=50 Control=PushEnter [Assignment] Key=CON_Interact Priority=45 Control=GrabNext [Assignment] Key=CON_Interact Priority=40 Control=Ungrab [Assignment] Key=CON_Interact Priority=30 Control=Grab [Assignment] Key=CON_Interact Priority=25 Control=Exit [Assignment] Key=CON_Interact Priority=20 Control=Enter # ======================================================================= # # Default hotkey controls # # ======================================================================= # [ControlSet] Name=*_Hotkeys_* # Hotkeys [Assignment] Key=1 Control=Hotkey1 [Assignment] Key=2 Control=Hotkey2 [Assignment] Key=3 Control=Hotkey3 [Assignment] Key=4 Control=Hotkey4 [Assignment] Key=5 Control=Hotkey5 [Assignment] Key=6 Control=Hotkey6 [Assignment] Key=7 Control=Hotkey7 [Assignment] Key=8 Control=Hotkey8 [Assignment] Key=9 Control=Hotkey9 [Assignment] Key=0 Control=Hotkey0 [Assignment] Key=Shift+Hotkey1 Control=PlayerHotkey1 [Assignment] Key=Shift+Hotkey2 Control=PlayerHotkey2 [Assignment] Key=Shift+Hotkey3 Control=PlayerHotkey3 [Assignment] Key=Shift+Hotkey4 Control=PlayerHotkey4 [Assignment] Key=Shift+Hotkey5 Control=PlayerHotkey5 [Assignment] Key=Shift+Hotkey6 Control=PlayerHotkey6 [Assignment] Key=Shift+Hotkey7 Control=PlayerHotkey7 [Assignment] Key=Shift+Hotkey8 Control=PlayerHotkey8 [Assignment] Key=Shift+Hotkey9 Control=PlayerHotkey9 [Assignment] Key=Shift+Hotkey0 Control=PlayerHotkey0 # ======================================================================= # # Menu controls # # ======================================================================= # [ControlSet] Name=* # Menu control [Assignment] Key=CON_Left Priority=100 Control=MenuLeft [Assignment] Key=CON_Right Priority=100 Control=MenuRight [Assignment] Key=CON_Down Priority=100 Control=MenuDown [Assignment] Key=CON_Up Priority=100 Control=MenuUp [Assignment] Key=CON_Left Priority=90 Control=ObjectMenuLeft [Assignment] Key=CON_Right Priority=90 Control=ObjectMenuRight [Assignment] Key=CON_Down Priority=90 Control=ObjectMenuDown [Assignment] Key=CON_Up Priority=90 Control=ObjectMenuUp [Assignment] Key=CON_MenuOK Priority=90 Control=ObjectMenuOK [Assignment] Key=CON_MenuCancel Priority=90 Control=ObjectMenuCancel [Assignment] Key=CON_MenuCancel Priority=80 Control=CancelMenu # ======================================================================= # # Mouse control with keyboard (AZERTY) # # ======================================================================= # # # # Summary # -------- # Left Q # Right D # Up, Jump W # Down S # # Hotkey0-9 (0-9) # # Use, Throw Left mouse button # Drop S+Left mouse button # Throw Shift+Left mouse button # # UseAlt, ThrowAlt Right mouse button # DropAlt S+Right mouse button # ThrowAlt Shift+Right mouse button # # Interact Space # # Backpack A # # NextCrew T # PreviousCrew R # PlayerHotkey0-9 Shift+(0-9) # # MenuOK Return # MenuCancel Backspace # # PlayerMenu F [ControlSet] Name=ZQSD_Hotkeys_IntQueue_MouseCon_ GUIName=Keyboard and Mouse Keyboard=1 Mouse=1 Gamepad=0 # Backpack [Assignment] Key=A Control=Backpack # Menu [Assignment] Key=F Control=PlayerMenu [Assignment] Key=Space Priority=100 Control=MenuOK [Assignment] Key=Backspace Priority=100 Control=MenuCancel # Movement [Assignment] Key=Q Priority=50 Control=Left [Assignment] Key=D Priority=50 Control=Right [Assignment] Key=S Priority=50 Control=Down [Assignment] Key=Z Priority=50 Control=Up [Assignment] Key=Z Priority=10 Control=Jump # Object interaction [Assignment] Key=Space Priority=35 Control=Interact # Crew [Assignment] Key=R Control=PreviousCrew [Assignment] Key=T Control=NextCrew # Use [Assignment] Key=GameMouse1ButtonLeft Priority=100 Control=Use [Assignment] Key=GameMouse1ButtonRight Priority=100 Control=UseAlt # click in gui [Assignment] Key=Mouse1ButtonLeft Priority=300 Control=GUIClick1 [Assignment] Key=Mouse1ButtonRight Priority=300 Control=GUIClick2 # Zoom [Assignment] Key=Mouse1Wheel1Up Priority=100 Control=WheelZoomIn [Assignment] Key=Mouse1Wheel1Down Priority=100 Control=WheelZoomOut