- For commands in other games, see Console Commands.
Console Commands are a debugging tool available to PC players, adding a wide range of functionality to the game. On American English keyboards, the tilde key (~) will toggle the console screen, but on British English keyboards, that key is the backtick key (`). The backtick is pictured on the tilde key in the United States. The key is located below Escape ( Esc ) and just left of the one (1) key.
Comparisons with other games[]
As with The Elder Scrolls IV: Oblivion, and The Elder Scrolls V: Skyrim, Console commands are only available in the PC version of the game.
In Morrowind, ->
is used in place of the period used in its successors:
Player->SetWaterWalking 1
is correct.Player -> SetWaterWalking 1
is correct.Player.SetWaterWalking 1
is incorrect. Later editions of the game work this way.
The console[]
Entering codes[]
- Codes are not case sensitive; "a" is same as "A."
- Codes are shown as:
Code <Variable> <#>
- The
<
and>
are not entered with the code, # is replaced by the desired quantity.
- The
- The code to add an item is listed as:
AddItem <ItemID> <#>
- To add 500 gold the code is entered as:
additem gold_001 500
- If an ID contains a space it must be enclosed in quotes:
coc "balmora, guild of mages"
Targeting[]
To target an object, open the console and click the object. Its name will appear in the console title bar. An item targeted in the console is also called a reference.
Short Code and Prefix
[]
Short code refers to a code having a short form that can be used interchangeably with the Long form.
ToggleFogOfWar
is the long code form.TFOW
is the short code form.
Prefix
refers to a code needing a prefix to work as intended.
SetHealth <#>
will have no effect.Player->SetHealth <#>
will set the player character's max health to <#>.
Toggle commands[]
Command | Short Code or Prefix
|
Effect |
---|---|---|
ToggleAI
|
TAI | Toggle the NPC/creature AI |
ToggleBorders
|
TB | Toggles the display of exterior cell borders |
ToggleCombatStats
|
TCS | Toggles combat stats. |
ToggleCollision
|
TCL | Toggles clipping for the player and all NPCs in range. |
ToggleCollisionBoxes
|
TCB | |
ToggleCollisionGrid
|
TCG | Toggles display of the grid which controls how objects collide. |
ToggleDebugText
|
TDT | Toggles display of various debug texts on the screen, such as position & video framerate. |
ToggleDialogueStats
|
TDS | |
ToggleFogOfWar
|
TFOW | Toggles fog of war in the automap display. |
ToggleFullHelp
|
TFH | Shows ownership and script of objects the player looks at. Useful for knowing who to avoid selling stolen items to. |
ToggleGodMode
|
TGM | Makes the player invulnerable. One can actually still die, when using spells on characters or beasts with reflect. For example, when wearing the Mantle of Woe when the sun is out and casually moving around one will not die, but if the Nerevarine does certain actions such as using objects with "Cast When Used" enchantments or casting certain spells in such a situation the player will die. |
ToggleGrid
|
TG | Displays a grid showing the status of the active (exterior & interior) cells. |
ToggleKillStats
|
TKS | Displays statistics in the console on how many creatures one has killed each time they kill another. |
ToggleLoadFade
|
||
ToggleLights
|
TL | |
ToggleMagicStats
|
TMS | |
ToggleMenus
|
TM | Toggles display of menus and user interface. Useful for taking screenshots. |
ToggleScripts
|
Toggles scripts on and off. (useful if something is disabled by scripts) | |
ToggleStats
|
TST | Toggles display of the various debug statistics. |
ToggleSky
|
TS | Toggles the sky on and off. |
ToggleTextureString
|
TTS | Shows texture strings for targeted objects? |
ToggleWorld
|
TW | Turns off the world. NPCs will still display until the player moves their camera, at which point they will disappear. Does not actually turn off collision, only hides rendering. |
ToggleWireframe
|
TWF | Toggles the display of wireframe 3D objects. |
TogglePathGrid
|
TPG | Toggle path grid display. Displays the grid that helps define where NPCs can walk. |
ToggleVanityMode
|
TVM | Toggles the camera into third person, slowly rotating around the player. Note that unlike the vanity mode caused by not doing anything for awhile, this vanity mode must be toggled to go off. Mouse and keyboard commands do not reset it. Thus, this command allows for moving while the camera is rotating. |
Targeted commands[]
Command | Short Code or Prefix
|
Effect |
---|---|---|
Lock <#>
|
Locks the currently selected door or container at whatever lock <#> one inputs (0–100). | |
Resurrect
|
When used on corpse, resurrects it. NPCs that are dead from the beginning of game are not resurrected. When a NPC is resurrected they get all their items back. Can be used on creatures. | |
ShowGroup
|
SG | Show selected actor's group members |
ShowTargets
|
ST | Show selected actor's target group members. |
Unlock
|
Unlocks the targeted lock (door or container). | |
SetScale <#> | Set's the targeted NPC/Player to the given height. Replace <#> with the desired height. |
Quest commands[]
Command | Short Code or Prefix
|
Effect |
---|---|---|
AddTopic <TopicID>
|
Adds the specified topic. | |
FillJournal
|
Adds all Journal entries | |
Journal <QuestID>, <QuestStage>
|
Adds dialogue to the player's journal for a stage (given by <QuestStage>), of a quest (given by <QuestID>). |
Character commands[]
Command | Short Code or Prefix
|
Effect |
---|---|---|
AddItem <ItemID> <#>
|
Adds <#> of a specific item to the player’s inventory | |
AddSpell <SpellID>
|
Adds the specified spell | |
EnableLevelUpMenu
|
Enables the level-up menu | |
EnableStatReviewMenu
|
Brings up the character modification screen which can be used to change race and other stats. The player will lose all of their spells and their immunity to all diseases (if they have progressed far enough in the main quest). | |
EnableNameMenu
|
Opens name menu, where one can change the character's name. | |
EnableRaceMenu
|
Opens race menu, where one can change the character's race. | |
EnableClassMenu
|
Opens class menu, where one can change the character's class. | |
EnableBirthMenu
|
Opens birthsign menu, where one can change the character's birthsign. | |
FixMe
|
Move 128 units from current location. | |
RemoveSpellEffects <SpellID>
|
player ->
|
Removes the effect(s) of the specified spell. |
SetFatigue <#>
|
player ->
|
Set player’s maximum fatigue |
SetFlying <1>
|
player ->
|
Sets the player's flying mode. To work, enter the command and then cast a Levitate Spell. The effect should last until the player disables flying with the console (0). |
SetLevel <#>
|
player ->
|
Sets player level. For this to work properly, the player will have to either use the command, save the game and restart, or gain a level in the normal fashion after using this command. |
SetHealth <#>
|
player ->
|
Sets maximum health. |
SetCurrentHealth <#>
|
player ->
|
Sets current health. Health can be changed to Magicka or Fatigue
|
SetMagicka <#>
|
player ->
|
Sets maximum magic to value provided |
SetPCCrimeLevel <#>
|
Sets player Bounty to <#>. | |
SetReputation <#>
|
player ->
|
Adjusts reputation to the given number. |
SetSuperJump <1>
|
player ->
|
Allows super jump (0 — disables) |
SetWaterBreathing <1>
|
player ->
|
Allows breathing under water (0 — disables) |
SetWaterWalking <1>
|
player ->
|
Allows to walk on water (0 — disables). |
Set<AV> <#>
|
player ->
|
Sets the <AV> (skill such as SetBluntWeapon or attribute SetStrength etc.…). Caution: Increasing speed or acrobatics too high can have detrimental effects! |
- Most "Character commands" can be used on any NPC by targeting them in the console window, and typing the code without the
Player
->
prefix.
Other[]
Command | Short Code or Prefix
|
Effect |
---|---|---|
addsoulgem <CreatureID>, <soulgemID> 1
|
Adds a soul gem filled with the soul of whatever creature's ID is used. Console may not accept the numeric input {it may depend upon TES3 Build}. If PC has no empty Soulgems of the specified type, this commands adds 1 filled soulgem without numeric input. BEWARE: AddSoulgem will Fill ALL empty Soulgems in PC's inventory of the type in the command plus add 1 more as a bonus!! --DerEider (talk) 21:59, November 21, 2017 (UTC) | |
CenterOnCell <CellID>
|
COC | Moves the player to <CellID>. |
CenterOnExterior, <X, Y>
|
COE | Move to the center of the exterior cell coordinates <X, Y> |
ChangeWeather <region>, <type>
|
Region: The region's name
Type: The type of the weather 0 = Clear, 1 = Cloudy, 2 = Foggy, 3 = Overcast, 4 = Rain, 5 = Thunder, 6 = Ash, 7 = Blight, 8 = Snow (Bloodmoon required), 9 = Blizzard (Bloodmoon required) | |
CreateMaps <Filename.esp>
|
Creates map image file depending on the Create Maps Enable value in the Morrowind.INI file. If the value is 1, the file FILENAME.ESP.MAP is created in the DataFiles path with the map data. If the value is 2 and one has created a directory Maps in the main Morrowind game directory, this command will create a 256x256 high color bitmap of each exterior cell in the game. This command takes a long while even on fast computers as each cell in the game is loaded. | |
FillMap
|
Show all the marked locations on the world map (does not include solstheim). | |
GetFactionReaction <factionID> <factionID>
|
Display reaction values between two factions. | |
Getpos <x, y, or z>
|
player.
|
Gives the coordinates of the player character on the map. |
Help
|
Shows shorthand for most commands. | |
PlaceAtPC, <ObjectID>, <Count>, <Distance>, <Direction>
|
Places an object near the player. <Distance> is # of units away. <Direction> 1 is in front of the player, 3 is behind. | |
ModFactionReaction, [FactionID], [FactionID], [Value]
|
Changes Reaction values of first <FactionID> towards members of the second <FactionID>. | |
ResetActors
|
RA | Resets every NPC's location to where it originally was. |
Set GameHour To <#>
|
Example: set gamehour to 5 would set the time of day to 0500. Note: The game uses a 24-hour clock. While show gamehour returns floating point values (like 3.8646), set gamehour in the console only accepts integers (e.g., 3 or 4).
| |
Set Timescale To <#>
|
Changes the speed of the day/night cycle. <1> makes the day go at real-time speed; an in-game day would last 24 hours in real life. <10> will make it ten times as fast as real-time (i.e. one in-game day lasts 2.4 hours), etc. The default timescale is <30> (1 ingame day = 48 real minutes). | |
Show <variable>
|
Shows the value of a single variable. Example: Show PCVampire will return 0, 1, or -1 depending on the player's vampire state. | |
ShowScenegraph
|
SSG | Create a new Window on the desktop with all the game renderer's information. |
ShowVars
|
SV | Lists all the global and/or local variables. |
StopCellTest
|
SCT | Stops a cell test previously started by TestCells
|
TestCells
|
TC | |
TestInteriorCells
|
TIC | |
TestModels
|
T3D |