Difference between revisions of "Control Reference"

From Wolfire Games Wiki
Jump to: navigation, search
(Editor/Debug Keys: Removed editor/debug keys and Added link to editor interface article that now has all the editor/debug keys)
 
(67 intermediate revisions by 15 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
 
|  Click 'scale' button or press '5' ||  Sets tool to scale tool.
 
|-
 
! Rotate
 
| Click 'rotate' button or press '6' || Sets tool to rotate tool.
 
|-
 
! Paintbrush
 
| Click 'paintbrush' button or press '3' || Sets tool to paintbrush tool.
 
|-
 
! Omni
 
| 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.
 
 
|-
 
|-
! Game mode
+
! Crouch
| press '8' || Sends in Rabbot!
+
| Shift || Makes character crouch.
 
|-
 
|-
! Editor mode
+
! Roll
| press '9' || Back to editor mode.
+
| Shift while Moving || Makes character roll along the ground,  somersault while airborne, and regain control of its body when 'ragdolled.'
 
|-
 
|-
! Rigging mode
+
! Jump
| press 'cmd-r' || Go into rigging mode.
+
| Space || Makes character jump. Use directional keys to aim jump direction. Hold longer to jump higher.  
 
|-
 
|-
! In game webbrowser
+
! Wall Jump
| press 'F1' || Open the in game webbrowser.
+
| 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.
 
|-
 
|-
! Object browser
+
! Wall Somersault
| press 'cmd-l' || To enter object browser menu
+
| 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.
 
|-
 
|-
! Decal Selection tool /decal editor mode
+
! Wall Run
| press 'cmd-2' || To enter Decal selection/editor tool
+
| 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.
 
|-
 
|-
Pressing escape while in rigging mode, get's you
+
! Ledge Grab
not only back to editor mode but also gives you a different topbar!
+
| 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=
 
  
{| 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
 
|-
 
! Select single object
 
| 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.
 
|-
 
! Toggle-select objects
 
| shift + double-left-click on objects || Toggles whether or not clicked on object is selected. Preserves other existing selections.
 
|-
 
! Box select objects
 
| 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.
 
|-
 
! Box toggle-select objects
 
| 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.
 
 
|-
 
|-
! Select decal that is under another decal
+
! Action !! Control !! Behavior
| mouse wheel up/down || This onley works when you have atleast 2 decalsand one is on top of another. You need to select atleast 1 decal first and your mouse cursor needs to be on top of that one you want to select to do it
 
 
|-
 
|-
! Select all
+
! Punch/Kick
| cmd-a || Selects all objects.
+
| 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.
 
|-
 
|-
! Deselect all
+
! Leg Sweep
| double-left-click away from all objects || Deselects all objects.
+
| (While crouching) Left mouse button || Makes the player sweep the feet of you enemies, knocking them to the ground.
|}
 
 
 
=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
+
! 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.
 
|-
 
|-
! Camera relative
+
! Active Dodge
| left-click + drag || Translates clicked on object along plane parallel to the screen.
+
| 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.
 
|-
 
|-
! Locked to plane
+
! Shoulder Throw
| right-click + drag || Translates clicked on object along plane of clicked on face.
+
| 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.
 
|-
 
|-
! Locked to line
+
! Leg Cannon, aka Rabbit Kick
| shift + right-click + drag || Translates clicked on object along normal of clicked on face.
+
| (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.
 
|-
 
|-
! force decal(s) to map onley one object/group
+
! Slash/Stab
| hold i || selected decal will onley map with that object that is directly underneath your mouse
+
| (While holding weapon) Left mouse button || Context sensitive, like unarmed attacks. Makes the player attack with the weapon held in their main hand.
 
|-
 
|-
! force decal(s) to project onley those object(s) that you want them to
+
! Throw a Weapon
| press o || selected decal will onley map with that object that is directly underneath your mouse
+
| 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!
 
|-
 
|-
! projection pox/angel
+
! Choke Hold (Unarmed)
| press p || to make projection box for decal
+
| 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.
|-}
 
 
 
==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
+
! 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.
 
|-
 
|-
! All dimensions
+
! Throat Cut
| left-click + drag || Scales clicked on object in all dimensions (x, y, and z) at once.
+
| (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.
 
|-
 
|-
! 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==
 
 
Just use the right-click scale tool, and scale down the object until it flips and its mirror image begins scaling up!
 
 
==Rotation==
 
 
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'.
 
 
{| 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=
+
==Editor/Debug Keys==
 
 
{| 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=
+
See the [[Editor_Interface#Editor.2FDebug_Keys|editor interface]] article.
  
{| border="1" cellpadding="2"
+
==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
!  !! Control !! Behavior
+
<br>
|-
 
! 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: Tutorials]]
 
[[Category: Tutorials]]
 
[[Category: Modding]]
 
[[Category: Modding]]
 
[[Category: Overgrowth]]
 
[[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