控制台指令:修订间差异

本页面所适用的版本可能已经过时,最后更新于1.0
(同步到官方百科01:03, 16 September 2020‎ 2606:a000:fbcd:7e00:1457:1d31:5f6e:7798)
无编辑摘要
第6行: 第6行:
__TOC__
__TOC__


== 调试模式 ==
==调试模式==
 调试模式是游戏中对用户隐藏的一组工具。它们允许玩家在正常游玩的时候修改游戏。调试模式包含以下工具:
 调试模式是游戏中对用户隐藏的一组工具。它们允许玩家在正常游玩的时候修改游戏。调试模式包含以下工具:
* 控制台端口 (用于玩家输入指定命令)
* 调试菜单 (包括Portrait Editor,GUI Editor,Tweak Menu等)
* 调试信息 (显示有关角色,隐藏的事件和互动)
* 调试互动 (玩家可以立即更改意见、囚禁等)
* Ctrl + clicking on a portrait takes control of the character, while Alt + click kills them.


=== Enabling debug mode ===
*控制台端口(用于玩家输入指定命令)
*调试菜单(包括Portrait Editor,GUI Editor,Tweak Menu等)
*调试信息(显示有关角色,隐藏的事件和互动)
*调试互动(玩家可以立即更改意见、囚禁等)
*{{Key press|Ctrl}} + 点击肖像将控制角色,而 {{Key press|Alt}} +点击肖像将杀死他们。
 
===Enabling debug mode===
Debug mode must be enabled upon launching the game. It can also be disabled within the Console Window.
Debug mode must be enabled upon launching the game. It can also be disabled within the Console Window.


==== Steam ====
====Steam====
 若需要在steam运行调试模式,需要在steam库里面,右键该游戏,然后点击属性,在 [常规] 选项里面点击 [设置启动选项...] ,将 ['''-debug_mode'''] 添加到启动项里面。此操作需要重启游戏。
 若需要在steam运行调试模式,需要在steam库里面,右键该游戏,然后点击属性,在 [常规] 选项里面点击 [设置启动选项...] ,将 ['''-debug_mode'''] 添加到启动项里面。此操作需要重启游戏。


==== Without Steam ====
====Without Steam====
 在不使用steam平台打开游戏的情况下,可以通过在ck3文件夹的binaries文件夹里面找到ck3.exe,右键它发送到桌面快捷方式,然后右键桌面的ck3图标并点击属性,在目标那一栏里面的最后面,空格一下然后输入[-debug_mode],然后应用即可。
 在不使用steam平台打开游戏的情况下,可以通过在ck3文件夹的binaries文件夹里面找到ck3.exe,右键它发送到桌面快捷方式,然后右键桌面的ck3图标并点击属性,在目标那一栏里面的最后面,空格一下然后输入[-debug_mode],然后应用即可。


==== Xbox game pass ====
====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:
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:


第30行: 第31行:
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.
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.
To create a simple batch file on Windows 10, follow these steps:
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!


== Cheats ==
*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!
 
==Cheats==
 下面是控制台的命令,可用于玩家作弊,而不是仅仅用于测试为目的。They are different from scripted [[commands]]. Note that pressing the Tab key with the debug window open will show a list of commands, and pressing tab again after typing chosen command will show parameters available for the command in the debug window.
 下面是控制台的命令,可用于玩家作弊,而不是仅仅用于测试为目的。They are different from scripted [[commands]]. Note that pressing the Tab key with the debug window open will show a list of commands, and pressing tab again after typing chosen command will show parameters available for the command in the debug window.
{| class="wikitable"
{| class="wikitable"
! 指令
!指令
! 效果
!效果
! 参数
!参数
! 举例
!举例
|-
|-
| age
|age
| 添加 [年龄] 指定到 [角色id], 如果没有指定角色id默认为玩家角色,数字前面添加“-”为减少年龄。
|添加 [年龄] 指定到 [角色id], 如果没有指定角色id 默认为玩家角色,数字前面添加“-”为减少年龄。
| [amount] [character id]
|[ 指定数值] [ 角色id]
| age 20
|age 20
|-
|-
| add_claim
|add_claim
| 添加宣称 [ [[Console_commands#Title_IDs|头衔id]] ] 到 [角色id] 上, 如果没有指定角色id默认为玩家角色。
|添加宣称 [<nowiki/>[[Console_commands#Title_IDs|头衔id]]] 到 [角色id] 上, 如果没有指定角色id 默认为玩家角色。
| [ [[Console_commands#Title_IDs|头衔id]] ] [角色id]
|[<nowiki/>[[Console_commands#Title_IDs|头衔id]]] [角色id]
| add_claim e_hre
|add_claim e_hre
|-
|-
| add_doctrine
|add_doctrine
| Adds [doctrine id] to [faith id], if no faith is specified then the player character's faith. Pressing tab reveals all doctrine IDs.
| 添加 [ 教义id] [ 信仰id] 中,如果没有指定信仰则默认为玩家角色的信仰。Pressing tab reveals all doctrine IDs.
| [doctrine id] [faith id]
|[ 教义id] [ 信仰id]
| add_doctrine doctrine_pluralism_fundamentalist catholic
|add_doctrine doctrine_pluralism_fundamentalist catholic
|-
|-
| add_dread
|add_dread
| 添加恐惧值 [指定数值] 到 [角色id] , 如果没有指定角色id默认为玩家角色。
|添加恐惧值 [指定数值] 到 [角色id] , 如果没有指定角色id 默认为玩家角色。
| [指定数值] [角色id]
|[指定数值] [角色id]
| add_dread 100
|add_dread 100
|-
|-
| add_maa
|add_maa
| Adds [regiment id] of of men-at-arms to [character id], if no character is specified then the player character. Pressing tab reveals all regiment IDs.
| 添加兵士的 [ 军团 id] [ 角色id] ,如果没有指定角色id则默认为玩家角色。Pressing tab reveals all regiment IDs.
| [regiment id] [character id]
|[ 军团id] [ 角色id]
| add_maa bowmen
|add_maa bowmen
|-
|-
| add_perk
|add_perk
| Adds [perk id] to [character id], if no character is specified then the player character. Pressing tab reveals all perk IDs.
| [ 角色id] 添加 [ 技能id] ,如果没有指定角色id则默认为玩家角色。Pressing tab reveals all perk IDs.
| [perk id] [character id]
|[ 技能id] [ 角色id]
| add_perk thoughtful_perk
|add_perk thoughtful_perk
|-
|-
| add_piety
|add_piety
| 给玩家添加 [指定数值] 的虔诚,数字前面添加“-”为减少虔诚,默认输入此命令得到1000虔诚
|给玩家添加 [指定数值] 的虔诚,数字前面添加“-”为减少虔诚,默认输入此命令得到1000虔诚
| [amount]
|[ 指定数值]
| add_piety 9000
|add_piety 9000
|-
|-
| add_prestige
|add_prestige
| 给玩家添加 [指定数值] 的声望,数字前面添加“-”为减少声望,默认输入此命令得到1000声望
|给玩家添加 [指定数值] 的声望,数字前面添加“-”为减少声望,默认输入此命令得到1000声望
| [amount]
|[ 指定数值]
| add_prestige 16000
|add_prestige 16000
|-
|-
| add_realm_law
|add_realm_law
| Passes [law id] to the realm of [character id], if no character is specified then the player character's realm. Pressing tab reveals all law IDs.
|[ 角色id] 的领地通过 [ 法律id] ,如果没有指定角色id则默认为玩家角色的领地。Pressing tab reveals all law IDs.
| [law id] [character id]
|[ 法律id] [ 角色id]
| add_realm_law crown_authority_3
|add_realm_law crown_authority_3
|-
|-
| add_realm_law_skip_effects
|add_realm_law_skip_effects
| Adds [law id] to the realm of [character id], if no character is specified then the player character's realm. Pressing tab reveals all law IDs.
|[ 角色id] 的领地添加 [ 法律id] ,如果没有指定角色id则默认为玩家角色的领地。Pressing tab reveals all law IDs.
| [law id] [character id]
|[ 法律id] [ 角色id]
| add_realm_law_skip_effects crown_authority_3
|add_realm_law_skip_effects crown_authority_3
|-
|-
| add_relation
|add_relation
| Adds [relation id] between [character id] and [character id], if only one character is specified then between the player character and them.
|[ 角色id] [ 角色id] 添加 [ 关系id] ,如果只指定了一个角色,则默认为指定角色和玩家角色之间添加关系。
| [relation id] [character id]
|[ 关系id] [ 角色id]
| add_relation friend 1234
|add_relation friend 1234
|-
|-
| add_secret
|add_secret
| 给角色添加 [秘密id] 。
|给角色添加 [秘密id] 。
| [secret id]
|[ 秘密id]
| add_secret secret_witch
|add_secret secret_witch
|-
|-
| add_stress
|add_stress
| Adds [amount] of stress to [character id], if no character is specified then the player character. Negative values lower it.
| [ 角色id] 增加 [ 指定数值] 的压力。如果没有指定角色id则默认为玩家角色,数字前面添加“-”为减少压力。
| [amount] [character id]
|[ 指定数值] [ 角色id]
| add_stress 50
|add_stress 50
|-
|-
| add_title_law
|add_title_law
| Adds [succession law id] to [title id].(Developers Only!)
|[ 头衔id] 添加 [ 继承法id] (仅开发人员!)。
| [title id] [law id]
|[ 头衔id] [ 法律id]
| add_title_law e_hre feudal_elective_succession_law
|add_title_law e_hre feudal_elective_succession_law
|-
|-
| add_trait
|add_trait
| Adds [ [[Console_commands#Trait_IDs|trait id]] ] to [character id], if no character is specified then the player character.
|[ 角色id] 添加 [<nowiki/>[[Console_commands#Trait_IDs| 特质id]]] ,如果没有指定角色id则默认为玩家角色。
| [ [[Console_commands#Trait_IDs|trait id]] ] [character id]
|[<nowiki/>[[Console_commands#Trait_IDs| 特质id]]] [ 角色id]
| add_trait witch
|add_trait witch
|-
|-
| add_lifestyle_xp_all
|add_lifestyle_xp_all
| 添加 [指定数值] 的生活方 式xp 到 [角色id]如果没有指定角色id默认为玩家角色。 默认输入此命令得 到1000xp
|添加 [指定数值] 的生活方 式经验 到 [角色id] 如果没有指定角色id 默认为玩家角色。默认输入此命令得 到1000经验
| [amount] [character id]
|[ 指定数值] [ 角色id]
| add_lifestyle_xp_all 2000
|add_lifestyle_xp_all 2000
|-
|-
| add_diplomacy_lifestyle_xp
|add_diplomacy_lifestyle_xp
| 添加 [指定数值] 的外交生活方 式xp 到 [角色id]如果没有指定角色id默认为玩家角色。 默认输入此命令得 到1000xp
|添加 [指定数值] 的外交生活方 式经验 到 [角色id] 如果没有指定角色id 默认为玩家角色。 经验 默认输入此命令得 到1000经验
| [amount] [character id]
|[ 指定数值] [ 角色id]
| add_diplomacy_lifestyle_xp 2000
|add_diplomacy_lifestyle_xp 2000
|-
|-
| add_martial_lifestyle_xp
|add_martial_lifestyle_xp
| 添加 [指定数值] 的军事生活方 式xp 到 [角色id]如果没有指定角色id默认为玩家角色。 默认输入此命令得 到1000xp
|添加 [指定数值] 的军事生活方 式经验 到 [角色id] 如果没有指定角色id 默认为玩家角色。默认输入此命令得 到1000经验
| [amount] [character id]
|[ 指定数值] [ 角色id]
| add_martial_lifestyle_xp 2000
|add_martial_lifestyle_xp 2000
|-
|-
| add_stewardship_lifestyle_xp
|add_stewardship_lifestyle_xp
| 添加 [指定数值] 的管理生活方 式xp 到 [角色id]如果没有指定角色id默认为玩家角色。 默认输入此命令得 到1000xp
|添加 [指定数值] 的管理生活方 式经验 到 [角色id] 如果没有指定角色id 默认为玩家角色。默认输入此命令得 到1000经验
| [amount] [character id]
|[ 指定数值] [ 角色id]
| add_stewardship_lifestyle_xp 2000
|add_stewardship_lifestyle_xp 2000
|-
|-
| add_intrigue_lifestyle_xp
|add_intrigue_lifestyle_xp
| 添加 [指定数值] 的谋略生活方 式xp 到 [角色id]如果没有指定角色id默认为玩家角色。 默认输入此命令得 到1000xp
|添加 [指定数值] 的谋略生活方 式经验 到 [角色id] 如果没有指定角色id 默认为玩家角色。默认输入此命令得 到1000经验
| [amount] [character id]
|[ 指定数值] [ 角色id]
| add_intrigue_lifestyle_xp 2000
|add_intrigue_lifestyle_xp 2000
|-
|-
| add_learning_lifestyle_xp
|add_learning_lifestyle_xp
| 添加 [指定数值] 的学识生活方 式xp 到 [角色id]如果没有指定角色id默认为玩家角色。 默认输入此命令得 到1000xp
|添加 [指定数值] 的学识生活方 式经验 到 [角色id] 如果没有指定角色id 默认为玩家角色。默认输入此命令得 到1000经验
| [amount] [character id]
|[ 指定数值] [ 角色id]
| add_learning_lifestyle_xp 2000
|add_learning_lifestyle_xp 2000
|-
|-
| change_culture
|change_culture
| Changes the culture of [county id] to [culture id].
| 改变 [ 伯爵领id] 的文化为 [ 文化id]
| [county id] [culture id]
|[ 伯爵领id] [ 文化id]
| change_culture 496 swedish
|change_culture 496 swedish
|-
|-
| change_development_level
|change_development_level
| Adds [amount] of development to [county id], if no county is specified then the player character's capital. Negative values lower it.
| 添加 [ 指定数值] 的发展度到 [ 伯爵领id] ,如果没有指定伯爵领则默认为玩家角色的首都,数字前面添加“-”为降低发展度。
| [amount] [county id]
|[ 指定数值] [ 伯爵领id]
| change_development_level 100 496
|change_development_level 100 496
|-
|-
| change_fervor
|change_fervor
| Adds [amount] of fervor to [faith id], if no faith is specified then the player character's faith. Negative values lower it. Default 10.
| 添加 [amount] 的宗教热情到 [faith id] ,如果没有指定信仰则默认为玩家角色的信仰,数字前面添加“-”为降低宗教热情。默认数值为10。
| [amount] [faith id]
|[amount] [faith id]
| change_fervor 100 catholic
|change_fervor 100 catholic
|-
|-
| change_diplomacy
|change_diplomacy
| 添加 [外交] 技 指定 到 [角色id]如果没有指定角色id默认为玩家角色,数字前面添加“-”为减少 能数值。
|添加 [ 指定数值] 的 外交能 到 [角色id] 如果没有指定角色id 默认为玩家角色,数字前面添加“-”为减少能 数值。
| [amount] [character id]
|[amount] [character id]
| change_diplomacy 16
|change_diplomacy 16
|-
|-
| change_martial
|change_martial
| 添加 [军事] 技 指定 到 [角色id]如果没有指定角色id默认为玩家角色,数字前面添加“-”为减少 能数值。
|添加 [ 指定数值] 的 军事能 到 [角色id] 如果没有指定角色id 默认为玩家角色,数字前面添加“-”为减少能 数值。
| [amount] [character id]
|[amount] [character id]
| change_martial 16
|change_martial 16
|-
|-
| change_stewardship
|change_stewardship
| 添加 [管理] 技 指定 到 [角色id]如果没有指定角色id默认为玩家角色,数字前面添加“-”为减少 能数值。
|添加 [ 指定数值] 的 管理能 到 [角色id] 如果没有指定角色id 默认为玩家角色,数字前面添加“-”为减少能 数值。
| [amount] [character id]
|[amount] [character id]
| change_stewardship 16
|change_stewardship 16
|-
|-
| change_intrigue
|change_intrigue
| 添加 [谋略] 技 指定 到 [角色id]如果没有指定角色id默认为玩家角色,数字前面添加“-”为减少 能数值。
|添加 [ 指定数值] 的 谋略能 到 [角色id] 如果没有指定角色id 默认为玩家角色,数字前面添加“-”为减少能 数值。
| [amount] [character id]
|[amount] [character id]
| change_intrigue 16
|change_intrigue 16
|-
|-
| change_learning
|change_learning
| 添加 [学识] 技 指定 到 [角色id]如果没有指定角色id默认为玩家角色,数字前面添加“-”为减少 能数值。
|添加 [ 指定数值] 的 学识能 到 [角色id] 如果没有指定角色id 默认为玩家角色,数字前面添加“-”为减少能 数值。
| [amount] [character id]
|[amount] [character id]
| change_learning 16
|change_learning 16
|-
|-
| change_prowess
|change_prowess
| 添加 [勇武] 技 指定 到 [角色id]如果没有指定角色id默认为玩家角色,数字前面添加“-”为减少 能数值。
|添加 [ 指定数值] 的 勇武能 到 [角色id] 如果没有指定角色id 默认为玩家角色,数字前面添加“-”为减少能 数值。
| [amount] [character id]
|[amount] [character id]
| change_prowess 16
|change_prowess 16
|-
|-
| clear_character_modifiers
|clear_character_modifiers
| Removes all character modifiers from [character id], if no character is specified then the player character.
| 移除 [character id] 的所有角色修正,如果没有指定角色id则默认为玩家角色。
| [character id]
|[character id]
| clear_character_modifiers
|clear_character_modifiers
|-
|-
| clear_title_laws
|clear_title_laws
| Removes all title succession laws from [title id].
| 移除 [title id] 的所有头衔继承法。
| [title id]
|[title id]
| clear_title_laws e_hre
|clear_title_laws e_hre
|-
|-
| clear_traits
|clear_traits
| Removes all traits from [character id], if no character is specified then the player character.
| 移除 [character id] 的所有特质,如果没有指定角色id则默认为玩家角色。
| [character id]
|[character id]
| clear_traits
|clear_traits
|-
|-
| discover_all_eras
|discover_all_eras
| Discovers all innovations for the culture of [character id], if no character is specified then the player character's.
|[character id] 的文化发现所有革新,如果没有指定角色id则默认为玩家角色。
| [character id]
|[character id]
| discover_all_eras
|discover_all_eras
|-
|-
| discover_era
|discover_era
| Discovers [era id] and all its innovations for the player character's culture. Pressing tab reveals all era IDs. Default current era.
| 玩家角色的文化进入 [era id] 同时发现该时代的所有革新。Pressing tab reveals all era IDs. 默认为当前时代。
| [era id]
|[era id]
| discover_era culture_era_early_medieval
|discover_era culture_era_early_medieval
|-
|-
| discover_fascination
|discover_fascination
| Discovers the current fascination for the culture of [character id], if no character is specified then the player character's.
|[character id] 的当前文化偏好被发现,如果没有指定角色id则默认为玩家角色。
| [character id]
|[character id]
| discover_fascination
|discover_fascination
|-
|-
| discover_innovation
|discover_innovation
| Discovers [innovation id] for the culture of [character id], if no character is specified then the player character's. Pressing tab reveals all innovation IDs.
|[character id] 的文化发现  [innovation id] ,如果没有指定角色id则默认为玩家角色。Pressing tab reveals all innovation IDs.
| [innovation id] [character id]
|[innovation id] [character id]
| discover_innovation innovation_motte
|discover_innovation innovation_motte
|-
|-
| dynasty_prestige
|dynasty_prestige
| Adds [amount] of renown to [dynasty id], if no dynasty is specified then the player character's dynasty. Negative values lower it. Default 1000.
| 添加 [amount] 的宗族威望到 [dynasty id] ,如果没有指定宗族则默认为玩家角色的宗族,数字前面添加“-”为减少宗族威望。默认数值为1000。
| [amount] [dynasty id]
|[amount] [dynasty id]
| dynasty_prestige 100000
|dynasty_prestige 100000
|-
|-
| end_schemes
|end_schemes
| All schemes targeting the player character are abandoned.
| 所有针对玩家角色的计谋被放弃。
| None
|
| end_schemes
|end_schemes
|-
|-
| event
|event
| 触发 事件命令 [event id].
|触发 [event id]
| [event id]
|[event id]
| event lifestyle_nicknames.0001
|event lifestyle_nicknames.0001
|-
|-
| gain_all_dynasty_perks
|gain_all_dynasty_perks
| Buys all dynasty legacies for the dynasty of [character id], if no character is specified then the player character's.
|[character id] 的宗族获得所有宗族传承,如果没有指定角色id则默认为玩家角色。
| [character id]
|[character id]
| gain_all_dynasty_perks
|gain_all_dynasty_perks
|-
|-
| gain_all_perks
|gain_all_perks
| Gives all lifestyle perks to [character id], if no character is specified then the player character.
|[character id] 获得所有生活方式技能,如果没有指定角色id则默认为玩家角色。
| [character id]
|[character id]
| gain_all_perks
|gain_all_perks
|-
|-
| give_title
|give_title
| Gives [title id] to [character id], if no character is specified then the player character.
| 添加 [title id] [character id] ,如果没有指定角色id则默认为玩家角色。
| [title id] [character id]
|[title id] [character id]
| give_title e_hre
|give_title e_hre
|-
|-
| gold
|gold
| 添加金钱给玩家数字前面添加“-”为减少金钱,默认输入此命令得到1000金钱。
|添加 [指定数值] 的 金钱给玩家 数字前面添加“-”为减少金钱,默认输入此命令得到1000金钱。
| [amount]
|[amount]
| add_gold 500
|add_gold 500
|-
|-
| instabuild
|instabuild
| Holdings and buildings in the player character's domain are finished in a day. Entering it again disables it.
| 玩家角色直辖领地内的地产和建筑一天建成。再次输入则失效。
| None
|
| instabuild
|instabuild
|-
|-
| instant_birth
|instant_birth
| Pregnancies last a day. Entering it again disables it.
| 怀孕持续一天。再次输入则失效。
| None
|
| instant_birth
|instant_birth
|-
|-
| join_era
|join_era
| Enters [era id] for the culture of [character id], if no character is specified then the player character's. Pressing tab reveals all era IDs.
|[character id] 的文化进入 [era id] ,如果没有指定角色id则默认为玩家角色。Pressing tab reveals all era IDs.
| [era id]
|[era id]
| join_era culture_era_high_medieval
|join_era culture_era_high_medieval
|-
|-
| kill
|kill
| 杀死 [character id] 指定的角色,  如果没有指定角色id默认 杀死玩家。
|杀死 [character id] 如果没有指定角色id 默认杀死玩家 角色
| [character id]
|[character id]
| kill
|kill
|-
|-
| know_schemes
|know_schemes
| 发现针对玩家角色的所有 谋。
|发现针对玩家角色的所有 谋。
| None
|
| know_schemes
|know_schemes
|-
|-
| merge_culture
|merge_culture
| Changes the culture of all counties of [culture id] to [culture id].
| 改变 [culture id] 的所有伯爵领为 [culture id].
| [culture id] [culture id]
|[culture id] [culture id]
| merge_culture greek swedish
|merge_culture greek swedish
|-
|-
| pregnancy
|pregnancy
| Impregnates female [character id] with father [character id], if no character is specified then an unknown father.
| 使女性 [character id] 因父亲 [character id] 而怀孕,如果没有指定角色id则父亲未知。
| [character id] [character id]
|[character id] [character id]
| pregnancy 1234
|pregnancy 1234
|-
|-
| remove_doctrine
|remove_doctrine
| Removes [doctrine id] from [faith id], if no faith is specified then the player character's faith. Pressing tab reveals all doctrine IDs.
|[faith id] 移除 [doctrine id] ,如果没有指定信仰则默认为玩家角色的信仰。Pressing tab reveals all doctrine IDs.
| [doctrine id] [faith id]
|[doctrine id] [faith id]
| remove_doctrine doctrine_pluralism_righteous catholic
|remove_doctrine doctrine_pluralism_righteous catholic
|-
|-
| remove_nick
|remove_nick
| Removes the current [[nickname]] from [character id], if no character is specified then the player character.
| 移除 [character id] 的当前[[绰号]] ,如果没有指定角色id则默认为玩家角色。
| [character id]
|[character id]
| remove_nick
|remove_nick
|-
|-
| remove_relation
|remove_relation
| Removes [relation id] between [character id] and [character id], if only one character is specified then between the player character and them.
| 移除 [character id] [character id] 之间的 [relation id] ,如果只指定了一个角色,则默认为指定角色和玩家角色之间移除关系。
| [relation id] [character id]
|[relation id] [character id]
| remove_relation friend 1234
|remove_relation friend 1234
|-
|-
| remove_trait
|remove_trait
| Removes [trait id] from [character id], if no character is specified then the player character. Pressing tab reveals all trait IDs.
| 移除 [character id] [trait id] ,如果没有指定角色id则默认为玩家角色。Pressing tab reveals all trait IDs.
| [trait id] [character id]
|[trait id] [character id]
| remove_trait witch
|remove_trait witch
|-
|-
| set_culture
|set_culture
| Changes the culture to [culture id] for [character id], if no character is specified then the player character. Pressing tab reveals all culture IDs.
|[character id] 的文化改变为 [culture id] ,如果没有指定角色id则默认为玩家角色。 Pressing tab reveals all culture IDs.
| [culture id] [character id]
|[culture id] [character id]
| set_culture swedish
|set_culture swedish
|-
|-
| set_dread
|set_dread
| Sets the dread to [amount] for [character id], if no character is specified then the player character.
|[character id] 的恐怖值设定为 [amount] ,如果没有指定角色id则默认为玩家角色。
| [amount] [character id]
|[amount] [character id]
| set_dread 100
|set_dread 100
|-
|-
| set_faith
|set_faith
| Changes the faith to [faith id] for [character id], if no character is specified then the player character. Pressing tab reveals all faith IDs.
|[character id] 的信仰改变为 [faith id] ,如果没有指定角色id则默认为玩家角色。Pressing tab reveals all faith IDs.
| [faith id] [character id]
|[faith id] [character id]
| set_faith catholic
|set_faith catholic
|-
|-
| set_focus
|set_focus
| Sets the focus to [focus id] for [character id], if no character is specified then the player character.
|[character id] 的重心设定为 [focus id] ,如果没有指定角色id则默认为玩家角色。
| [focus id] [character id]
|[focus id] [character id]
| set_focus diplomacy_majesty_focus
|set_focus diplomacy_majesty_focus
|-
|-
| set_nick
|set_nick
| Gives [ [[nickname id]] ] to [character id], if no character is specified then the player character.
| 添加 [<nowiki/>[[ 绰号|绰号id]]] [character id] ,如果没有指定角色id则默认为玩家角色。
| [ [[nickname id]] ] [character id]
|[<nowiki/>[[ 绰号|绰号id]]] [character id]
| set_nick nick_the_lazy
|set_nick nick_the_lazy
|-
|-
| set_sexuality
|set_sexuality
| Changes the sexual orientation to [sexuality id] for [character id], if no character is specified then the player character.
|[character id] 的性取向改变为 [sexuality id] ,如果没有指定角色id则默认为玩家角色
| [sexuality id] [character id]
|[sexuality id] [character id]
| set_sexuality bisexual
|set_sexuality bisexual
|-
|-
| set_stress
|set_stress
| Sets the stress to [amount] for [character id], if no character is specified then the player character.
|[character id] 的压力设定为 [amount] ,如果没有指定角色id则默认为玩家角色
| [amount] [character id]
|[amount] [character id]
| set_stress 0
|set_stress 0
|-
|-
| set_diplomacy
|set_diplomacy
| Sets the diplomacy skill to [amount] for [character id], if no character is specified then the player character.
|[character id] 的外交能力设定为 [amount] ,如果没有指定角色id则默认为玩家角色
| [amount] [character id]
|[amount] [character id]
| set_diplomacy 16
|set_diplomacy 16
|-
|-
| set_martial
|set_martial
| Sets the martial skill to [amount] for [character id], if no character is specified then the player character.
|[character id] 的军事能力设定为 [amount] ,如果没有指定角色id则默认为玩家角色
| [amount] [character id]
|[amount] [character id]
| set_martial 16
|set_martial 16
|-
|-
| set_stewardship
|set_stewardship
| Sets the stewardship skill to [amount] for [character id], if no character is specified then the player character.
|[character id] 的管理能力设定为 [amount] ,如果没有指定角色id则默认为玩家角色
| [amount] [character id]
|[amount] [character id]
| set_stewardship 16
|set_stewardship 16
|-
|-
| set_intrigue
|set_intrigue
| Sets the intrigue skill to [amount] for [character id], if no character is specified then the player character.
|[character id] 的谋略能力设定为 [amount] ,如果没有指定角色id则默认为玩家角色
| [amount] [character id]
|[amount] [character id]
| set_intrigue 16
|set_intrigue 16
|-
|-
| set_learning
|set_learning
| Sets the learning skill to [amount] for [character id], if no character is specified then the player character.
|[character id] 的学识能力设定为 [amount] ,如果没有指定角色id则默认为玩家角色
| [amount] [character id]
|[amount] [character id]
| set_learning 16
|set_learning 16
|-
|-
| set_prowess
|set_prowess
| Sets the prowess skill to [amount] for [character id], if no character is specified then the player character.
|[character id] 的勇武能力设定为 [amount] ,如果没有指定角色id则默认为玩家角色
| [amount] [character id]
|[amount] [character id]
| set_prowess 16
|set_prowess 16
|-
|-
| yesmen
|yesmen
| 玩家的 所有 外交互动强制同意
|AI角色接受 所有 提议。再次输入则失效
| None
|None
| yesmen
|yesmen
|}
|}


== Testing commands ==
==Testing commands==
Testing commands are used for developer, beta tester or modder testing.
Testing commands are used for developer, beta tester or modder testing.
{| class="wikitable"
{| class="wikitable"
! Command
!Command
! Effect
!Effect
! Parameters
!Parameters
! Example
!Example
|-
|-
| clear
|clear
| 清除控制台历史输入。
|清除控制台历史输入。
| None
|None
| clear
|clear
|-
|-
| effect
|effect
| Executes a scripted effect.
| 执行脚本效果。
| [effect script]
|[effect script]
| effect test
|effect test
|-
|-
| faction_spawn
|faction_spawn
| Spawns [faction type] if there are valid counties or courtiers to create it.
| 生成 [faction type] ,如果存在有效的省份或廷臣来建立它。
| [faction type]
|[faction type]
| faction_spawn peasant_faction
|faction_spawn peasant_faction
|-
|-
| generate_cadet_coa
|generate_cadet_coa
| Generates a new coat of arms for the player character's house.
| 为玩家角色的家族生成一个新的盾徽。
| None
|None
| generate_cadet_coa
|generate_cadet_coa
|-
|-
| help
|help
| 列出所有 可输入的命 令。
| 输出 [command] 的相关描述,如果为空则 列出所有 控制台指 令。
| [command]
|[command]
| help help
|help help
|-
|-
| instamove
|instamove
| Armies move one barony per day. (Affects AI as well as the player)
| 军队每一天移动一个男爵领。(同时影响AI和玩家)
| None
|None
| instamove
|instamove
|-
|-
| map_editor
|map_editor
| Opens the map editor.
| 打开地图编辑器。
| None
|None
| map_editor
|map_editor
|-
|-
| nomen
|nomen
| AI characters refuse all proposals. Entering it again disables it.
|AI 角色拒绝所有提议。再次输入则失效。
| None
|None
| nomen
|nomen
|-
|-
| observe
|observe
| Enters observer mode.
| 进入观察者模式。
| None
|None
| observe
|observe
|-
|-
| play
|play
| Switches character to [character id].
| 切换角色为 [character id]
| [character id]
|[character id]
| play 1234
|play 1234
|-
|-
| portrait_editor
|portrait_editor
| Opens the portrait editor.
| 打开肖像编辑器。
| None
|None
| portrait_editor
|portrait_editor
|-
|-
| run
|run
| Executes the commands in [file name]. The txt file must be placed in Documents/Paradox Interactive/Crusader Kings III/run.
| 执行 [file name] 中的指令。txt文件必须位于<code>Documents/Paradox Interactive/Crusader Kings III/run</code>。
| None
|None
| run test.txt
|run test.txt
|-
|-
| set_is_ai
|set_is_ai
| Allows the AI to control [character id].
| 允许AI控制 [character id]
| [character id]
|[character id]
| set_is_ai 1234
|set_is_ai 1234
|-
|-
| set_is_player
|set_is_player
| Disallows the AI to control [character id].
| 禁止AI控制 [character id]
| [character id]
|[character id]
| set_is_player 1234
|set_is_player 1234
|}
|}


== 特质ID ==
==特质ID==
{{main|Traits}}
{{main|Traits}}
All traits have an ID that is referenced internally by the game. They can be found in <code>game\common\traits\00_traits.txt</code>. A trait's ID typically matches its name. To get a trait's ID from its name, perform the following steps:
All traits have an ID that is referenced internally by the game. They can be found in <code>game\common\traits\00_traits.txt</code>. A trait's ID typically matches its name. To get a trait's ID from its name, perform the following steps:
* If a trait displays two names in-game, use the one in brackets
 
* Replace spaces (<code> </code>) and dashes (<code>-</code>) with underscores (<code>_</code>)
*If a trait displays two names in-game, use the one in brackets
* Remove all apostrophes (<code>'</code>)
*Replace spaces (<code> </code>) and dashes (<code>-</code>) with underscores (<code>_</code>)
* Turn all upper case letters into lower case (<code>A...Z->a...z</code>)
*Remove all apostrophes (<code>'</code>)
*Turn all upper case letters into lower case (<code>A...Z->a...z</code>)
 
Traits that do not follow this pattern have been listed below for reference.
Traits that do not follow this pattern have been listed below for reference.


{| class="wikitable" style="float: left; margin-right: 30px;"
{| class="wikitable" style="float: left; margin-right: 30px;"
! 教育特质
!教育特质
! ID
!ID
|-
|-
| {{icon|Naive Appeaser}} 天真的绥靖者
|{{icon|Naive Appeaser}} 天真的绥靖者
| education_diplomacy_1
|education_diplomacy_1
|-
|-
| {{icon|Adequate Bargainer}} 合格的谈判者
|{{icon|Adequate Bargainer}} 合格的谈判者
| education_diplomacy_2
|education_diplomacy_2
|-
|-
| {{icon|Charismatic Negotiator}} 魅力非凡的说客
|{{icon|Charismatic Negotiator}} 魅力非凡的说客
| education_diplomacy_3
|education_diplomacy_3
|-
|-
| {{icon|Grey Eminence}} 幕后操控人
|{{icon|Grey Eminence}} 幕后操控人
| education_diplomacy_4
|education_diplomacy_4
|-
|-
| {{icon|Misguided Warrior}} 鲁莽的战士
|{{icon|Misguided Warrior}} 鲁莽的战士
| education_martial_1
|education_martial_1
|-
|-
| {{icon|Tough Soldier}} 坚强的战士
|{{icon|Tough Soldier}} 坚强的战士
| education_martial_2
|education_martial_2
|-
|-
| {{icon|Skilled Tactician}} 优秀战术家
|{{icon|Skilled Tactician}} 优秀战术家
| education_martial_3
|education_martial_3
|-
|-
| {{icon|Brilliant Strategist}} 天才军事家
|{{icon|Brilliant Strategist}} 天才军事家
| education_martial_4
|education_martial_4
|-
|-
| {{icon|Indulgent Wastrel}} 放荡的浪子
|{{icon|Indulgent Wastrel}} 放荡的浪子
| education_stewardship_1
|education_stewardship_1
|-
|-
| {{icon|Thrifty Clerk}} 节俭的职员
|{{icon|Thrifty Clerk}} 节俭的职员
| education_stewardship_2
|education_stewardship_2
|-
|-
| {{icon|Fortune Builder}} 财富创造者
|{{icon|Fortune Builder}} 财富创造者
| education_stewardship_3
|education_stewardship_3
|-
|-
| {{icon|Midas Touched}} 点石成金者
|{{icon|Midas Touched}} 点石成金者
| education_stewardship_4
|education_stewardship_4
|-
|-
| {{icon|Amateurish Plotter}} 业余阴谋家
|{{icon|Amateurish Plotter}} 业余阴谋家
| education_intrigue_1
|education_intrigue_1
|-
|-
| {{icon|Flamboyant Trickster}} 浮夸的诈骗师
|{{icon|Flamboyant Trickster}} 浮夸的诈骗师
| education_intrigue_2
|education_intrigue_2
|-
|-
| {{icon|Intricate Webweaver}} 暗中策划者
|{{icon|Intricate Webweaver}} 暗中策划者
| education_intrigue_3
|education_intrigue_3
|-
|-
| {{icon|Elusive Shadow}} 难以捉摸的影子
|{{icon|Elusive Shadow}} 难以捉摸的影子
| education_intrigue_4
|education_intrigue_4
|-
|-
| {{icon|Conscientious Scribe}} 尽职的书吏
|{{icon|Conscientious Scribe}} 尽职的书吏
| education_learning_1
|education_learning_1
|-
|-
| {{icon|Insightful Thinker}} 有见地的思想家
|{{icon|Insightful Thinker}} 有见地的思想家
| education_learning_2
|education_learning_2
|-
|-
| {{icon|Astute Intellectual}} 明睿的智者
|{{icon|Astute Intellectual}} 明睿的智者
| education_learning_3
|education_learning_3
|-
|-
| {{icon|Mastermind Philosopher}} 哲学大师
|{{icon|Mastermind Philosopher}} 哲学大师
| education_learning_4
|education_learning_4
|-
|-
| {{icon|Bumbling Squire}} 笨手笨脚的扈从
|{{icon|Bumbling Squire}} 笨手笨脚的扈从
| education_martial_prowess_1
|education_martial_prowess_1
|-
|-
| {{icon|Confident Knight}} 自信的骑士
|{{icon|Confident Knight}} 自信的骑士
| education_martial_prowess_2
|education_martial_prowess_2
|-
|-
| {{icon|Formidable Banneret}} 令人敬畏的方旗骑士
|{{icon|Formidable Banneret}} 令人敬畏的方旗骑士
| education_martial_prowess_3
|education_martial_prowess_3
|-
|-
| {{icon|Famous Champion}} 著名勇士
|{{icon|Famous Champion}} 著名勇士
| education_martial_prowess_4
|education_martial_prowess_4
|}
|}
{| class="wikitable" style="float: left; margin-right: 30px;"
{| class="wikitable" style="float: left; margin-right: 30px;"
! 先天特质
!先天特质
! ID
!ID
|-
|-
| {{icon|Homely}} 其貌不扬
|{{icon|Homely}} 其貌不扬
| beauty_bad_1
|beauty_bad_1
|-
|-
| {{icon|Ugly}} 丑陋不堪
|{{icon|Ugly}} 丑陋不堪
| beauty_bad_2
|beauty_bad_2
|-
|-
| {{icon|Hideous}} 面目狰狞
|{{icon|Hideous}} 面目狰狞
| beauty_bad_3
|beauty_bad_3
|-
|-
| {{icon|Comely}} 眉清目秀
|{{icon|Comely}} 眉清目秀
| beauty_good_1
|beauty_good_1
|-
|-
| {{icon|Handsome}} 螓首蛾眉 / 英姿飒爽
|{{icon|Handsome}} 螓首蛾眉 / 英姿飒爽
| beauty_good_2
|beauty_good_2
|-
|-
| {{icon|Beautiful}} 倾国倾城
|{{icon|Beautiful}} 倾国倾城
| beauty_good_3
|beauty_good_3
|-
|-
| {{icon|Slow}} 迟钝
|{{icon|Slow}} 迟钝
| intellect_bad_1
|intellect_bad_1
|-
|-
| {{icon|Stupid}} 愚笨
|{{icon|Stupid}} 愚笨
| intellect_bad_2
|intellect_bad_2
|-
|-
| {{icon|Imbecile}} 痴呆
|{{icon|Imbecile}} 痴呆
| intellect_bad_3
|intellect_bad_3
|-
|-
| {{icon|Quick}} 敏锐
|{{icon|Quick}} 敏锐
| intellect_good_1
|intellect_good_1
|-
|-
| {{icon|Intelligent}} 聪慧
|{{icon|Intelligent}} 聪慧
| intellect_good_2
|intellect_good_2
|-
|-
| {{icon|Genius}} 天才
|{{icon|Genius}} 天才
| intellect_good_3
|intellect_good_3
|-
|-
| {{icon|Delicate}} 纤弱
|{{icon|Delicate}} 纤弱
| physique_bad_1
|physique_bad_1
|-
|-
| {{icon|Frail}} 脆弱
|{{icon|Frail}} 脆弱
| physique_bad_2
|physique_bad_2
|-
|-
| {{icon|Feeble}} 衰弱
|{{icon|Feeble}} 衰弱
| physique_bad_3
|physique_bad_3
|-
|-
| {{icon|Hale}} 硬朗
|{{icon|Hale}} 硬朗
| physique_good_1
|physique_good_1
|-
|-
| {{icon|Robust}} 健壮
|{{icon|Robust}} 健壮
| physique_good_2
|physique_good_2
|-
|-
| {{icon|Amazonian}} 阿玛宗 / 海格力斯
|{{icon|Amazonian}} 阿玛宗 / 海格力斯
| physique_good_3
|physique_good_3
|-
|-
| {{icon|Melancholic}} 抑郁症患者
|{{icon|Melancholic}} 抑郁症患者
| depressed_1 / depressed_genetic
|depressed_1 / depressed_genetic
|-
|-
| {{icon|Lunatic}} 精神错乱
|{{icon|Lunatic}} 精神错乱
| lunatic_1 / lunatic_genetic
|lunatic_1 / lunatic_genetic
|-
|-
| {{icon|Possessed}} 附身
|{{icon|Possessed}} 附身
| possessed_1 / possessed_genetic
|possessed_1 / possessed_genetic
|}
|}
{| class="wikitable" style="float: left; margin-right: 30px;"
{| class="wikitable" style="float: left; margin-right: 30px;"
! 生活特质
!生活特质
! ID
!ID
|-
|-
| [[File:Trait blademaster 1.png|24px]] Aspiring Blademaster
|[[File:Trait blademaster 1.png|24px]] Aspiring Blademaster
| blademaster_1
|blademaster_1
|-
|-
| [[File:Trait blademaster 2.png|24px]] Blademaster
|[[File:Trait blademaster 2.png|24px]] Blademaster
| blademaster_2
|blademaster_2
|-
|-
| [[File:Trait blademaster 3.png|24px]] Legendary Blademaster
|[[File:Trait blademaster 3.png|24px]] Legendary Blademaster
| blademaster_3
|blademaster_3
|-
|-
| [[File:Trait hunter 1.png|24px]] Novice Hunter
|[[File:Trait hunter 1.png|24px]] Novice Hunter
| hunter_1
|hunter_1
|-
|-
| [[File:Trait hunter 2.png|24px]] Hunter
|[[File:Trait hunter 2.png|24px]] Hunter
| hunter_2
|hunter_2
|-
|-
| [[File:Trait hunter 3.png|24px]] Master Hunter
|[[File:Trait hunter 3.png|24px]] Master Hunter
| hunter_3
|hunter_3
|-
|-
| [[File:Trait mystic 1.png|24px]] Wise Man / Wise Woman
|[[File:Trait mystic 1.png|24px]] Wise Man / Wise Woman
| mystic_1
|mystic_1
|-
|-
| [[File:Trait mystic 2.png|24px]] Mystic
|[[File:Trait mystic 2.png|24px]] Mystic
| mystic_2
|mystic_2
|-
|-
| [[File:Trait mystic 3.png|24px]] Miracle Worker
|[[File:Trait mystic 3.png|24px]] Miracle Worker
| mystic_3
|mystic_3
|-
|-
| [[File:Trait reveler 1.png|24px]] Eager Reveler
|[[File:Trait reveler 1.png|24px]] Eager Reveler
| reveler_1
|reveler_1
|-
|-
| [[File:Trait reveler 2.png|24px]] Famous Reveler
|[[File:Trait reveler 2.png|24px]] Famous Reveler
| reveler_2
|reveler_2
|-
|-
| [[File:Trait reveler 3.png|24px]] Legendary Reveler
|[[File:Trait reveler 3.png|24px]] Legendary Reveler
| reveler_3
|reveler_3
|-
|-
| [[File:Trait physician 1.png|24px]] Novice Physician
|[[File:Trait physician 1.png|24px]] Novice Physician
| physician_1
|physician_1
|-
|-
| [[File:Trait physician 2.png|24px]] Physician
|[[File:Trait physician 2.png|24px]] Physician
| physician_2
|physician_2
|-
|-
| [[File:Trait physician 3.png|24px]] Renowned Physician
|[[File:Trait physician 3.png|24px]] Renowned Physician
| physician_3
|physician_3
|-
|-
| {{icon|Patriarch}} 顾家男人/顾家女人
|{{icon|Patriarch}} 顾家男人/顾家女人
| family_first
|family_first
|}
|}
<!-- Creation of this table was partly aided by this script: https://github.com/SaucyPigeon/ck3_mapdata -->
<!-- Creation of this table was partly aided by this script: https://github.com/SaucyPigeon/ck3_mapdata -->
{| class="wikitable" style="float: left; margin-right: 30px;"
{| class="wikitable" style="float: left; margin-right: 30px;"
! Trait (other)
!Trait (other)
! ID
!ID
|-
|-
| {{icon|Dynastic Kinslayer}}
|{{icon|Dynastic Kinslayer}}
| kinslayer_1
|kinslayer_1
|-
|-
| {{icon|Familial Kinslayer}}
|{{icon|Familial Kinslayer}}
| kinslayer_2
|kinslayer_2
|-
|-
| {{icon|Kinslayer}}
|{{icon|Kinslayer}}
| kinslayer_3
|kinslayer_3
|-
|-
| {{icon|Wounded}}
|{{icon|Wounded}}
| wounded_1
|wounded_1
|-
|-
| {{icon|Severely Injured}}
|{{icon|Severely Injured}}
| wounded_2
|wounded_2
|-
|-
| {{icon|Brutally Mauled}}
|{{icon|Brutally Mauled}}
| wounded_3
|wounded_3
|-
|-
| {{icon|Sterile}} / Barren
|{{icon|Sterile}} / Barren
| infertile
|infertile
|-
|-
| {{icon|Monk}} / Nun
|{{icon|Monk}} / Nun
| devoted
|devoted
|-
|-
| {{icon|Crusader}}<br>{{icon|Mujahid}}<br>{{icon|Warrior of the Faith}}
|{{icon|Crusader}}<br>{{icon|Mujahid}}<br>{{icon|Warrior of the Faith}}
| faith_warrior
|faith_warrior
|-
|-
| {{icon|Holy Monarch}}
|{{icon|Holy Monarch}}
| crusader_king
|crusader_king
|-
|-
| {{icon|Pneumonia}}
|{{icon|Pneumonia}}
| pneumonic
|pneumonic
|-
|-
| {{icon|Club-footed}}
|{{icon|Club-footed}}
| clubfooted
|clubfooted
|-
|-
| {{icon|The Savior}}
|{{icon|The Savior}}
| savior
|savior
|-
|-
| {{icon|Blood of the Prophet}} (unused)
|{{icon|Blood of the Prophet}} (unused)
| blood_of_prophet
|blood_of_prophet
|-
|-
| {{icon|Raider}} / Viking
|{{icon|Raider}} / Viking
| viking
|viking
|-
|-
| {{icon|Lover's pox}} / {{icon|Great pox}} Early Great Pox (mimics Lover's Pox)
|{{icon|Lover's pox}} / {{icon|Great pox}} Early Great Pox (mimics Lover's Pox)
| early_great_pox
|early_great_pox
|}
|}
{{clear}}
{{clear}}


== Title IDs ==
==Title IDs==
{{main|Titles}}
{{main|Titles}}
All titles have an internal title ID that can be found in <code>game\common\landed_titles\00_landed_titles.txt</code>. Title IDs have a prefix based on their rank, followed by an underscore (<code>_</code>) and then their name.
All titles have an internal title ID that can be found in <code>game\common\landed_titles\00_landed_titles.txt</code>. Title IDs have a prefix based on their rank, followed by an underscore (<code>_</code>) and then their name.
{| class="mildtable"
{| class="mildtable"
! Rank
!Rank
! Prefix
!Prefix
! Example
!Example
|-
|-
| {{iconify|Barony}}
|{{iconify|Barony}}
| <code>b_</code>
|<code>b_</code>
| <code>Wigmore -> b_wigmore</code>
|<code>Wigmore -> b_wigmore</code>
|-
|-
| {{iconify|County}}
|{{iconify|County}}
| <code>c_</code>
|<code>c_</code>
| <code>Sundgau -> c_sundgau</code>
|<code>Sundgau -> c_sundgau</code>
|-
|-
| {{iconify|Duchy}}
|{{iconify|Duchy}}
| <code>d_</code>
|<code>d_</code>
| <code>Sicily -> d_sicily</code>
|<code>Sicily -> d_sicily</code>
|-
|-
| {{iconify|Kingdom}}
|{{iconify|Kingdom}}
| <code>k_</code>
|<code>k_</code>
| <code>Denmark -> k_denmark</code>
|<code>Denmark -> k_denmark</code>
|-
|-
| {{iconify|Empire}}
|{{iconify|Empire}}
| <code>e_</code>
|<code>e_</code>
| <code>Persia -> e_persia</code>
|<code>Persia -> e_persia</code>
|-
|-
|}
|}
Title IDs can also be seen in their respective title lists:
Title IDs can also be seen in their respective title lists:
* [[List of baronies]]
 
* [[List of counties]]
*[[List of baronies]]
* [[List of duchies]]
*[[List of counties]]
* [[List of kingdoms]]
*[[List of duchies]]
* [[List of empires]]
*[[List of kingdoms]]
=== Finding title IDs based on in-game name ===
*[[List of empires]]
 
===Finding title IDs based on in-game name===
The title ID may not match the title's name in-game. For example, the player may have their game set to a language other than English or a title has a culture-specific name. Use the following steps to find a title ID purely on its in-game name:
The title ID may not match the title's name in-game. For example, the player may have their game set to a language other than English or a title has a culture-specific name. Use the following steps to find a title ID purely on its in-game name:
* Navigate to the file located at <code>game\localization\LANGUAGE\titles_l_LANGUAGE.yml</code>, replacing <code>LANGUAGE</code> with your game language.
 
* Open the file with a text editor like Notepad++ and search for any instances of the in-game name using {{key press|CTRL}} + {{key press|F}}.
*Navigate to the file located at <code>game\localization\LANGUAGE\titles_l_LANGUAGE.yml</code>, replacing <code>LANGUAGE</code> with your game language.
* If you managed to find a match:
*Open the file with a text editor like Notepad++ and search for any instances of the in-game name using {{key press|CTRL}} + {{key press|F}}.
** The line should look similar to <code> b_my_barony_name:0 "In-game name for barony"</code>.
*If you managed to find a match:
** The title ID is the word before the <code>:0</code>, therefore being <code>b_my_barony_name</code> in this example.
**The line should look similar to <code> b_my_barony_name:0 "In-game name for barony"</code>.
* If you could not find a match:
**The title ID is the word before the <code>:0</code>, therefore being <code>b_my_barony_name</code> in this example.
** Close the file.
*If you could not find a match:
** In the same folder as the previous file, open the file <code>titles_cultural_names_l_LANGUAGE.yml</code>, replacing <code>LANGUAGE</code> appropriately.
**Close the file.
** Repeat your search for the title's in-game name in this file.
**In the same folder as the previous file, open the file <code>titles_cultural_names_l_LANGUAGE.yml</code>, replacing <code>LANGUAGE</code> appropriately.
** When you find a match, it should look like so: <code> cn_lunden:0 "Lunden"</code>.
**Repeat your search for the title's in-game name in this file.
** Remember/copy the word before the <code>:0</code> (in this example, <code>cn_lunden</code>); this is a ''cultural name key'' of the title.
**When you find a match, it should look like so: <code> cn_lunden:0 "Lunden"</code>.
** Close the file.
**Remember/copy the word before the <code>:0</code> (in this example, <code>cn_lunden</code>); this is a ''cultural name key'' of the title.
** Navigate to the file <code>game\common\landed_titles\00_landed_titles.txt</code> and open it with your text editor.
**Close the file.
** Perform a search for the ''cultural name key'' you found in the previous file (e.g., <code>cn_lunden</code>).
**Navigate to the file <code>game\common\landed_titles\00_landed_titles.txt</code> and open it with your text editor.
** The search query should land within a block named <code>cultural_names</code> enclosed by curly brackets (<code>{</code>, <code>}</code>).
**Perform a search for the ''cultural name key'' you found in the previous file (e.g., <code>cn_lunden</code>).
** Read the lines above until you reach another start of a block (denoted by <code>b_london = {</code>). Ignore any blocks like <code>color = {</code> or <code>color2 ={</code>.
**The search query should land within a block named <code>cultural_names</code> enclosed by curly brackets (<code>{</code>, <code>}</code>).
** The word in place of <code>b_london</code> is your title ID.
**Read the lines above until you reach another start of a block (denoted by <code>b_london = {</code>). Ignore any blocks like <code>color = {</code> or <code>color2 ={</code>.
=== Finding custom title ID ===
**The word in place of <code>b_london</code> is your title ID.
 
===Finding custom title ID===
Custom titles (i.e. the title of a player created Empire) do not follow the same naming convention. To find the ID:
Custom titles (i.e. the title of a player created Empire) do not follow the same naming convention. To find the ID:
* From the debug console use the command <code>explorer</code> to open Object Browser
 
* In Object Browser choose Provider: Landed Titles
*From the debug console use the command <code>explorer</code> to open Object Browser
* Enter search term
*In Object Browser choose Provider: Landed Titles
* Hover over the Name field to show the title card
*Enter search term
*Hover over the Name field to show the title card
{{Modding navbox}}
{{Modding navbox}}
[[Category: 模组制作]]
[[Category: 模组制作]]
[[en:Console commands]]
[[en:Console commands]]

2020年9月17日 (四) 18:03的版本

This page lists the codes that may be input into the Console Window, a special debugging window that may be accessed on non-ironman games whilst in debug mode by pressing Shift+2, ALT+2+1, Shift+3,§, ~, ^, °, ², or ` (key varies based upon keyboard layout). For QWERTY keyboards, the key is `. Otherwise, Shift + Alt + C may work if the combinations above did not. Press the up or down arrow keys to traverse through previously executed commands. Many codes can be turned off by repeating the command, but sometimes reloading the save or exiting the game is necessary.

Character IDs can be seen by hovering the cursor over a character with debug mode enabled.

调试模式

调试模式是游戏中对用户隐藏的一组工具。它们允许玩家在正常游玩的时候修改游戏。调试模式包含以下工具:

  • 控制台端口(用于玩家输入指定命令)
  • 调试菜单(包括Portrait Editor,GUI Editor,Tweak Menu等)
  • 调试信息(显示有关角色,隐藏的事件和互动)
  • 调试互动(玩家可以立即更改意见、囚禁等)
  • ^Ctrl + 点击肖像将控制角色,而 Alt +点击肖像将杀死他们。

Enabling debug mode

Debug mode must be enabled upon launching the game. It can also be disabled within the Console Window.

Steam

若需要在steam运行调试模式,需要在steam库里面,右键该游戏,然后点击属性,在 [常规] 选项里面点击 [设置启动选项...] ,将 [-debug_mode] 添加到启动项里面。此操作需要重启游戏。

Without Steam

在不使用steam平台打开游戏的情况下,可以通过在ck3文件夹的binaries文件夹里面找到ck3.exe,右键它发送到桌面快捷方式,然后右键桌面的ck3图标并点击属性,在目标那一栏里面的最后面,空格一下然后输入[-debug_mode],然后应用即可。

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:

start shell:AppsFolder\ParadoxInteractive.ProjectTitus_zfnrdv2de78ny!App -debug_mode

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. 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 ^Ctrl + ⇧Shift + 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!

Cheats

下面是控制台的命令,可用于玩家作弊,而不是仅仅用于测试为目的。They are different from scripted commands. Note that pressing the Tab key with the debug window open will show a list of commands, and pressing tab again after typing chosen command will show parameters available for the command in the debug window.

指令 效果 参数 举例
age 添加 [年龄] 指定到 [角色id], 如果没有指定角色id则默认为玩家角色,数字前面添加“-”为减少年龄。 [指定数值] [角色id] age 20
add_claim 添加宣称 [头衔id] 到 [角色id] 上, 如果没有指定角色id则默认为玩家角色。 [头衔id] [角色id] add_claim e_hre
add_doctrine 添加 [教义id] 到 [信仰id] 中,如果没有指定信仰则默认为玩家角色的信仰。Pressing tab reveals all doctrine IDs. [教义id] [信仰id] add_doctrine doctrine_pluralism_fundamentalist catholic
add_dread 添加恐惧值 [指定数值] 到 [角色id] , 如果没有指定角色id则默认为玩家角色。 [指定数值] [角色id] add_dread 100
add_maa 添加兵士的 [军团 id] 给 [角色id],如果没有指定角色id则默认为玩家角色。Pressing tab reveals all regiment IDs. [军团id] [角色id] add_maa bowmen
add_perk 给 [角色id] 添加 [技能id],如果没有指定角色id则默认为玩家角色。Pressing tab reveals all perk IDs. [技能id] [角色id] add_perk thoughtful_perk
add_piety 给玩家添加 [指定数值] 的虔诚,数字前面添加“-”为减少虔诚,默认输入此命令得到1000虔诚。 [指定数值] add_piety 9000
add_prestige 给玩家添加 [指定数值] 的声望,数字前面添加“-”为减少声望,默认输入此命令得到1000声望。 [指定数值] add_prestige 16000
add_realm_law [角色id] 的领地通过 [法律id],如果没有指定角色id则默认为玩家角色的领地。Pressing tab reveals all law IDs. [法律id] [角色id] add_realm_law crown_authority_3
add_realm_law_skip_effects [角色id] 的领地添加 [法律id],如果没有指定角色id则默认为玩家角色的领地。Pressing tab reveals all law IDs. [法律id] [角色id] add_realm_law_skip_effects crown_authority_3
add_relation [角色id] 和 [角色id] 添加 [关系id],如果只指定了一个角色,则默认为指定角色和玩家角色之间添加关系。 [关系id] [角色id] add_relation friend 1234
add_secret 给角色添加 [秘密id] 。 [秘密id] add_secret secret_witch
add_stress 给 [角色id] 增加 [指定数值]的压力。如果没有指定角色id则默认为玩家角色,数字前面添加“-”为减少压力。 [指定数值] [角色id] add_stress 50
add_title_law [头衔id] 添加 [继承法id](仅开发人员!)。 [头衔id] [法律id] add_title_law e_hre feudal_elective_succession_law
add_trait [角色id] 添加 [特质id],如果没有指定角色id则默认为玩家角色。 [特质id] [角色id] add_trait witch
add_lifestyle_xp_all 添加 [指定数值] 的生活方式经验到 [角色id],如果没有指定角色id则默认为玩家角色。默认输入此命令得到1000经验。 [指定数值] [角色id] add_lifestyle_xp_all 2000
add_diplomacy_lifestyle_xp 添加 [指定数值] 的外交生活方式经验到 [角色id],如果没有指定角色id则默认为玩家角色。经验默认输入此命令得到1000经验。 [指定数值] [角色id] add_diplomacy_lifestyle_xp 2000
add_martial_lifestyle_xp 添加 [指定数值] 的军事生活方式经验到 [角色id],如果没有指定角色id则默认为玩家角色。默认输入此命令得到1000经验。 [指定数值] [角色id] add_martial_lifestyle_xp 2000
add_stewardship_lifestyle_xp 添加 [指定数值] 的管理生活方式经验到 [角色id],如果没有指定角色id则默认为玩家角色。默认输入此命令得到1000经验。 [指定数值] [角色id] add_stewardship_lifestyle_xp 2000
add_intrigue_lifestyle_xp 添加 [指定数值] 的谋略生活方式经验到 [角色id],如果没有指定角色id则默认为玩家角色。默认输入此命令得到1000经验。 [指定数值] [角色id] add_intrigue_lifestyle_xp 2000
add_learning_lifestyle_xp 添加 [指定数值] 的学识生活方式经验到 [角色id],如果没有指定角色id则默认为玩家角色。默认输入此命令得到1000经验。 [指定数值] [角色id] add_learning_lifestyle_xp 2000
change_culture 改变 [伯爵领id] 的文化为 [文化id]。 [伯爵领id] [文化id] change_culture 496 swedish
change_development_level 添加 [指定数值] 的发展度到 [伯爵领id],如果没有指定伯爵领则默认为玩家角色的首都,数字前面添加“-”为降低发展度。 [指定数值] [伯爵领id] change_development_level 100 496
change_fervor 添加 [amount] 的宗教热情到 [faith id],如果没有指定信仰则默认为玩家角色的信仰,数字前面添加“-”为降低宗教热情。默认数值为10。 [amount] [faith id] change_fervor 100 catholic
change_diplomacy 添加 [指定数值] 的外交能力到 [角色id],如果没有指定角色id则默认为玩家角色,数字前面添加“-”为减少能力数值。 [amount] [character id] change_diplomacy 16
change_martial 添加 [指定数值] 的军事能力到 [角色id],如果没有指定角色id则默认为玩家角色,数字前面添加“-”为减少能力数值。 [amount] [character id] change_martial 16
change_stewardship 添加 [指定数值] 的管理能力到 [角色id],如果没有指定角色id则默认为玩家角色,数字前面添加“-”为减少能力数值。 [amount] [character id] change_stewardship 16
change_intrigue 添加 [指定数值] 的谋略能力到 [角色id],如果没有指定角色id则默认为玩家角色,数字前面添加“-”为减少能力数值。 [amount] [character id] change_intrigue 16
change_learning 添加 [指定数值] 的学识能力到 [角色id],如果没有指定角色id则默认为玩家角色,数字前面添加“-”为减少能力数值。 [amount] [character id] change_learning 16
change_prowess 添加 [指定数值] 的勇武能力到 [角色id],如果没有指定角色id则默认为玩家角色,数字前面添加“-”为减少能力数值。 [amount] [character id] change_prowess 16
clear_character_modifiers 移除 [character id] 的所有角色修正,如果没有指定角色id则默认为玩家角色。 [character id] clear_character_modifiers
clear_title_laws 移除 [title id] 的所有头衔继承法。 [title id] clear_title_laws e_hre
clear_traits 移除 [character id] 的所有特质,如果没有指定角色id则默认为玩家角色。 [character id] clear_traits
discover_all_eras [character id] 的文化发现所有革新,如果没有指定角色id则默认为玩家角色。 [character id] discover_all_eras
discover_era 玩家角色的文化进入 [era id] 同时发现该时代的所有革新。Pressing tab reveals all era IDs. 默认为当前时代。 [era id] discover_era culture_era_early_medieval
discover_fascination [character id] 的当前文化偏好被发现,如果没有指定角色id则默认为玩家角色。 [character id] discover_fascination
discover_innovation [character id] 的文化发现 [innovation id],如果没有指定角色id则默认为玩家角色。Pressing tab reveals all innovation IDs. [innovation id] [character id] discover_innovation innovation_motte
dynasty_prestige 添加 [amount] 的宗族威望到 [dynasty id],如果没有指定宗族则默认为玩家角色的宗族,数字前面添加“-”为减少宗族威望。默认数值为1000。 [amount] [dynasty id] dynasty_prestige 100000
end_schemes 所有针对玩家角色的计谋被放弃。 end_schemes
event 触发 [event id]。 [event id] event lifestyle_nicknames.0001
gain_all_dynasty_perks [character id] 的宗族获得所有宗族传承,如果没有指定角色id则默认为玩家角色。 [character id] gain_all_dynasty_perks
gain_all_perks [character id] 获得所有生活方式技能,如果没有指定角色id则默认为玩家角色。 [character id] gain_all_perks
give_title 添加 [title id] 给 [character id],如果没有指定角色id则默认为玩家角色。 [title id] [character id] give_title e_hre
gold 添加 [指定数值] 的金钱给玩家,数字前面添加“-”为减少金钱,默认输入此命令得到1000金钱。 [amount] add_gold 500
instabuild 玩家角色直辖领地内的地产和建筑一天建成。再次输入则失效。 instabuild
instant_birth 怀孕持续一天。再次输入则失效。 instant_birth
join_era [character id] 的文化进入 [era id],如果没有指定角色id则默认为玩家角色。Pressing tab reveals all era IDs. [era id] join_era culture_era_high_medieval
kill 杀死 [character id],如果没有指定角色id则默认杀死玩家角色。 [character id] kill
know_schemes 发现针对玩家角色的所有计谋。 know_schemes
merge_culture 改变 [culture id] 的所有伯爵领为 [culture id]. [culture id] [culture id] merge_culture greek swedish
pregnancy 使女性 [character id] 因父亲 [character id] 而怀孕,如果没有指定角色id则父亲未知。 [character id] [character id] pregnancy 1234
remove_doctrine [faith id] 移除 [doctrine id],如果没有指定信仰则默认为玩家角色的信仰。Pressing tab reveals all doctrine IDs. [doctrine id] [faith id] remove_doctrine doctrine_pluralism_righteous catholic
remove_nick 移除 [character id] 的当前绰号,如果没有指定角色id则默认为玩家角色。 [character id] remove_nick
remove_relation 移除 [character id] 和 [character id] 之间的 [relation id],如果只指定了一个角色,则默认为指定角色和玩家角色之间移除关系。 [relation id] [character id] remove_relation friend 1234
remove_trait 移除 [character id] 的 [trait id],如果没有指定角色id则默认为玩家角色。Pressing tab reveals all trait IDs. [trait id] [character id] remove_trait witch
set_culture [character id] 的文化改变为 [culture id],如果没有指定角色id则默认为玩家角色。 Pressing tab reveals all culture IDs. [culture id] [character id] set_culture swedish
set_dread [character id] 的恐怖值设定为 [amount],如果没有指定角色id则默认为玩家角色。 [amount] [character id] set_dread 100
set_faith [character id] 的信仰改变为 [faith id],如果没有指定角色id则默认为玩家角色。Pressing tab reveals all faith IDs. [faith id] [character id] set_faith catholic
set_focus [character id] 的重心设定为 [focus id],如果没有指定角色id则默认为玩家角色。 [focus id] [character id] set_focus diplomacy_majesty_focus
set_nick 添加 [绰号id] 给 [character id],如果没有指定角色id则默认为玩家角色。 [绰号id] [character id] set_nick nick_the_lazy
set_sexuality [character id] 的性取向改变为 [sexuality id],如果没有指定角色id则默认为玩家角色 [sexuality id] [character id] set_sexuality bisexual
set_stress [character id] 的压力设定为 [amount],如果没有指定角色id则默认为玩家角色 [amount] [character id] set_stress 0
set_diplomacy [character id] 的外交能力设定为 [amount],如果没有指定角色id则默认为玩家角色 [amount] [character id] set_diplomacy 16
set_martial [character id] 的军事能力设定为 [amount],如果没有指定角色id则默认为玩家角色 [amount] [character id] set_martial 16
set_stewardship [character id] 的管理能力设定为 [amount],如果没有指定角色id则默认为玩家角色 [amount] [character id] set_stewardship 16
set_intrigue [character id] 的谋略能力设定为 [amount],如果没有指定角色id则默认为玩家角色 [amount] [character id] set_intrigue 16
set_learning [character id] 的学识能力设定为 [amount],如果没有指定角色id则默认为玩家角色 [amount] [character id] set_learning 16
set_prowess [character id] 的勇武能力设定为 [amount],如果没有指定角色id则默认为玩家角色 [amount] [character id] set_prowess 16
yesmen AI角色接受所有提议。再次输入则失效。 None yesmen

Testing commands

Testing commands are used for developer, beta tester or modder testing.

Command Effect Parameters Example
clear 清除控制台历史输入。 None clear
effect 执行脚本效果。 [effect script] effect test
faction_spawn 生成 [faction type],如果存在有效的省份或廷臣来建立它。 [faction type] faction_spawn peasant_faction
generate_cadet_coa 为玩家角色的家族生成一个新的盾徽。 None generate_cadet_coa
help 输出 [command] 的相关描述,如果为空则列出所有控制台指令。 [command] help help
instamove 军队每一天移动一个男爵领。(同时影响AI和玩家) None instamove
map_editor 打开地图编辑器。 None map_editor
nomen AI角色拒绝所有提议。再次输入则失效。 None nomen
observe 进入观察者模式。 None observe
play 切换角色为 [character id]。 [character id] play 1234
portrait_editor 打开肖像编辑器。 None portrait_editor
run 执行 [file name] 中的指令。txt文件必须位于Documents/Paradox Interactive/Crusader Kings III/run None run test.txt
set_is_ai 允许AI控制 [character id]。 [character id] set_is_ai 1234
set_is_player 禁止AI控制 [character id]。 [character id] set_is_player 1234

特质ID

主条目:Traits

All traits have an ID that is referenced internally by the game. They can be found in game\common\traits\00_traits.txt. A trait's ID typically matches its name. To get a trait's ID from its name, perform the following steps:

  • If a trait displays two names in-game, use the one in brackets
  • Replace spaces ( ) and dashes (-) with underscores (_)
  • Remove all apostrophes (')
  • Turn all upper case letters into lower case (A...Z->a...z)

Traits that do not follow this pattern have been listed below for reference.

教育特质 ID
天真的绥靖者 education_diplomacy_1
合格的谈判者 education_diplomacy_2
魅力非凡的说客 education_diplomacy_3
幕后操控人 education_diplomacy_4
鲁莽的战士 education_martial_1
坚强的战士 education_martial_2
优秀战术家 education_martial_3
天才军事家 education_martial_4
放荡的浪子 education_stewardship_1
节俭的职员 education_stewardship_2
财富创造者 education_stewardship_3
点石成金者 education_stewardship_4
业余阴谋家 education_intrigue_1
浮夸的诈骗师 education_intrigue_2
暗中策划者 education_intrigue_3
难以捉摸的影子 education_intrigue_4
尽职的书吏 education_learning_1
有见地的思想家 education_learning_2
明睿的智者 education_learning_3
哲学大师 education_learning_4
笨手笨脚的扈从 education_martial_prowess_1
自信的骑士 education_martial_prowess_2
令人敬畏的方旗骑士 education_martial_prowess_3
著名勇士 education_martial_prowess_4
先天特质 ID
其貌不扬 beauty_bad_1
丑陋不堪 beauty_bad_2
面目狰狞 beauty_bad_3
眉清目秀 beauty_good_1
螓首蛾眉 / 英姿飒爽 beauty_good_2
倾国倾城 beauty_good_3
迟钝 intellect_bad_1
愚笨 intellect_bad_2
痴呆 intellect_bad_3
敏锐 intellect_good_1
聪慧 intellect_good_2
天才 intellect_good_3
纤弱 physique_bad_1
脆弱 physique_bad_2
衰弱 physique_bad_3
硬朗 physique_good_1
健壮 physique_good_2
阿玛宗 / 海格力斯 physique_good_3
抑郁症患者 depressed_1 / depressed_genetic
精神错乱 lunatic_1 / lunatic_genetic
附身 possessed_1 / possessed_genetic
生活特质 ID
Trait blademaster 1.png Aspiring Blademaster blademaster_1
Trait blademaster 2.png Blademaster blademaster_2
Trait blademaster 3.png Legendary Blademaster blademaster_3
Trait hunter 1.png Novice Hunter hunter_1
Trait hunter 2.png Hunter hunter_2
Trait hunter 3.png Master Hunter hunter_3
Trait mystic 1.png Wise Man / Wise Woman mystic_1
Trait mystic 2.png Mystic mystic_2
Trait mystic 3.png Miracle Worker mystic_3
Trait reveler 1.png Eager Reveler reveler_1
Trait reveler 2.png Famous Reveler reveler_2
Trait reveler 3.png Legendary Reveler reveler_3
Trait physician 1.png Novice Physician physician_1
Trait physician 2.png Physician physician_2
Trait physician 3.png Renowned Physician physician_3
顾家男人/顾家女人 family_first
Trait (other) ID
kinslayer_1
kinslayer_2
kinslayer_3
wounded_1
wounded_2
wounded_3
/ Barren infertile
/ Nun devoted


faith_warrior
crusader_king
pneumonic
clubfooted
savior
(unused) blood_of_prophet
/ Viking viking
/ Early Great Pox (mimics Lover's Pox) early_great_pox

Title IDs

主条目:Titles

All titles have an internal title ID that can be found in game\common\landed_titles\00_landed_titles.txt. Title IDs have a prefix based on their rank, followed by an underscore (_) and then their name.

Rank Prefix Example
 Barony b_ Wigmore -> b_wigmore
 County c_ Sundgau -> c_sundgau
 Duchy d_ Sicily -> d_sicily
 Kingdom k_ Denmark -> k_denmark
 Empire e_ Persia -> e_persia

Title IDs can also be seen in their respective title lists:

Finding title IDs based on in-game name

The title ID may not match the title's name in-game. For example, the player may have their game set to a language other than English or a title has a culture-specific name. Use the following steps to find a title ID purely on its in-game name:

  • Navigate to the file located at game\localization\LANGUAGE\titles_l_LANGUAGE.yml, replacing LANGUAGE with your game language.
  • Open the file with a text editor like Notepad++ and search for any instances of the in-game name using ^Ctrl + F.
  • If you managed to find a match:
    • The line should look similar to b_my_barony_name:0 "In-game name for barony".
    • The title ID is the word before the :0, therefore being b_my_barony_name in this example.
  • If you could not find a match:
    • Close the file.
    • In the same folder as the previous file, open the file titles_cultural_names_l_LANGUAGE.yml, replacing LANGUAGE appropriately.
    • Repeat your search for the title's in-game name in this file.
    • When you find a match, it should look like so: cn_lunden:0 "Lunden".
    • Remember/copy the word before the :0 (in this example, cn_lunden); this is a cultural name key of the title.
    • Close the file.
    • Navigate to the file game\common\landed_titles\00_landed_titles.txt and open it with your text editor.
    • Perform a search for the cultural name key you found in the previous file (e.g., cn_lunden).
    • The search query should land within a block named cultural_names enclosed by curly brackets ({, }).
    • Read the lines above until you reach another start of a block (denoted by b_london = {). Ignore any blocks like color = { or color2 ={.
    • The word in place of b_london is your title ID.

Finding custom title ID

Custom titles (i.e. the title of a player created Empire) do not follow the same naming convention. To find the ID:

  • From the debug console use the command explorer to open Object Browser
  • In Object Browser choose Provider: Landed Titles
  • Enter search term
  • Hover over the Name field to show the title card