Console Useful Controls: Difference between revisions

From The DarkMod Wiki
Jump to navigationJump to search
(reformat table as wiki syntax and remove all the double entries)
Line 1: Line 1:
''begun by Fidcal''
==Introduction==
==Introduction==


Line 20: Line 17:




<table width="100%" border="1" cellpadding="2">
{|border=1 cellspacing=0 cellpadding=3
<tr align="center" valign="middle">
 
<td colspan="3">Common Console Controls</td>
|-
</tr>
!bgcolor=#d0d0e0 colspan=3|Common Console Commands
<tr valign="bottom" align="center">
 
<td width="33%">Keyword</td>
|-
<td width="33%">Enter in Console</td>
!bgcolor=#ffdead|Command
<td width="33%">Comments</td>
!bgcolor=#ffdead|Description
</tr>
 
<tr valign="top" align="left">
|-
<td>AI joints, bones names, skeleton</td>
!align=left|r_showskel 1
<td>r_showskel 1</td>
|Shows skeleton in-game with joints names
<td>Shows skeleton in-game with joints names</td>
 
</tr>
|-
<tr valign="top" align="left">
!align=left|notarget
<td>AI not attack</td>
|enemy AI will not attack player
<td>notarget</td>
<td>enemy AI will not attack player</td>
</tr>


<tr valign="top" align="left">
|-
<td> Bones, joints names, skeleton of AI</td>
!align=left|g_showCollisionModels 1
<td>r_showskel 1</td>
|Shows collision models
<td>Shows skeleton in-game with joints names</td>
</tr>
<tr valign="top" align="left">
<td>Collision Models, show</td>
<td>g_showCollisionModels 1</td>
<td>Shows collision models</td>
</tr>
<tr valign="top" align="left">
<td>Drag moveable entities</td>
<td>g_dragentity 1</td>
<td>Aim at entity and hold attack control then pull back</td>
</tr>
<tr valign="top" align="left">
<td>Field of view zoom</td>
<td>g_fov N </td>
<td>N=angle of field of view, eg, g_fov
30 = zoom in to restrict field of view to 30 degrees. Default = 90</td>
</tr>


<tr valign="top" align="left">
|-
<td>Fly and go through solids (player)</td>
!align=left|g_dragentity 1
<td>noclip</td>
|Aim at entity and hold attack control then pull back
<td>Move any direction, up and down, without collision</td>
</tr>
<tr valign="top" align="left">
<td>fps : Show frames per second</td>
<td>com_showfps 1</td>
<td>Show fps to test performance.</td>
</tr>
<tr valign="top" align="left">
<td>Frames per second (fps) show</td>
<td>com_showfps 1</td>
<td>Show fps to test performance.</td>
</tr>
<tr valign="top" align="left">
<td>Friendly AI</td>
<td>notarget</td>
<td>enemy AI will not attack player</td>
</tr>


|-
!align=left|g_fov N
|N=angle of field of view, eg, '''<code>g_fov 30</code>''' = zoom in to restrict field of view to 30 degrees. Default = 90


<tr valign="top" align="left">
|-
<td>Invulnerable player</td>
!align=left|com_showfps 1
<td>god</td>
|Show fps to test performance.
<td>player cannot be harmed</td>
</tr>
<tr valign="top" align="left">
<td>Joints, bones names, skeleton of AI</td>
<td>r_showskel 1</td>
<td>Shows skeleton in-game with joints names</td>
</tr>
<tr valign="top" align="left">
<td>Player fly and go through solids</td>
<td>noclip</td>
<td>Move any direction, up and down, without collision</td>
</tr>
<tr valign="top" align="left">
<td>Player ignored by enemy</td>
<td>notarget</td>
<td>enemy AI will not attack player</td>
</tr>
<tr valign="top" align="left">
<td>Player invulnerable</td>
<td>god</td>
<td>player cannot be harmed</td>
</tr>
<tr valign="top" align="left">
<td>Performance : Show frames per second (fps)</td>
<td>com_showfps 1</td>
<tr valign="top" align="left">
<td>Pull moveable entities</td>
<td>g_dragentity 1</td>
<td>Aim at entity and hold attack control then pull back</td>
</tr>
<td>Show fps to test performance.</td>
<td>com_showfps 1</td>
<td>show frames per second</td>
</tr>


<tr valign="top" align="left">
|-
<td> Skeleton of AI with joints, bones names,</td>
!align=left|god
<td>r_showskel 1</td>
|Player cannot be harmed.
<td>Shows skeleton in-game with joints names</td>
</tr>
<tr valign="top" align="left">
<td>Show Collision Models</td>
<td>g_showCollisionModels 1</td>
<td>Shows collision models</td>
</tr>


<tr valign="top" align="left">
|}
<td>Show frames per second (fps)</td>
<td>com_showfps 1</td>
<td>Show fps to test performance.</td>
</tr>
<tr valign="top" align="left">
<td>Zoom field of view</td>
<td>g_fov N </td>
<td>N=angle of field of view, eg, g_fov
30 = zoom in to restrict field of view to 30 degrees.  Default = 90</td>
</tr>
</table>


[[Category:Editing]]
{{editing}}

Revision as of 12:52, 21 November 2009

Introduction

This is a list of common console commands and cvars that are of use to Dark Mod mappers and developers for testing etc. It is in order of key words and meaning. There is no use just adding a cvar or command - one can just look on any of the published lists. Instead think what will be in the user's head. For example, you want to know the joint name on a particular AI? You might be looking under J but instead you might be think B for bone, or indeed 'Wasn't there a cvar to show the AI skeleton?' so you look under S. Or the user might look first under AI. It should ideally be under all four...

Notes

  • Where a cvar or command is followed by a 1 (parameter) it can be taken that it is enabled by 1 and disabled by 0 unless otherwise stated.
  • Where a cvar or command is followed by a N (parameter) it indicates a range of values.
  • The current value of a cvar can be shown by entering its name without a value.
  • Parameters can be toggled between values by preceding the control with 'toggle' and following it with eg, 1 0. Example : toggle r_showtris 3 0
  • Controls can be bound to keys to be used in-game, including the toggle command, eg, bind "v" "toggle r_showportals 1 0"
  • Many controls can be included in the file Doomconfig.cfg in the darkmod folder so they are automatically effective.
  • Some controls are disabled on exit from a map; others are permanent until manually changed.


The List

Common Console Commands
Command Description
r_showskel 1 Shows skeleton in-game with joints names
notarget enemy AI will not attack player
g_showCollisionModels 1 Shows collision models
g_dragentity 1 Aim at entity and hold attack control then pull back
g_fov N N=angle of field of view, eg, g_fov 30 = zoom in to restrict field of view to 30 degrees. Default = 90
com_showfps 1 Show fps to test performance.
god Player cannot be harmed.