Difference between revisions of "Control Reference"

From Wolfire Games Wiki
Jump to: navigation, search
(Tool/Mode Selection)
(Editor/Debug Keys: Removed editor/debug keys and Added link to editor interface article that now has all the editor/debug keys)
 
(71 intermediate revisions by 16 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
+
! Crouch
 +
| Shift || Makes character crouch.
 
|-
 
|-
! Translate
+
! Roll
| Click 'translate' button or press '4' ||  Sets tool to translate tool. When hovering over a selected object, cursor will indicate the currently chosen tool.
+
| Shift while Moving || Makes character roll along the ground, somersault while airborne, and regain control of its body when 'ragdolled.'
 
|-
 
|-
! Scale
+
! Jump
| Click 'scale' button or press '5' || Sets tool to scale tool.
+
| Space || Makes character jump. Use directional keys to aim jump direction. Hold longer to jump higher.  
 
|-
 
|-
! Rotate
+
! Wall Jump
| Click 'rotate' button or press '6' || Sets tool to rotate tool.
+
| 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.
 
|-
 
|-
! Paintbrush
+
! Wall Somersault
| Click 'paintbrush' button or press '3' || Sets tool to paintbrush tool.
+
| 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.
 
|-
 
|-
! Omni
+
! Wall Run
| press '7' || Sets tool to omni tool. The 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.
+
| 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.
 
|-
 
|-
! Game mode
+
! Ledge Grab
| press '8' || Sends in Rabbot!
+
| 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.
|-
 
! Editor mode
 
| press '9' || Back to editor mode.
 
|-
 
! Rigging mode
 
| press 'cmd-r' || Go into rigging mode.
 
|-
 
! In game webbrowser
 
| press 'F1' || Open the in game webbrowser.
 
|-
 
 
 
Pressing escape while in rigging mode, get's you
 
not only back to editor mode but also gives you a different topbar!
 
|}
 
 
 
=Object Creation=
 
  
{| border="1" cellpadding="2"
+
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.
|-
 
!  !! Control !! Behavior
 
 
|-
 
|-
! Load Object
+
! Pick Up 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.
+
| 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.
 
|-
 
|-
! Copy Objects
+
! Drop a Weapon/Item
| cmd-c || Copies all selected objects (and their relative placement) into a copy buffer.
+
| 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.
 
|-
 
|-
! Paste Objects
+
! Sheathe/Unsheathe a Weapon/Item
| cmd-v || Adds to scene all objects in the copy buffer. Centers objects at mouse location.
+
| 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.
 
|-
 
|-
!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=
 
 
 
For all transformations:
 
 
 
* In order to transform an object you must first select it.
 
* Hold ctrl to make movements snap by discrete increments.
 
* Hold alt to transform a clone of an object (or multiple objects), leaving the original object behind
 
* Left-click controls a 'generic' version of the transformation; right-click controls a version of the transformation contextually specific to the clicked on face. Holding shift locks the transformation to a single axis.
 
* Groups are transformed about the group center. Ungrouped objects, even if multiple are selected and transformed at once, are transformed about their own individual centers.
 
 
 
==Translation==
 
 
 
Set tool to 'translation', or set tool to 'omni tool' and hover mouse over central region of a bounding box face, or set tool to 'omni tool' and hold 't'.
 
 
 
{| 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.
 
|-
 
|-
! Camera relative
+
! Throw a Weapon
| left-click + drag || Translates clicked on object along plane parallel to the screen.
+
| 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!
 
|-
 
|-
! Locked to plane
+
! Choke Hold (Unarmed)
| right-click + drag || Translates clicked on object along plane of clicked on face.
+
| 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.
 
|-
 
|-
! Locked to line
+
! Hostage Taking (Armed)
| shift + right-click + drag || Translates clicked on object along normal of clicked on face.
+
| 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.
|}
 
 
 
==Scale==
 
 
 
Set tool to 'scale', or set tool to 'omni tool' and hover mouse near bounding box vertices, or set tool to 'omni tool' and hold 'e'.
 
 
 
{| border="1" cellpadding="2"
 
 
|-
 
|-
! !! Control !! Behavior
+
! 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.
 
|-
 
|-
! All dimensions
 
| left-click + drag || Scales clicked on object in all dimensions (x, y, and z) at once.
 
|-
 
! Locked to plane
 
| right-click + drag || Extends clicked on object along plane of clicked on face.
 
|-
 
! Locked to line
 
| shift + right-click + drag || Extrudes clicked on object along normal of clicked on face.
 
 
|}
 
|}
  
==Mirror==
+
==Editor/Debug Keys==
  
Just use the right-click scale tool, and scale down the object until it flips and its mirror image begins scaling up!
+
See the [[Editor_Interface#Editor.2FDebug_Keys|editor interface]] article.
  
==Rotation==
+
==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
Set tool to 'rotation', or set tool to 'omni tool' and hover mouse near bounding box edges, or set tool to 'omni tool' and hold 'r'.
+
<br>
 
 
{| border="1" cellpadding="2"
 
|-
 
!  !! Control !! Behavior
 
|-
 
! Free
 
| left-click + drag || Rotates clicked on object as if you are pushing the surface of a ball.
 
|-
 
! Locked to axis
 
| right-click + drag || Rotates clicked on object about normal of clicked on face.
 
|}
 
 
 
=Grouping=
 
 
 
{| border="1" cellpadding="2"
 
|-
 
!  !! Control !! Behavior
 
|-
 
! Group objects
 
| 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.
 
|-
 
! Ungroup objects
 
| cmd-shift-g || All selected groups are disbanded at their outermost level.
 
|}
 
 
 
=Undo/Redo=
 
 
 
{| border="1" cellpadding="2"
 
|-
 
!  !! Control !! Behavior
 
|-
 
! Undo action
 
| cmd-z || Undoes the last completed action.
 
|-
 
! Redo action
 
| cmd-shift-z || Redoes the last undone action. Redo-able actions are cleared whenever the user completes a new action..
 
|}
 
 
 
=Object Removal=
 
 
 
{| border="1" cellpadding="2"
 
|-
 
!  !! Control !! Behavior
 
|-
 
! Delete object
 
| delete or backspace || Deletes all selected objects
 
|}
 
 
 
=Saving=
 
 
 
{| border="1" cellpadding="2"
 
|-
 
!  !! Control !! Behavior
 
|-
 
! 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.
 
|}
 
  
[[Category:Overgrowth]]
+
[[Category: Tutorials]]
[[Category:Map Editor]]
+
[[Category: Modding]]
[[Category:Help]]
+
[[Category: Overgrowth]]

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