console commands

Post here if you need help getting started with Daggerfall Unity or just want to clarify a potential bug. Questions about playing or modding classic Daggerfall should be posted to Community.
Post Reply
User avatar
jman0war
Posts: 258
Joined: Fri Jan 22, 2016 2:41 am
Contact:

console commands

Post by jman0war » Fri Apr 07, 2017 6:27 pm

Is there a way to find out the commands that work in console?
I'd like to be able to set time of day, and season at will.

Also, i get a crash to desktop every time i try to fast travel now.
And, i mostly fall into the abyss at load (but an immediate re-load seems to work).
some of my Daggerfall work can be found here: http://www.thehungryartist.com/games.html

User avatar
Jay_H
Posts: 2698
Joined: Tue Aug 25, 2015 1:54 am

Re: console commands

Post by Jay_H » Fri Apr 07, 2017 8:40 pm

Open the console and write Help for the command list :)

User avatar
Interkarma
Posts: 4832
Joined: Sun Mar 22, 2015 1:51 am

Re: console commands

Post by Interkarma » Fri Apr 07, 2017 9:09 pm

jman0war wrote: Also, i get a crash to desktop every time i try to fast travel now.
And, i mostly fall into the abyss at load (but an immediate re-load seems to work).
If you're working from Unity Editor and running latest code from git, please ensure your Unity Editor is on version 5.5.0f3. Probably best to delete your copy of code and do a fresh clone from repo as well.

Let me know how you go. :)

User avatar
jayhova
Posts: 581
Joined: Wed Jul 19, 2017 7:54 pm
Contact:

Re: console commands

Post by jayhova » Mon Jul 15, 2019 6:54 pm

I was curious if anyone would be willing to write a semi comprehensive guide to what the console is for and can do. Even a guide that is just a copy and paste version of the 'Help' command would be fine. I would like to have something to ling the Glossary entry to.
Remember always 'What would Julian Do?'.
Windows 10 Pro 64 bit. DFU Ver. PreAlpha 0.8.6

User avatar
King of Worms
Posts: 2168
Joined: Mon Oct 17, 2016 11:18 pm
Location: Scourg Barrow (CZ)
Contact:

Re: console commands

Post by King of Worms » Wed Jul 17, 2019 12:53 pm

jayhova wrote:
Mon Jul 15, 2019 6:54 pm
I was curious if anyone would be willing to write a semi comprehensive guide to what the console is for and can do. Even a guide that is just a copy and paste version of the 'Help' command would be fine. I would like to have something to ling the Glossary entry to.
just do it ;)

User avatar
jayhova
Posts: 581
Joined: Wed Jul 19, 2017 7:54 pm
Contact:

Re: console commands

Post by jayhova » Wed Jul 17, 2019 7:25 pm

King of Worms wrote:
Wed Jul 17, 2019 12:53 pm
just do it ;)
i'm not very familiar with the console and its uses.
Remember always 'What would Julian Do?'.
Windows 10 Pro 64 bit. DFU Ver. PreAlpha 0.8.6

User avatar
King of Worms
Posts: 2168
Joined: Mon Oct 17, 2016 11:18 pm
Location: Scourg Barrow (CZ)
Contact:

Re: console commands

Post by King of Worms » Wed Jul 17, 2019 10:04 pm

Well u press a key to open console.
Type help
And all commands with explanations pop up..

I dont think it needs a forum explanation but I might be wrong.

User avatar
pango
Posts: 1402
Joined: Wed Jul 18, 2018 6:14 pm
Location: France
Contact:

Re: console commands

Post by pango » Thu Jul 18, 2019 2:59 am

if you type "help" you'll get a listing of all available commands, with a short description of each; If you type "help command" you'll get a slightly more detailed description of the command, and its usage.
Mods can add commands, so the list of available commands varies.
The content of the console is logged, making it easy to cut/paste console output, say the output of the "help" command (0.8.6 unmodded):
Available Commands
activate - Triggers an action object regardless of whether it is able to be activated normally
add - Adds n inventory items to the character, based on the given keyword. n = 1 by default
addArtifact - Adds an artifact of ID n to the character
addpopuptext - Fill HUD buffer with messages
addspellbook - Gives player a new spellbook if they do not have one.
cm - Creates a mobile of type [n] on [team]. Omit team argument for default team.
diseaseplayer - diseaseplayer index (a number 0-16) OR diseaseplayer vampire|werewolf|wereboar (Note: only vampire currently implemented)
dumpblock - Dump a block to json file
dumpbuilding - Dump the current building player is inside to json file
dumplocblocks - Dump the names of blocks for each location, or locations for given block(s), to json file
enddebugquest - Tombstone quest currently shown by HUD quest debugger (if any). Does not issue reward.
endquest - Tombstone quest. Does not issue reward.
execute - compiles source files (and instanties objects when possible) from streaming assets path.
getallquestitems - Immediately give player a copy of any items referenced by active quests (including rewards). This can break quest execution flow.
getlocpixel - get pixel coordinates for a location
groundme - Move back to last known good position
guildjoin - Join a guild
guildrank - Set rank in a guild that you are a member of
HELP - Display the list of available commands or details about a specific command.
ingredUsage - Log an analysis of potion recipe usage of ingredients
killall - Kills any enemies currently in scene
levitate - Start or stop levitating.
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.
location - Send the player to the predefined location
map_hideall - Hides entire map
map_hidebuildings - Hides undiscovered buildings on exterior automap
map_hidelocations - Hides undiscovered locations on travelmap
map_revealall - Reveals entire map (including disconnected dungeon segments) on automap
map_revealbuildings - Reveals undiscovered buildings on exterior automap (temporary)
map_reveallocation - Permanently reveals the location with [locationName] in region [regionName] on travelmap
map_reveallocations - Reveals undiscovered locations on travelmap (temporary)
map_teleportmode - toggles (enables or disables) debug teleport mode (Control+Shift+Left Mouse Click on a dungeon segment will teleport player to it)
modnpcrep - Modify reputation with last NPC clicked by a positive or negative amount. Clamped at -100 through 100.
nt - Toggle NoTarget mode
openalldoors - Opens all doors in an interior or dungeon, regardless of locked state
opendoor - Opens a single door the player is looking at, regardless of locked state
playflc - Play the specified .FLC file
playvid - Play the specified .VID file
poisonplayer - poisonplayer index (a number 0-11)
print_legalrep - Output current legal status and reputation value for all regions
purgeallquests - Immediately tombstones all quests then removes from quest machine. Does not issue rewards.
QUIT - Quit the application.
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.
retry_assets - Clears records of import attempts for assets from loose files and mods.
set_grav - Set gravity. Default is 20
set_health - Set Health
set_jump - Set jump speed. Default is 8
set_mspeed - Set mouse sensitivity. Default is 1.5
set_runspeed - Set run speed. Set to -1 to return to default speed.
set_timescale - Set Timescale; Default 12. Setting it too high can have adverse affects
set_vsync - Set Vertical Sync count. Must be 0, 1, 2;
set_walkspeed - Set walk speed. Set to -1 to return to default speed.
set_weather - Sets the weather to indicated type
setlevel - Change player level to a value from 1 to 30. Does not allow player to distribute points, only changes level value.
showbankwindow - Opens a banking window for specified region
showitemmaker - Opens a item maker window for enchanting items
showspellmaker - Opens a spellmaker window for creating spells
startquest - startquest {quest name}
suicide - Kill self
tac - Toggle air control, which allows player to move while in the air.
tai - Toggles AI on or off
talk_npcsKnowEverything - NPCs know everything and do not run out of answers
talk_npcsKnowUsual - NPCs know the usual number of things and run out of answers
tdbg - Toggles if the debug information is displayed
tele2exit - Teleport player to dungeon exit without leaving
tele2pixel - Send the player to the x,y coordinates
tele2qitem - Teleport player to quest item marker
tele2qspawn - Teleport player to quest spawn marker (monster, NPC placement)
teleport - teleport player to object they are looking at. God mode recommended
tgm - Toggle god mode
tmsmooth - Toggle mouse smoothing.
trans_out - Leave dungeon or building and load exterior area, only works if player inside
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.
vamp_cureme - Player is cured of vampirism effect at start of next magic round (1 game minute).
vamp_feedme - Vampire thirst becomes sated.
were_cureme - Player is cured of lycanthropy effect at start of next magic round (1 game minute).
were_sateme - Lycanthrope urge to kill becomes sated.
And the output of "help location" as an example:
location Command
Description: Send the player to the predefined location
Usage: location [n]; where n is between 0 & 9:
0 ... random location
1 ... Daggerfall/Daggerfall
2 ... Wayrest/Wayrest
3 ... Sentinel/Sentinel
4 ... Orsinium Area/Orsinium
5 ... Tulune/The Old Copperham Place
6 ... Pothago/The Stronghold of Cirden
7 ... Daggerfall/Privateer's Hold
8 ... Wayrest/Merwark Hollow
9 ... Isle of Balfiera/Direnni Tower
Last edited by pango on Thu Jul 18, 2019 3:04 am, edited 1 time in total.
When a measure becomes a target, it ceases to be a good measure.
-- Charles Goodhart

User avatar
mikeprichard
Posts: 703
Joined: Sun Feb 19, 2017 6:49 pm

Re: console commands

Post by mikeprichard » Thu Jul 18, 2019 3:02 am

Nice to have this copied list for easy reference. Will be copy/pasting this myself!

Post Reply