Tes2Mod: Daggerfall Unity/Console

Mods / Daggerfall: Tes2Mod: Daggerfall Unity

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 0.10.23.
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 Purpose Example
activate Triggers an action object, such as a remotely-opened door in a dungeon. Overrides normal preventive measures to opening. activate
add Adds certain items to the inventory. Uses the following categories: book, weapon, armor, cloth, ingr, relig, soul, gold, magic, drug, map, torch. add 3 weapon
add_all_equip Adds ALL items of a certain equippable kind to the inventory. Uses parameters such as "armor" to provide equipment for the current character. add_all_equip armor
add_armor Adds one piece of armor with parameters gender, race, armor type, and material. Each parameter must begin with a capital letter. add_armor Male Redguard Helm Ebony
add_clothing Adds clothing to inventory. ??
add_weapon Adds one weapon with parameters weapon type and material. Each parameter must begin with a capital letter. add_weapon Claymore Daedric
addArtifact Adds one of the game's epic artifacts to the inventory. Artifact numbers can be found in /DaggerfallUnity_Data/StreamingAssets/Tables/Quests-Items.txt addartifact 12
addbook Adds a book to the inventory. Uses name or book ID parameter. addbook 9
addpopuptext Floods the screen with a repeating "Message #" up to the number specified by the player addpopuptext 600
addspellbook Adds a spellbook to the inventory if there is none. addspellbook
change_modsettings An experimental command to alter settings in currently enabled mods. ??
clear_negativelegalrep Changes all negative legal reputation in the world to 0, and cancels any banishment in any region. Remember that factional and legal reputation are two different entities. clear_negativelegalrep
cm Creates a mob (enemy entity) of a certain type onto a certain team. If no team argument, default team. Team 1 is allied with player. Enemy type numbers can be found in /DaggerfallUnity_Data/StreamingAssets/Tables/Quest-Foes.txt cm 3 1
diseaseplayer Gives the player a disease using numbers 1 through 16, or vampire. In the future werewolf/wereboar infection will also be possible. Does not override disease immunity on level 1 characters. diseaseplayer 9
dumpblock Debug tool to save block information to a json file. The information is saved to the Daggerfall Unity persistent data path. dumpblock
dumpbuilding Debug tool to save information about the building you're in to a json file dumpbuilding
dumplocblocks Debug tool to dump the names or locations of blocks of each location. dumplocblocks
dumplocation Debug tool to dump the location from MAPS.BSA you're currently in. dumplocation
dumpregion Debug tool to dump the region from MAPS.BSA you're currently in. dumpregion
enddebugquest Wipes out the quest currently shown in the quest debugger. The game will proceed as though the quest never existed, not giving reputation or material rewards. enddebugquest
endquest Wipes out the designated quest. The game will proceed as though the quest never existed, not giving reputation or material rewards. Use the quest debug UI to see the UID for your currently running quest(s). endquest 33554491
execute Developer tool to compile source files and create objects from the Streaming Assets folder of the Daggerfall Unity installation. execute Script01.cs
getallquestitems Puts into the inventory a copy of all items referenced by any running quests. Some quests might not behave properly after this is run. getallquestitems
getlocpixel Tells the X and Y coordinates on the world map for a location. getlocpixel Daggerfall/Aldingwall
groundme Puts your character back on solid ground, if floating in void or other bad location. Only works indoors. groundme
guildjoin Adds your character to one of the game's guilds. This command uses the internal naming system for the guilds, so the Thieves Guild is "GeneralPopulace". Other guild names can be found in GuildManager.cs guildjoin DarkBrotherHood
guildrank Raises or lowers your rank in a guild you belong to. Your reputation in the guild will change to ((rank)x10). guildrank FightersGuild 6
help Display the list of available commands or details about a specific command. help
ingredUsage Records in the debug log how many recipes are possible with ingredients ingredusage
killall Kills any enemies, including quest foes, in the current location. killall
levitate Start or stop levitating. As with the levitate spell, incompatible with set_runspeed. levitate on
load Developer tool used to load scenes from a list of levels. load scene
location Send the player to one of various predefined locations, such as Daggerfall City, Privateer's Hold, Direnni Tower, or any random place. Use "location" to see the list. location 3
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 an unvisited location on the travel map map_reveallocation Dragontail_Mountains Scourg_Barrow
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 85
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 file ??
playvid Play the specified .VID file ??
poisonplayer poisonplayer index (a number 0-11) poisonplayer 3
print_legalrep Output current legal status and reputation value for all regions. print_legalrep
purgeallquests Immediately tombstones all quests and removes them from quest machine. Does not issue rewards.
purgenonstoryquests Immediately tombstones all quests that aren't related to Daggerfall's main quest and removes them from the quest machine. purgenonstoryquests
QUIT Quit the application. quit
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. Default is 20 set_grav 7
set_health Sets your character's health to a value. ??
set_jump Set jump speed. Default is 8 set_jump 900
set_mspeed Set mouse sensitivity. Default is 1.5 set_mspeed 6
set_runspeed Set run speed. Set to -1 to return to default speed. set_runspeed 80
set_timescale Set Timescale; Default 12. Setting it too high can have adverse affects set_timescale 1600
set_vsync Set Vertical Sync count. Must be 0, 1, 2; set_vsync 1
set_walkspeed Set walk speed. Set to -1 to return to default speed. set_walkspeed 300
set_weather Sets the weather to indicated type, with values from 0 to 6. set_weather 5
setlevel Change player level to a value from 1 to 30. Does not allow player to distribute points, only changes level value. setlevel 14
showbankwindow Opens a banking window for the current region showbankwindow
showitemmaker Opens a item maker window for enchanting items showitemmaker
showspellmaker Opens a spellmaker window for creating spells showspellmaker
startquest Starts a quest using the quest's file name. startquest _BRISIEN
suicide Kill the current played character suicide
summondaedra Starts a Daedric quest from the beginning with the proper summoning animation. summondaedra HIRCINE
tac Toggle air control, which allows player to move while in the air. tac
tai Toggles AI on or off tai
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
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 in the world map tele2pixel
tele2qmarker Teleport player to the quest marker in the current dungeon, if any is active. Works for both quest items and quest enemy locations. tele2qmarker
teleport Teleport player to object they are looking at. God mode ("tgm") recommended. Likely to fall through floors and walls, so levitation recommended. teleport
tgm Toggle god mode. Sets health, magicka, and fatigue to infinite values. Allows casting spells that exceed current magicka maximum. tgm
tmsmooth Toggle mouse smoothing. tmsmooth
trans_out Leave dungeon or building and load exterior area, only works if player inside trans_out
unmutequestnpcs Unmutes all quest npcs when 'mute npc' is stuck from a bug. Has no effect on NPCs not muted by an active quest script. unmutequestnpcs
vamp_cureme Player is cured of vampirism effect at start of next magic round (1 game minute or 5 seconds real-time). 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 or 5 seconds real-time). were_cureme
were_sateme Lycanthrope urge to kill becomes sated. were_sateme
  1. ^ "DFU Forum: Bug? Console "tele2qitem" gives the wrong location for 'Guard the Guild' item"