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)
 
(85 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
+
! Crouch
| shift + 'w' || Moves camera up.
+
| Shift || Makes character crouch.
 
|-
 
|-
! Down
+
! Roll
| shift + 's' || Moves camera down.
+
| Shift while Moving || Makes character roll along the ground,  somersault while airborne, and regain control of its body when 'ragdolled.'
|}
 
 
 
 
 
=Tool/Mode Selection=
 
 
 
{| border="1" cellpadding="2"
 
 
|-
 
|-
! !! Control !! Behavior
+
! Jump
 +
| Space || Makes character jump. Use directional keys to aim jump direction. Hold longer to jump higher.
 
|-
 
|-
! Translate
+
! Wall Jump
| Click 'translate' button or press '4' || Sets tool to translate tool. When hovering over a selected object, cursor will indicate the currently chosen 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.
 
|-
 
|-
! Scale
+
! Wall Somersault
| Click 'scale' button or press '5' || Sets tool to scale 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.
 
|-
 
|-
! Rotate
+
! Wall Run
| Click 'rotate' button or press '6' || Sets tool to rotate 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.
 
|-
 
|-
! Paintbrush
+
! Ledge Grab
| Click 'paintbrush' button or press '3' || Sets tool to paintbrush tool.
+
| 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.
 
|-
 
|-
! Omni
+
! Pick Up a Weapon/Item
| 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.
+
| 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.
 
|-
 
|-
! Game mode
+
! Drop a Weapon/Item
| press '8' || Sends in Rabbot!
+
| 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.
 
|-
 
|-
! Editor mode
+
! Sheathe/Unsheathe a Weapon/Item
| press '9' || Back to editor mode.
+
| 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.
 
|-
 
|-
 
|}
 
|}
  
=Object Creation=
+
==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
 
|-
 
|-
! Load Object
+
! Punch/Kick
| 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.
+
| 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.
 
|-
 
|-
! Copy Objects
+
! Leg Sweep
| cmd-c || Copies all selected objects (and their relative placement) into a copy buffer.
+
| (While crouching) Left mouse button || Makes the player sweep the feet of you enemies, knocking them to the ground.
 
|-
 
|-
! Paste Objects
+
! Active Block
| cmd-v || Adds to scene all objects in the copy buffer. Centers objects at mouse location.
+
| 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.
 
|-
 
|-
!Paintbrush
+
! Active Dodge
| 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].
+
| 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
=Object Selection=
+
|  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.
 
+
|-
=Transformations=
+
! 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.
=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