-
Notifications
You must be signed in to change notification settings - Fork 26
Console Commands
Lethosor edited this page Jul 20, 2018
·
2 revisions
DF-AI has several console commands available.
To use any of the following console commands, simply enter them in the DFHack console window
-
enable df-ai
- Enables DF-AI. For best results, enter this from the title screen or at the start of a fresh embark. Note: DF-AI does not handle already established forts, but can resume from previous df-ai saves. Checkdfhack-config/df-ai.json
for additional embark & fort settings. -
ai
- Shows the status of the AI. -
ai version
- Shows information that uniquely identifies this build of df-ai. -
ai report
- Writes a more detailed status report todf-ai-report.log
. -
ai enable events
- Write events in JSON format todf-ai-events.json
. -
ai disable events
- Stop writing events todf-ai-events.json
. -
ai enable lockstep
- Runs Dwarf Fortress as fast as possible, locking animations to the frame rate instead of real time. May cause crashes; use at your own risk. -
ai disable lockstep
- Undoesai enable lockstep
, returning Dwarf Fortress back to configured frame rate. -
ai enable camera
- Allows the AI to control of the camera, automatically focusing on different tasks and events. Note, the player may still move the camera at any time, but the AI will retake control. Zoom-level is unaffected. -
ai disable camera
- Undoesai enable camera
, returning the camera control to just the player. -
ai abandon
- Abandons the current fortress and returns to the title screen. -
ai validate
- Verifies that df-ai-blueprints is set up correctly.
The DFHack console maintains a history of previously entered commands.
Use the up and down arrow keys to scroll through the console's history.
Use the left and right arrow keys to move the cursor through the currently displayed command.