Editing Debug Dumps
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 41: | Line 41: | ||
Print "Starting debug dump to file: " + file_name | Print "Starting debug dump to file: " + file_name | ||
</pre> | </pre> | ||
A [[String Variable]] and the [[GetUserTime]] function can be used to create a unique and recognizable file name for your dump, based on your mod name and the real life time it is created. The [[Con_SCOF]] command writes all console output to the specified file, which will be found in the main game directory of the user. The [[Print]] command outputs text to the console, and supports many convenient features. | A [[String Variable]] and the [[GetUserTime]] function can be used to create a unique and recognizable file name for your dump, based on your mod name and the real life time it is created. The [[Con_SCOF]] command writes all console output to the specified file, which will be found in the main game directory of the user. The [[Print]] command outputs text to the console, and supports many convenient features. | ||
The debug dump file name will look like: "MyModName-Debug-Dump-YEAR-MONTH-DAY--HOUR-MINUTE-SECOND.txt" | The debug dump file name will look like: "MyModName-Debug-Dump-YEAR-MONTH-DAY--HOUR-MINUTE-SECOND.txt" |