「コンソールコマンド」を編集中
ナビゲーションに移動
検索に移動
この編集を取り消せます。 下記の差分を確認して、本当に取り消していいか検証してください。よろしければ変更を保存して取り消しを完了してください。
最新版 | 編集中の文章 | ||
10行目: | 10行目: | ||
__TOC__ | __TOC__ | ||
− | == | + | == Debug mode == |
− | + | Debug mode is a set of tools within the game that are typically hidden from the user. They allow the user to modify game behavior outside normal means. Debug mode contains the following tools: | |
+ | * Console Window (user can input console commands) | ||
+ | * Debug Menus (including the Portrait Editor, GUI Editor, Tweak Menu and others) | ||
+ | * [[#Debug info|Debug Info]] | ||
+ | * Debug Interactions (user can instantly change opinion, imprison and more) | ||
+ | * Ctrl + clicking on a portrait takes control of the character, while Alt + click kills them. | ||
+ | * File watcher that automatically reloads changed files (including mods) into memory. | ||
− | + | === Enabling debug mode === | |
− | + | Debug mode must be enabled upon launching the game. It can also be disabled within the Console Window. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | === | ||
− | |||
==== Steam ==== | ==== Steam ==== | ||
− | + | To start the game in debug mode, within Steam, right-click to set the game's Properties, then under the General tab, click the Set Launch Options... button. Add '''-debug_mode''' to the launch options. You will have to restart the game. | |
− | ==== | + | ==== Without Steam ==== |
− | + | Alternatively, without using Steam, you can start the game in debug mode by going to your main CK3 installation folder and creating a shortcut by right-clicking on the main CK3 application and selecting Create shortcut. Right-click the new shortcut and select properties. In the Shortcut tab where it says Target add -debug_mode to the very end of the field and hit apply. This will enable debug mode when launching the game using that shortcut. | |
− | ==== | + | ==== Xbox game pass ==== |
− | + | For the Xbox gamepass edition/windows 10 store edtion it's a tad more complicated, as you cannot create a normal shortcut for it, so you'll have to run the following commands in Command Prompt every time you open the game: | |
<code>start shell:AppsFolder\ParadoxInteractive.ProjectTitus_zfnrdv2de78ny!App -debug_mode</code> | <code>start shell:AppsFolder\ParadoxInteractive.ProjectTitus_zfnrdv2de78ny!App -debug_mode</code> | ||
− | + | Suffice you don't want to run Command Prompt every time, you can create a batch (.bat) file to execute the aforementioned command instead, that can run from your desktop. | |
− | Windows | + | To create a simple batch file on Windows 10, follow these steps: |
− | * | + | * Open Start. |
− | * | + | * Search for Notepad, and click the top result to start the app. |
− | * | + | * Paste in the aforementioned command. |
− | * | + | * Click the File menu. |
− | * | + | * Select the Save As option or {{key press|CTRL}} + {{key press|SHIFT}} + {{key press|S}}. |
− | * | + | * Type a name for the script, for example "ck3debug.bat". '''whatever you call it, it must end in .bat''' |
− | * | + | * Select Desktop for location. |
− | * | + | * Click save and you're done! |
− | === | + | === Disabling debug mode === |
− | + | In order to activate your achievement system, you need to totally deactivate the debug mode (not just through the Console Window). | |
==== Steam ==== | ==== Steam ==== | ||
− | + | To deactivate debug mode, within Steam, right-click to set the game's Properties, then under the General tab, click the Set Launch Options... button. remove -debug_mode in the launch options. You will have to restart the game. | |
− | === | + | === Debug info === |
− | + | When debug mode is activated, characters, interactions and events will show debug info which is normally hidden during normal gameplay. | |
== チート == | == チート == |