Daggerfall Mod:Daggerfall Unity/Console
The UESPWiki – Your source for The Elder Scrolls since 1995
A console with many useful commands can be invoked by pressing the tilde (`) key during DFU gameplay (this key can be changed in Controls -> Advanced as of 0.10.23). Users with certain keyboard layouts may need to place the tilde key somewhere on their layout.
Some mods may add more console commands not listed here.
This list is up to date as of DFU version 1.0.0.
Note that the "tele2" commands are not intended to be used in civilized areas; only in dungeons. Elsewhere they can drop you into the "void".[1]
Command | Description | Usage |
---|---|---|
activate | Triggers an action object regardless of whether it is able to be activated normally. | activate |
add | Adds n inventory items to the character, based on the given keyword. n = 1 by default. | add (book|weapon|armor|cloth|ingr|relig|soul|gold|magic|drug|map|torch|potion|painting) [n] |
add_all_equip | Adds all equippable item types to inventory for the current characters gender & race. (for testing paperdoll images) | add_all_equip (clothing|clothingAllDyes|armor|weapons|magicWeapons) |
add_armor | Adds an armor to inventory. | add_armor {Genders} {Races} {Armor} {ArmorMaterialTypes}
|
add_clothing | Adds clothing to inventory. | add_clothing {Genders} {MensClothing|WomensClothing} {Races} {DyeColors}
|
add_weapon | Adds a weapon to inventory. | add_weapon {Weapons} {WeaponMaterialTypes}
|
addArtifact | Adds an artifact of ID [n] to the character. | addartifact [n]
|
addbook | Gives player the book with the given ID or name. | addbook {id|name} |
addpopuptext | Fill HUD buffer with messages. | addpopuptext [n] |
addspellbook | Gives the player a new spellbook if they do not have one. | addspellbook |
change_modsettings | An experimental command to alter settings in currently enabled mods. | change_modsettings |
clear_crimecommitted | Clear active crime state. | clear_crimecommitted |
clear_negativelegalrep | Negative legal reputation and banishment state for all regions is set back to 0. Does not affect positive legal reputation. Does not change factional reputation. | clear_negativelegalrep |
cm | Creates a mobile of type [n] on [team]. Omit team argument for default team. | cm [n] [team]
|
diseaseplayer | Infect player with a classic disease. | diseaseplayer [index]
OR diseaseplayer (vampire|werewolf|wereboar)
|
dumpblock | Dump a block to json file, or index if no block name specified. | dumpblock [blockName] |
dumpbuilding | Dump the current building player is inside to json file. | dumpbuilding |
dumplocblocks | Dump the names of blocks for each location, location index, or locations for list of given block(s) to json file. | dumplocblocks [locindex|(blockName.RMB)*]
Examples:
|
dumplocation | Dump the current location (from MAPS.BSA) that the player is currently in to json file. | dumplocation |
dumpregion | Dump the current region(from MAPS.BSA) that the player is currently in to json file. | dumpregion |
enddebugquest | Tombstone quest currently shown by HUD quest debugger (if any). Does not issue reward. | enddebugquest |
endquest | Tombstone quest. Does not issue reward. | endquest <questUID>
|
execute | Compiles source files (and instantiates objects when possible) from streaming assets path. | execute Script00.cs Script01.cs Script02.cs... |
getallquestitems | Immediately give player a copy of any items referenced by active quests (including rewards). This can break quest execution flow. | getallquestitems |
getlocpixel | Get pixel coordinates for a location. | getlocpixel <region name>/<location name> (no space between region name and location name) |
groundme | Move back to last known good position. (Useful if floating in void or other bad location.) Only works indoors. | groundme |
guildjoin | Join a guild. | guildjoin <guildGroupName>
|
guildrank | Set rank in a guild that you are a member of. | guildrank <guildGroupName> [rank]
|
help | Display the list of available commands or details about a specific command. | help [command] |
ingredUsage | Log an analysis of potion recipe usage of ingredients. | ingredUsage |
killall | Kills any enemies currently in scene. | killall |
levitate | Start or stop levitating. | levitate (on|off) |
load | Load the specified scene by name. Before you can load a scene you have to add it to the list of levels used in the game. Use File → Build Settings... in Unity and add the levels you need to the level list there. |
load scene |
locale_debug | Enables verbose localization debug to player log. | locale_debug (on|off) |
locale_print | Output available locales. | locale_print |
locale_set | Sets current locale. Use locale_print to list available locales. | locale_set <index> |
location | Send the player to the predefined location. | location [n]; where [n] is between 0 and 9:
|
map_hideall | Wipes every segment in the dungeon from your automap, starting it anew. This effect will carry over if the game is saved. | map_hideall |
map_hidebuildings | Reverts map_revealbuildings | map_hidebuildings |
map_hidelocations | Reverts map_reveallocations | map_hidelocations |
map_revealall | Reveals the whole dungeon automap | map_revealall |
map_revealbuildings | Temporarily annotates the name of all buildings in the town's map, excluding ordinary residences. All buildings in all towns will be annotated until game exit or revert. | map_revealbuildings |
map_reveallocation | Permanently reveals the location with [locationName] in region [regionName] on travelmap. | map_reveallocation [regionName] [locationName] - inside the name strings use underscores instead of spaces, e.g Dragontail_Mountains. |
map_reveallocations | Temporarily reveals all undiscovered locations on the travelmap | map_reveallocations |
map_teleportmode | Toggles (enables or disables) debug teleport mode. (Control + Shift + Left Mouse Click on a dungeon segment will teleport player to it.) |
map_teleportmode |
modnpcrep | Modify reputation with last NPC clicked by a positive or negative amount. Clamped at -100 through 100 | modnpcrep <amount> |
nt | Toggle NoTarget mode. | nt |
openalldoors | Opens all doors in an interior or dungeon, regardless of locked state. | openalldoors |
opendoor | Opens a single door the player is looking at, regardless of locked state. | opendoor |
playflc | Play the specified FLC or CEL file. | playflc {filename.flc|.cel}
Examples:
|
playvid | Play the specified VID file. | playvid {filename.vid} (e.g. playvid anim0000.vid) |
poisonplayer | Infect a player with a classic poison. | poisonplayer [index] (a number 0 to 11) |
print_crimecommitted | Output active crime state. | print_crimecommitted |
print_legalrep | Output current legal status and reputation value for all regions. | print_legalrep |
print_quests | Output current quests running on quest machine. | print_quests |
purgeallquests | Immediately tombstones all quests and removes them from quest machine. Does not issue rewards. | purgeallquests |
purgenonstoryquests | Immediately tombstones all quests that aren't related to Daggerfall's main quest and removes them from the quest machine. | purgenonstoryquests
OR purgenonmqquests |
quit | Quit the application. | quit |
refresh_buildingnames | Refresh discovered building names in current location. Used for testing localization and debugging stale discovery data. | refresh_buildingnames |
reroll_maxhealth | Repair permanently reduced maximum health caused by a level-up bug in 0.10.3 and earlier. This bug is resolved in 0.10.4 and later but some older save games might still need repair. Note that new maximum health is set by forumla and may be slightly higher or lower than before bug. | reroll_maxhealth |
reset_assets | Clears mesh and material asset caches then reloads game. Warning: Uses QuickSave slot to reload game in-place. The in-place reload will trigger a longer than usual delay. | reset_assets |
retry_assets | Clears records of import attempts for assets from loose files and mods. | retry_assets |
set_grav | Set gravity. Use -1 for default (namely, 20). | set_grav [n] |
set_health | Sets your character's health to a value. | set_health [n] |
set_jump | Set jump speed. Use -1 for default (namely, 4.5). | set_jump [n] |
set_mspeed | Set mouse sensitivity. Default is 1.5. | set_mspeed [n] |
set_runspeed | Set run speed by multiplying current run speed by inserted percentage. Set to -1 to disable or enable speed overrides. Set to -2 to clear out all speed modifiers. | set_runspeed [n] |
set_timescale | Set Timescale; Default 12. Setting it too high can have adverse affects. | set_timescale [n] |
set_vsync | Set Vertical Sync count. Must be 0, 1, 2; | set_vsync (0|1|2) |
set_walkspeed | Set walk speed by multiplying current run speed by inserted percentage. Set to -1 to disable or enable speed overrides. Set to -2 to clear out all speed modifiers. | set_walkspeed [n] |
set_weather | Sets the weather to indicated type. | set_weather [n]
|
setlevel | Change player level to a value from 1 to 30. Does not allow player to distribute points; only changes level value. | setlevel <level> |
showbankwindow | Opens a banking window for specified region. | showbankwindow {region index} |
showitemmaker | Opens a item maker window for enchanting items. | showitemmaker |
showpotionmaker | Opens a potion maker window to brew spells | showpotionmaker |
startquest | Starts the specified quest. | startquest {quest ID} |
suicide | Kill self. | suicide |
summondaedra | Summons a daedra prince to test quest delivery. | summondaedra [filename] (note: matches the .VID filename for daedra in /arena2 folder.) |
tac | Toggle air control, which allows player to move while in the air. | tac |
tai | Toggles AI on or off | tai |
talk_npcBehavior | Overrides NPC behavior: 0 = default, 1 = know everything, 2 = always friendly, 3 = know everything AND always friendly. | 1|2|3) |
talk_npcsKnowEverything | NPCs know everything and do not run out of answers. | talk_npcsKnowEverything |
talk_npcsKnowUsual | NPCs know the usual number of things and run out of answers. | talk_npcsKnowUsual |
talk_print | Output talk text from the RSC string database. ID must be a talk-related string. Record is selected at random. | talk_print <id> |
tcl | Toggle noclip by turning off all collisions and activates levitate. | tcl |
tdbg | Toggles if the debug information is displayed. | tdbg |
tele2exit | Teleport player to dungeon exit without leaving. | tele2exit |
tele2pixel | Send the player to the x,y coordinates. | tele2pixel [x y]; where x is between 0 and 1000 and y is between 0 and 500. |
tele2qitem | Teleport player to quest item marker | tele2qitem |
tele2qmarker | Teleport player to active quest marker (monster, NPC placement, item, etc.) | tele2qmarker |
tele2qspawn | Teleport player to quest spawn marker (monster, NPC placement) | tele2qitem |
teleport | Teleport player to object they are looking at. God mode ("tgm") recommended. | teleport
Optional parameters:
Examples:
|
tgm | Toggle god mode. | tgm |
trans_out | Leave dungeon or building and load exterior area; only works if player inside. | trans_out |
vamp_cureme | Player is cured of vampirism effect at start of next magic round (1 game minute). | vamp_cureme |
vamp_feedme | Vampire thirst becomes sated. | vamp_feedme |
were_cureme | Player is cured of lycanthropy effect at start of next magic round (1 game minute). | were_cureme |
were_sateme | Lycanthrope urge to kill becomes sated. | were_sateme |