No edit summary Tag: Visual edit |
(Undo revision 2831219 by 2A02:C7F:B866:E600:D4CA:E9A4:E5DA:AE1F (talk)) |
||
(25 intermediate revisions by 18 users not shown) | |||
Line 1: | Line 1: | ||
− | [[File: |
+ | [[File:Ob Console1.png|thumb|right|200px|Game screen showing the Console Command line. Light Bright toggled off. Wanted Poster set as reference.]] |
− | [[File: |
+ | [[File:Ob Console2.png|thumb|right|200px|Game screen showing the Console Command line. Light Bright toggled on. Wanted Poster set as reference.]] |
⚫ | |||
− | |||
⚫ | |||
'''Console Commands''' are a debugging tool available to PC players, adding a wide range of functionality to the game. The ''tilde'' key ( ~ ` ) toggles the console screen open and closed. On most English language keyboards, it sits below the ''Escape'' (''esc'') key, and just left of the ''1 (one)'' key. |
'''Console Commands''' are a debugging tool available to PC players, adding a wide range of functionality to the game. The ''tilde'' key ( ~ ` ) toggles the console screen open and closed. On most English language keyboards, it sits below the ''Escape'' (''esc'') key, and just left of the ''1 (one)'' key. |
||
Line 10: | Line 9: | ||
==The console== |
==The console== |
||
===Entering codes=== |
===Entering codes=== |
||
− | *Codes are not case sensitive; "a" is same as "A |
+ | *Codes are not case sensitive; "a" is same as "A." |
*Codes are shown as: <code>Code <Variable> <#></code> |
*Codes are shown as: <code>Code <Variable> <#></code> |
||
− | |||
**The <code><</code> and <code>></code> are not entered with the code, <code> </code> |
**The <code><</code> and <code>></code> are not entered with the code, <code> </code> |
||
**<nowiki>#</nowiki> is replaced by the desired quantity. |
**<nowiki>#</nowiki> is replaced by the desired quantity. |
||
*The code to add an item is listed as: <code>AddItem <ItemID> <#></code> |
*The code to add an item is listed as: <code>AddItem <ItemID> <#></code> |
||
− | |||
**If you wanted to add 500 gold, it would be entered as: <code>additem F 500</code> |
**If you wanted to add 500 gold, it would be entered as: <code>additem F 500</code> |
||
Line 22: | Line 19: | ||
To target an object, open the console and click the object. Its name will appear at the top center of the screen. An item targeted in the console is also called a reference. |
To target an object, open the console and click the object. Its name will appear at the top center of the screen. An item targeted in the console is also called a reference. |
||
− | ===Short |
+ | ===Short code and <code>prefix</code>=== |
− | Short code refers to a code having a short form that can be used interchangeably with the |
+ | Short code refers to a code having a short form that can be used interchangeably with the long form. |
*<code>ToggleFogOfWar</code> is the long code form. |
*<code>ToggleFogOfWar</code> is the long code form. |
||
*<code>TFOW</code> is the short form. If possible only this form is given. |
*<code>TFOW</code> is the short form. If possible only this form is given. |
||
Line 32: | Line 29: | ||
==Subpages== |
==Subpages== |
||
− | {| |
+ | {|class="wikitable" style="width: 80%; text-align: center;" |
!Alchemy |
!Alchemy |
||
!Armors |
!Armors |
||
!Items |
!Items |
||
|- |
|- |
||
− | |[[ |
+ | |[[/Alchemy|Potions and Poisons]]<br />[[/Apparatus|Apparatus]]<br />[[/Ingredients|Ingredients]] |
− | |[[ |
+ | |[[/Heavy Armors|Heavy]]<br />[[/Light Armors|Light]]<br />[[/Clothing|Clothing]]<br />[[/Jewelry|Jewelry]] |
− | |[[ |
+ | |[[/Books|Books]]<br />[[/Keys|Keys]]<br />[[/Miscellaneous|Miscellaneous]]<br />[[/Soul Gems|Soul Gems]]<br />[[/Sigil Stones|Sigil Stones]] |
|- |
|- |
||
!Weapons |
!Weapons |
||
Line 45: | Line 42: | ||
!Other |
!Other |
||
|- |
|- |
||
− | |[[ |
+ | |[[/Blade Weapons|Blade]]<br />[[/Blunt Weapons|Blunt]]<br />[[/Staves|Staves]]<br />[[/Bows|Bows]]<br />[[/Arrows|Arrows]] |
− | |[[ |
+ | |[[/Magic|Magic]]<br />[[/Diseases|Diseases]] |
− | |[[ |
+ | |[[/Characters|Characters]]<br />[[/Locations|Locations]]<br />[[/Weather|Weather]] |
|} |
|} |
||
==Toggle commands== |
==Toggle commands== |
||
− | {| |
+ | {|class="wikitable sortable highlight" style="width: 600px; text-align: center;" |
!Command |
!Command |
||
!Effect |
!Effect |
||
Line 65: | Line 62: | ||
|- |
|- |
||
|tcl |
|tcl |
||
− | |Toggle collision |
+ | |Toggle collision. If done with no target, toggles noclip on player. |
|- |
|- |
||
|pcb |
|pcb |
||
Line 77: | Line 74: | ||
|- |
|- |
||
|tfc |
|tfc |
||
− | | |
+ | |Toggle freeflying camera |
|- |
|- |
||
|tfow |
|tfow |
||
Line 89: | Line 86: | ||
|- |
|- |
||
|tgm |
|tgm |
||
− | |God Mode |
+ | |Toggles God Mode |
|- |
|- |
||
|thd |
|thd |
||
Line 95: | Line 92: | ||
|- |
|- |
||
|tlb |
|tlb |
||
− | |Toggle Lite Brite |
+ | |Toggle Lite Brite. This greatly brightens the world, and significantly improves performance. |
|- |
|- |
||
|tll |
|tll |
||
Line 129: | Line 126: | ||
==Targeted commands== |
==Targeted commands== |
||
− | {| |
+ | {|class="wikitable sortable highlight" style="width: 600px; text-align: center;" |
!Command |
!Command |
||
!Effect |
!Effect |
||
Line 140: | Line 137: | ||
|- |
|- |
||
|disable |
|disable |
||
− | |Disables an object or NPC |
+ | |Disables an object or NPC, removing it from the world. |
|- |
|- |
||
|enable |
|enable |
||
− | |Enables an object or NPC |
+ | |Enables an object or NPC, bringing it back into the world. |
|- |
|- |
||
|removeitem <BaseID> <qty> |
|removeitem <BaseID> <qty> |
||
Line 167: | Line 164: | ||
|- |
|- |
||
|createfullactorcopy |
|createfullactorcopy |
||
⚫ | |||
− | | |
||
⚫ | |||
|- |
|- |
||
|deletefullactorcopy |
|deletefullactorcopy |
||
|Deletes a clone of the target actor |
|Deletes a clone of the target actor |
||
|- |
|- |
||
− | |DuplicateAllItems < |
+ | |DuplicateAllItems <refID> |
|Duplicates all items from the target container to the referenced container. |
|Duplicates all items from the target container to the referenced container. |
||
|- |
|- |
||
Line 186: | Line 182: | ||
|- |
|- |
||
|lock <#> |
|lock <#> |
||
− | |Locks Target. <#> is the degree of complexity ( |
+ | |Locks Target. <#> is the degree of complexity (1–99). 100 is unpickable/needs a key. No <#> will relock to the original level. |
|- |
|- |
||
|unlock |
|unlock |
||
− | |Unlocks |
+ | |Unlocks targeted object. |
|- |
|- |
||
|moddisposition <ID> <+/-#> |
|moddisposition <ID> <+/-#> |
||
|Modify <target> disposition toward <ID> by <#>. |
|Modify <target> disposition toward <ID> by <#>. |
||
|- |
|- |
||
− | |moveto < |
+ | |moveto <refID/location > |
− | |Moves <target> to < |
+ | |Moves <target> to <refID> or <location>. e.g. moveto player |
|- |
|- |
||
|payfine |
|payfine |
||
Line 230: | Line 226: | ||
|Starts target combat |
|Starts target combat |
||
|- |
|- |
||
− | |startconversation < |
+ | |startconversation <refID>, <topic parameter?> |
− | |Starts NPC conversation WARNING: Failed use may cause player to get stuck, NPCs to freeze, and random dialogue to play. |
+ | |Starts NPC conversation. WARNING: Failed use may cause player to get stuck, NPCs to freeze, and random dialogue to play. |
|} |
|} |
||
*Most "Target commands" can be used on the player by targeting or prefixing with <code>Player.</code> in the console window. Some commands, such as <code>Kill</code> or <code>Disable</code> will crash the game when used on the player, while others may produce unexpected results. |
*Most "Target commands" can be used on the player by targeting or prefixing with <code>Player.</code> in the console window. Some commands, such as <code>Kill</code> or <code>Disable</code> will crash the game when used on the player, while others may produce unexpected results. |
||
==Quest commands== |
==Quest commands== |
||
− | {| |
+ | {|class="wikitable sortable highlight" style="width: 600px; text-align: center;" |
!Command |
!Command |
||
!Effect |
!Effect |
||
Line 284: | Line 280: | ||
==Character commands== |
==Character commands== |
||
− | {| |
+ | {|class="wikitable sortable highlight" style="width: 600px; text-align: center;" |
!Command |
!Command |
||
!Effect |
!Effect |
||
Line 298: | Line 294: | ||
|- |
|- |
||
|player.setlevel <#> |
|player.setlevel <#> |
||
− | |Change level to |
+ | |Change level to 1–255 |
− | |- |
||
− | |SetActorFullName "John Doe" |
||
− | |Change Name |
||
|- |
|- |
||
|SetPCFame |
|SetPCFame |
||
Line 315: | Line 308: | ||
|Change race/face/sex/name |
|Change race/face/sex/name |
||
|- |
|- |
||
+ | |ShowBirthsignMenu |
||
− | |Showbirthsignmenu |
||
− | | |
+ | |Changes Birthsign |
|- |
|- |
||
+ | |ShowClassMenu |
||
− | |showclassmenu |
||
− | | |
+ | |Changes Class |
|- |
|- |
||
+ | |ShowEnchantment |
||
− | |showenchantment |
||
|Enchanting window |
|Enchanting window |
||
|- |
|- |
||
Line 328: | Line 321: | ||
|- |
|- |
||
|swdp |
|swdp |
||
+ | |Shows those detecting the player |
||
− | |Show Who's Detecting Player |
||
|- |
|- |
||
|modpca <attribute> <#> |
|modpca <attribute> <#> |
||
Line 342: | Line 335: | ||
==Other== |
==Other== |
||
− | {| |
+ | {|class="wikitable sortable highlight" style="width: 600px; text-align: center;" |
!Command |
!Command |
||
!Effect |
!Effect |
||
Line 349: | Line 342: | ||
|Executes the file with name <filename> |
|Executes the file with name <filename> |
||
|- |
|- |
||
− | |coc <location |
+ | |coc <location> |
|Teleport to <location>(Center on Cell) |
|Teleport to <location>(Center on Cell) |
||
|- |
|- |
||
Line 359: | Line 352: | ||
|- |
|- |
||
|fov <value> |
|fov <value> |
||
− | |Changes the field of view of the player ( |
+ | |Changes the field of view of the player (0–180) |
|- |
|- |
||
|fw <ID> |
|fw <ID> |
||
− | | |
+ | |Forces specified weather conditions, without transitions |
|- |
|- |
||
|killall |
|killall |
||
|Kills all creatures in loaded area |
|Kills all creatures in loaded area |
||
|- |
|- |
||
− | |prid < |
+ | |prid <refId> |
− | | |
+ | |Picks reference (Console target) by ID |
|- |
|- |
||
|qqq |
|qqq |
||
− | | |
+ | |Exits the game without using menus |
|- |
|- |
||
|save <name> |
|save <name> |
||
Line 380: | Line 373: | ||
|- |
|- |
||
|show |
|show |
||
− | | |
+ | |Shows value of global variable |
|- |
|- |
||
|set <globalvar> to <value> |
|set <globalvar> to <value> |
||
Line 403: | Line 396: | ||
|Set Game Setting |
|Set Game Setting |
||
|} |
|} |
||
+ | |||
⚫ | |||
+ | <!--Interwiki links--> |
||
+ | [[ru:Консольные команды (Oblivion)]] |
||
⚫ | |||
[[Category:Oblivion: Lists]] |
[[Category:Oblivion: Lists]] |
Revision as of 17:30, 10 January 2019
- 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. The tilde key ( ~ ` ) toggles the console screen open and closed. On most English language keyboards, it sits below the Escape (esc) key, and just left of the 1 (one) key.
Comparisons with other games
As with The Elder Scrolls III: Morrowind and The Elder Scrolls V: Skyrim, console commands are only available in the PC version of the game.
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> <#>
- If you wanted to add 500 gold, it would be entered as:
additem F 500
- If you wanted to add 500 gold, it would be entered as:
Targeting
To target an object, open the console and click the object. Its name will appear at the top center of the screen. 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 form. If possible only this form is given.
Prefix
refers to a code needing a prefix to work as intended.
setlevel <#>
will have no effect.player.setlevel <#>
will set your level to <#>.
Subpages
Alchemy | Armors | Items |
---|---|---|
Potions and Poisons Apparatus Ingredients |
Heavy Light Clothing Jewelry |
Books Keys Miscellaneous Soul Gems Sigil Stones |
Weapons | Magic | Other |
Blade Blunt Staves Bows Arrows |
Magic Diseases |
Characters Locations Weather |
Toggle commands
Command | Effect |
---|---|
showsubtitle | Toggles NPC subtitles |
tai | Toggle AI |
tcai | Toggle combat AI |
tcl | Toggle collision. If done with no target, toggles noclip on player. |
pcb | Purge cell buffer |
tdetect | Toggle AI detection |
tdt | Toggle debug text |
tfc | Toggle freeflying camera |
tfow | Toggle fog of war; entire local area map revealed. |
tfh | Toggle full help |
tg | Toggle grass |
tgm | Toggles God Mode |
thd | Toggle Heads up Picture in Picture |
tlb | Toggle Lite Brite. This greatly brightens the world, and significantly improves performance. |
tll | Toggle land LOD |
tlv | Toggle leaves |
tm | Toggles menus |
tmg | Toggle Motion Guide |
tmm <#> | Toggle all map markers 1=Show 0=Hide |
ts | Toggle sky |
tt | Toggle trees; All trees turn invisible, but still clip. |
twf | Toggle wireframe mode |
twr | Toggle water radius |
tws | Toggle water rendering |
Targeted commands
Command | Effect |
---|---|
activate | Activate target |
additem <BaseID> <qty> | Adds item to inventory |
disable | Disables an object or NPC, removing it from the world. |
enable | Enables an object or NPC, bringing it back into the world. |
removeitem <BaseID> <qty> | Removes item from player character's inventory |
equipitem <BaseID> <NoUnequip> | Force equips an Item, must be in target's inventory. NoUnEquip 1 prevents the item from being unequiped. 0 or leaving it blank will equip it with normal behavior. |
removeallitems | Removes all items from player character's inventory |
addspell <SpellCode> | Adds spell to character's spell list |
removespell <SpellCode> | Removes spell from character's spell list |
dispel <SpellCode> | Dispels a specific magic effect from target. Works on enchantment effects affecting target. |
dispelallspells | Dispel all spell-based magic effects from target. Does not work on enchantment effects affecting target. |
createfullactorcopy | Clones target actor. Warning: if you copy a follower and then disable them, the game will act as if they were still following you, thus not allowing you to recruit any more members of that faction until that clone is killed or sent away. |
deletefullactorcopy | Deletes a clone of the target actor |
DuplicateAllItems <refID> | Duplicates all items from the target container to the referenced container. |
getav <attribute> | Get value of attribute, <attribute> includes basic attributes (strength, intelligence, etc.), derived attributes (health, magicka, etc.), NPC-only attributes (aggression, responsibility, etc.), skills (blade, blunt, etc.), and various spell effects. |
setav <attribute> <#> | Sets value of attribute. |
kill <victim> | Kills actor; Specifying <victim> will assign credit for the kill (quest updates, bounty, etc.). |
lock <#> | Locks Target. <#> is the degree of complexity (1–99). 100 is unpickable/needs a key. No <#> will relock to the original level. |
unlock | Unlocks targeted object. |
moddisposition <ID> <+/-#> | Modify <target> disposition toward <ID> by <#>. |
moveto <refID/location > | Moves <target> to <refID> or <location>. e.g. moveto player |
payfine | Pays character's criminal fines |
payfinethief | Pays criminal fines without removing stolen items from inventory |
placeatme <BaseID> <#> | Spawns a new copy of object in front of player. |
resurrect <#> | Resurrects target actor; 1 will make the target get up instead of respawning, thus allowing them to keep their equipment. If a corpse has vanished already, it will also need to be enabled. |
SetActorFullName <name> | Sets actor's name; <name> must be in quotes if it contains a space, e.g. "Jagar Tharn" |
setcrimegold <#> | Sets specified bounty on target |
setlevel <#> | Changes target's level |
SetOpenState <#> | Changes the opened/closed/locked state of a door; 1 will unlock and, if possible, open any door. 0 will close a door, if possible. |
SetOwnership <BaseID/FactionID> | Changes ownership of targeted item; No <owner> flag = Player |
stopcombat | Stops target combat |
startcombat | Starts target combat |
startconversation <refID>, <topic parameter?> | Starts NPC conversation. WARNING: Failed use may cause player to get stuck, NPCs to freeze, and random dialogue to play. |
- Most "Target commands" can be used on the player by targeting or prefixing with
Player.
in the console window. Some commands, such asKill
orDisable
will crash the game when used on the player, while others may produce unexpected results.
Quest commands
Command | Effect |
---|---|
completequest <qID> | Completes quest. |
caqs | Completes all quest stages. |
GetStage <qID> | Shows quest stage for <qID>. |
player.completequest <qID> | Removes quest from list. (Does not complete it. Will set any NPC following you for the quest to neutral. The NPC will follow, but not fight, and attack you if you hit them.) |
ShowQuestTargets | Shows active quests ID and stage. |
SetStage <qID> <Stg> | Advances <qID> to <stg>. Useful for bugged quests. (Increase the stage by 10.00 for each separate stage; 10.00 is accepted the quest.) |
setquestobject <BaseID> <flag> | Set Quest Object 1=Quest 0=NoQuest |
showfullquestlog <qID> | Shows all log entries for <Quest>. |
showquestlog | Show quest log. |
showquestlog 0 | Show current quest log. |
showquestlog 1 | Show completed quest log. |
sq | Show all quests and stage |
sqt | Show current quest |
movetoqt | Teleport to quest target. |
Character commands
Command | Effect |
---|---|
advlevel | Force a level up |
advskill <skill> <#> | Force a skill up # levels |
player.setAV <Ability/attribute> <#> | Change your current ability/attribute |
player.setlevel <#> | Change level to 1–255 |
SetPCFame | Set fame |
SetPCInfamy | Set infamy |
SexChange | Change Gender |
ShowRaceMenu | Change race/face/sex/name |
ShowBirthsignMenu | Changes Birthsign |
ShowClassMenu | Changes Class |
ShowEnchantment | Enchanting window |
ShowSpellMaking | Spell creation screen |
swdp | Shows those detecting the player |
modpca <attribute> <#> | Adds # points to an attribute |
modpcs <skill> <#> | Adds # points to the skill |
psb | Add all spells to player |
- 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 | Effect |
---|---|
bat <filename> | Executes the file with name <filename> |
coc <location> | Teleport to <location>(Center on Cell) |
coe <X>,<Y> | Teleport to exact <location> coordinates |
enableplayercontrols | Enables player control during cinematic mode |
fov <value> | Changes the field of view of the player (0–180) |
fw <ID> | Forces specified weather conditions, without transitions |
killall | Kills all creatures in loaded area |
prid <refId> | Picks reference (Console target) by ID |
qqq | Exits the game without using menus |
save <name> | Save game; Tag 1 to save as [Name.ess.txt] |
saveini | Save ini settings |
show | Shows value of global variable |
set <globalvar> to <value> | Set Global Variable |
setdebugtext | Selects Debugging Info |
set timescale to <#> | sets the speed of how fast time advances in-game. Default=30 Realtime=1 |
ssg | Creates a window with the full game scene graph |
sw <ID> | Set Weather |
getgs <game setting> | Get Game Setting |
setgs <game setting> <value> | Set Game Setting |