Difference between revisions of "Control Reference"

From Wolfire Games Wiki
Jump to: navigation, search
(Object Selection)
(Editor/Debug Keys: Removed editor/debug keys and Added link to editor interface article that now has all the editor/debug keys)
 
(84 intermediate revisions by 20 users not shown)
Line 1: Line 1:
'Cmd' refers to the '⌘' key on Macs, and the 'Ctrl' key on PCs.
+
=Player Controls=
  
See the [http://blog.wolfire.com/2009/03/map-editor-controls/ original blog post].
+
Below are control references for all of the actions and maneuvers available while controlling a Player Character within the game.
  
= Camera Movement=
+
For controls relating to object placement and modification within the editor, see the [[Editor_Interface|editor interface]] page.
  
{| border="1" cellpadding="2"
+
==Character Movement==
 +
 
 +
{| class="wikitable"
 +
|-
 +
! Action !! Control !! Behavior
 
|-
 
|-
! !! Control !! Behavior
+
! Look
 +
| Mouse || Move the mouse to move the camera.
 
|-
 
|-
 
! Forward
 
! Forward
| 'w' || Moves camera forward.
+
| W || Moves character forward.
 
|-
 
|-
 
! Backward
 
! Backward
| 's' || Moves camera backward.
+
| S || Moves character backward.
 
|-
 
|-
 
! Left
 
! Left
| 'a' || Moves camera left.
+
| A || Moves character left.
 
|-
 
|-
 
! Right
 
! Right
| 'd' || Moves camera right.
+
| D || Moves character right.
|-
 
! Up
 
| shift + 'w' || Moves camera up.
 
|-
 
! Down
 
| shift + 's' || Moves camera down.
 
|}
 
 
 
 
 
=Tool/Mode Selection=
 
 
 
{| border="1" cellpadding="2"
 
|-
 
!  !! Control !! Behavior
 
|-
 
! Translate
 
|  Click 'translate' button or press '4' ||  Sets tool to translate tool. When hovering over a selected object, cursor will indicate the currently chosen tool.
 
 
|-
 
|-
! Scale
+
! Crouch
| Click 'scale' button or press '5' || Sets tool to scale tool.
+
| Shift || Makes character crouch.
 
|-
 
|-
! Rotate
+
! Roll
| Click 'rotate' button or press '6' || Sets tool to rotate tool.
+
| Shift while Moving || Makes character roll along the ground,  somersault while airborne, and regain control of its body when 'ragdolled.'
 
|-
 
|-
! Paintbrush
+
! Jump
| Click 'paintbrush' button or press '3' || Sets tool to paintbrush tool.
+
| Space || Makes character jump. Use directional keys to aim jump direction. Hold longer to jump higher.  
 
|-
 
|-
! Omni
+
! Wall Jump
| press '7' || Sets tool to omni tool. he omni tool combines the translation, scale, and rotate tools. See 'Transformation' section for details on how the omni tool decides which of its states to act in.
+
| Jump against vertical surface + Space on contact || Character jumps up and away from the wall - useful to gain altitude for climbing, or to quickly move away from a wall.
 
|-
 
|-
! Game mode
+
! Wall Somersault
| press '8' || Sends in Rabbot!
+
| Jump against vertical surface + Shift on contact || Character somersaults away from the wall. If space is held during the somersault, the character will travel upwards, at the same velocity as if they had wall-jumped. If space is not held during the somersault, the character will travel downwards.
 
|-
 
|-
! Editor mode
+
! Wall Run
| press '9' || Back to editor mode.
+
| Hold space while running on a wall || Character runs up a wall when coming at it straight on; runs along a wall if coming at it from an angle.
 
|-
 
|-
|}
+
! Ledge Grab
 +
| Hold right Mousebutton || Makes character grab horizontal ledges. While grabbing a ledge, using the A and D keys will shimmy along the ledge, and even around contiguous corners at the same height. Using W will cause the character to pull himself up the ledge, and releasing RMB allows the character to drop back to the ground.
  
=Object Creation=
+
If ''Settings → Game → Automatic Ledge Grab'' is on (which it is by default), right click has no effect, your character will instead automatically grab any ledges.
 
 
{| border="1" cellpadding="2"
 
 
|-
 
|-
! !! Control !! Behavior
+
! Pick Up a Weapon/Item
 +
| Hold Q || If close to a weapon or item, picks it up. Note: The character has a slight animation that must complete before you can release the Q key and still hold on to the weapon. Note 2: Weapons can even be picked up while rolling provided the character is close enough.
 
|-
 
|-
! Load Object
+
! Drop a Weapon/Item
| cmd-l (or click 'load' button) + left-mouse-click || Opens up a dialogue box in which the user may specify an xml file containing object data (anything in "./Data/Objects" or "./Data/Levels"). Places selected objects in scene, centered at mouse click.
+
| Press Shift + Q while looking down || Drops weapon. Note: Character must be on the ground to drop weapons or items, and dropping applies to contents of both hands.
 
|-
 
|-
! Copy Objects
+
! Sheathe/Unsheathe a Weapon/Item
| cmd-c || Copies all selected objects (and their relative placement) into a copy buffer.
+
| Press or hold  E || Sheathes or draws items or weapons. Press E to sheathe/unsheathe one item, hold E to sheathe/unsheathe two items. Note: Only one-handed weapons can be sheathed.
 
|-
 
|-
! Paste Objects
 
| cmd-v || Adds to scene all objects in the copy buffer. Centers objects at mouse location.
 
|-
 
!Paintbrush
 
| Set tool to 'paintbrush' + hold 'p' + left-click-and-drag || Quickly adds semi-randomized objects to the scene, centered about mouse location. Let go of 'b' to move camera. Control paintbrush properties with sliders and checkboxes in the 'Misc' UI panel. [http://blog.wolfire.com/2009/02/editor-paintbrush/ More info here].
 
 
|}
 
|}
  
=Object Selection=
+
==Attack and Defense==
  
{| border="1" cellpadding="2"
+
Note: A live and hostile enemy around one meter or less away from you is required in order to conduct most attacks. Some attacks can be done on fallen opponents when active threats are no longer imminent.
 +
{| class="wikitable"
 
|-
 
|-
! !! Control !! Behavior
+
! Action !! Control !! Behavior
 
|-
 
|-
! Select single object
+
! Punch/Kick
| double-left-click on object || Selects clicked on object and deselects all other objects. If the object is part of a group, the whole group is selected. Bounding box and slight glow indicate object is selected.
+
| Left mouse button || Context sensitive. The attack used depends on whether or not the character is in motion, the direction of that motion, and the distance between the character and the enemy. Exact attack may change depending on the controlled character.
 
|-
 
|-
! Toggle-select objects
+
! Leg Sweep
| shift + double-left-click on objects || Toggles whether or not clicked on object is selected. Preserves other existing selections.
+
| (While crouching) Left mouse button || Makes the player sweep the feet of you enemies, knocking them to the ground.
 
|-
 
|-
! Box select objects
+
! Active Block
| left-click + right-click + drag, or left-click + 'b' + drag || Selects all objects whose centers lie within box drawn on screen. Deselects all other objects.
+
| Right mouse button || If you tap right mouse button as you're being attacked, you will perform an active block that will leave your opponent open for a moment.
 
|-
 
|-
! Box toggle-select objects
+
! Active Dodge
| shift + left-click + right-click + drag, or shift + left-click + 'b' + drag || Toggles selection state for all objects whose centers lie within box drawn on screen. Preserves other existing selections.
+
| Movement Keys || If you move in a direction as you're being attacked, you'll perform an active dodge that will work against weapons while unarmed.
 
|-
 
|-
! Select all
+
! Shoulder Throw
| cmd-a || Selects all objects.
+
| Hold right mouse button || If you press and hold right mouse button right after performing an active block or active dodge, and you're close enough to your opponent, you perform a shoulder throw.
 
|-
 
|-
! Deselect all
+
! Leg Cannon, aka Rabbit Kick
| double-left-click away from all objects || Deselects all objects.
+
| (While airborne) Left mouse button || You'll kick with both legs towards the enemy's chest area, launching you in one direction and your opponent in the opposite direction.
|}
 
 
 
=Transformations=
 
 
 
=Grouping=
 
 
 
{| border="1" cellpadding="2"
 
 
|-
 
|-
! !! Control !! Behavior
+
! Slash/Stab
 +
| (While holding weapon) Left mouse button || Context sensitive, like unarmed attacks. Makes the player attack with the weapon held in their main hand.
 
|-
 
|-
! Group objects
+
! Throw a Weapon
| cmd-g || All selected objects and groups are joined into a new group. Groups are hierarchical, so grouped groups are treated as subgroups. Objects in a group are selected as a unit and transform as a unit.
+
| Press Q || If close to an enemy, the weapon will be thrown.  Larger weapons are less accurate; Knives and spears work best. If the enemy has detected you, he may catch and use the weapon. You can throw weapons while somersaulting over an enemy, as well; accuracy is decreased in this case, so use with caution!
 
|-
 
|-
! Ungroup objects
+
! Choke Hold (Unarmed)
| cmd-shift-g || All selected groups are disbanded at their outermost level.
+
| Hold right mouse button while unarmed (behind unaware enemy) || Choke holds are possible if an enemy has not yet detected your presence. From a choke hold you can render the enemy unconscious if you are unarmed, or are holding a staff. This works on rats, rabbits, and cats.
|}
 
 
 
=Undo/Redo=
 
 
 
{| border="1" cellpadding="2"
 
 
|-
 
|-
! !! Control !! Behavior
+
! Hostage Taking (Armed)
 +
| Hold right mouse button while armed (behind unaware enemy) || This works like choke holds, but allows you to take an enemy hostage if you are armed with a lethal weapon. You can cut their throat by attacking, or sheathe your weapon to choke them instead. Enemies held this way can be used to block projectiles. This works on rats, rabbits, and cats.
 
|-
 
|-
! Undo action
+
! Throat Cut
| cmd-z || Undoes the last completed action.
+
| (While holding enemy hostage, armed) Press Left mouse button || Quickly cuts the throat of enemy in choke hold. Kills them instantly. This works on rats, rabbits, and cats.
 
|-
 
|-
! Redo action
 
| cmd-shift-z || Redoes the last undone action. Redo-able actions are cleared whenever the user completes a new action..
 
 
|}
 
|}
  
=Object Removal=
+
==Editor/Debug Keys==
  
{| border="1" cellpadding="2"
+
See the [[Editor_Interface#Editor.2FDebug_Keys|editor interface]] article.
|-
 
!  !! Control !! Behavior
 
|-
 
! Delete object
 
| delete or backspace || Deletes all selected objects
 
|}
 
  
=Saving=
+
==Using a Controller==
 +
Overgrowth does currently support the use of controllers; for instructions on how to set this up and change the controller configuration, visit http://wiki.wolfire.com/index.php/Configuring_Overgrowth
 +
<br>
  
{| border="1" cellpadding="2"
+
[[Category: Tutorials]]
|-
+
[[Category: Modding]]
!  !! Control !! Behavior
+
[[Category: Overgrowth]]
|-
 
! Auto-save
 
| Automatic || Every 30 seconds or so the program automatically saves the entire level to the file "./Data/Levels/autosave.xml".
 
|-
 
! Save level
 
| cmd-s || Saves entire level to the same path as the level was opened from, overwriting the old level file.
 
|-
 
! Save selected objects
 
| cmd-shift-s || Saves-as all selected objects to a path specified by the user in a dialogue box.
 
|}
 

Latest revision as of 17:25, 15 January 2018

Player Controls

Below are control references for all of the actions and maneuvers available while controlling a Player Character within the game.

For controls relating to object placement and modification within the editor, see the editor interface page.

Character Movement

Action Control Behavior
Look Mouse Move the mouse to move the camera.
Forward W Moves character forward.
Backward S Moves character backward.
Left A Moves character left.
Right D Moves character right.
Crouch Shift Makes character crouch.
Roll Shift while Moving Makes character roll along the ground, somersault while airborne, and regain control of its body when 'ragdolled.'
Jump Space Makes character jump. Use directional keys to aim jump direction. Hold longer to jump higher.
Wall Jump Jump against vertical surface + Space on contact Character jumps up and away from the wall - useful to gain altitude for climbing, or to quickly move away from a wall.
Wall Somersault Jump against vertical surface + Shift on contact Character somersaults away from the wall. If space is held during the somersault, the character will travel upwards, at the same velocity as if they had wall-jumped. If space is not held during the somersault, the character will travel downwards.
Wall Run Hold space while running on a wall Character runs up a wall when coming at it straight on; runs along a wall if coming at it from an angle.
Ledge Grab Hold right Mousebutton Makes character grab horizontal ledges. While grabbing a ledge, using the A and D keys will shimmy along the ledge, and even around contiguous corners at the same height. Using W will cause the character to pull himself up the ledge, and releasing RMB allows the character to drop back to the ground.

If Settings → Game → Automatic Ledge Grab is on (which it is by default), right click has no effect, your character will instead automatically grab any ledges.

Pick Up a Weapon/Item Hold Q If close to a weapon or item, picks it up. Note: The character has a slight animation that must complete before you can release the Q key and still hold on to the weapon. Note 2: Weapons can even be picked up while rolling provided the character is close enough.
Drop a Weapon/Item Press Shift + Q while looking down Drops weapon. Note: Character must be on the ground to drop weapons or items, and dropping applies to contents of both hands.
Sheathe/Unsheathe a Weapon/Item Press or hold E Sheathes or draws items or weapons. Press E to sheathe/unsheathe one item, hold E to sheathe/unsheathe two items. Note: Only one-handed weapons can be sheathed.

Attack and Defense

Note: A live and hostile enemy around one meter or less away from you is required in order to conduct most attacks. Some attacks can be done on fallen opponents when active threats are no longer imminent.

Action Control Behavior
Punch/Kick Left mouse button Context sensitive. The attack used depends on whether or not the character is in motion, the direction of that motion, and the distance between the character and the enemy. Exact attack may change depending on the controlled character.
Leg Sweep (While crouching) Left mouse button Makes the player sweep the feet of you enemies, knocking them to the ground.
Active Block Right mouse button If you tap right mouse button as you're being attacked, you will perform an active block that will leave your opponent open for a moment.
Active Dodge Movement Keys If you move in a direction as you're being attacked, you'll perform an active dodge that will work against weapons while unarmed.
Shoulder Throw Hold right mouse button If you press and hold right mouse button right after performing an active block or active dodge, and you're close enough to your opponent, you perform a shoulder throw.
Leg Cannon, aka Rabbit Kick (While airborne) Left mouse button You'll kick with both legs towards the enemy's chest area, launching you in one direction and your opponent in the opposite direction.
Slash/Stab (While holding weapon) Left mouse button Context sensitive, like unarmed attacks. Makes the player attack with the weapon held in their main hand.
Throw a Weapon Press Q If close to an enemy, the weapon will be thrown. Larger weapons are less accurate; Knives and spears work best. If the enemy has detected you, he may catch and use the weapon. You can throw weapons while somersaulting over an enemy, as well; accuracy is decreased in this case, so use with caution!
Choke Hold (Unarmed) Hold right mouse button while unarmed (behind unaware enemy) Choke holds are possible if an enemy has not yet detected your presence. From a choke hold you can render the enemy unconscious if you are unarmed, or are holding a staff. This works on rats, rabbits, and cats.
Hostage Taking (Armed) Hold right mouse button while armed (behind unaware enemy) This works like choke holds, but allows you to take an enemy hostage if you are armed with a lethal weapon. You can cut their throat by attacking, or sheathe your weapon to choke them instead. Enemies held this way can be used to block projectiles. This works on rats, rabbits, and cats.
Throat Cut (While holding enemy hostage, armed) Press Left mouse button Quickly cuts the throat of enemy in choke hold. Kills them instantly. This works on rats, rabbits, and cats.

Editor/Debug Keys

See the editor interface article.

Using a Controller

Overgrowth does currently support the use of controllers; for instructions on how to set this up and change the controller configuration, visit http://wiki.wolfire.com/index.php/Configuring_Overgrowth