十字军之王3
ParaWikis
最新百科
都市天际线2百科
英雄无敌3百科
维多利亚3百科
奇妙探险队2百科
罪恶帝国百科
英白拉多:罗马百科
热门百科
群星百科
欧陆风云4百科
十字军之王2百科
十字军之王3百科
钢铁雄心4百科
维多利亚2百科
ParaWikis
申请建站
ParaWikis
ParaCommons
最近更改
随机页面
加入QQ群
工具
链入页面
相关更改
特殊页面
页面信息
页面值
帮助
译名手册
字词转换
编辑指南
编辑规范
练手沙盒
资助我们
×
欢迎访问十字军之王3百科!
注册一个账号
,一起参与编写吧!这里是
当前的工程
。
全站已采用新UI,任何使用上的问题请点击
这里
。欢迎所有对百科感兴趣的同学加入QQ群:
497888338
。
阅读
编辑
编辑源代码
查看历史
讨论
编辑“
控制台指令
”
Pokewiz
(
讨论
|
贡献
)
2020年9月11日 (五) 02:47的版本
(
→Cheats
)
(
差异
)
←上一版本
|
最后版本
(
差异
) |
下一版本→
(
差异
)
警告:您正在编辑的是本页面的旧版本。
如果您发布该更改,该版本后的所有更改都会丢失。
警告:
您没有登录。如果您做出任意编辑,您的IP地址将会公开可见。如果您
登录
或
创建
一个账户,您的编辑将归属于您的用户名,且将享受其他好处。
反垃圾检查。
不要
加入这个!
{{Version|1.0}}{{需要翻译}} This page lists the codes which may be input into the Console Window, a special debugging window which may be accessed on non-ironman games while in debug mode by pressing Shift+2, ALT+2+1, Shift+3,{{key press|§}}, {{key press|~}}, {{key press|^}}, {{key press|°}}, {{key press|²}}, or {{key press|`}} (key varies based on keyboard layout). For a QWERTY keyboard, the key is {{key press|`}}. Else, try pressing Shift + Alt + C if none of the above worked. 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. __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 (shows hidden values on characters, events and interactions) * Debug Interactions (user can instantly change opinion, imprison and more) === Enabling debug mode === Debug mode must be enabled upon launching the game. It can also be disabled within the Console Window. ==== 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 is a little more complicated you cannot create a normal shortcut for it instead you are going to need to run in command prompt this command everytime: <code>start shell:AppsFolder\ParadoxInteractive.ProjectTitus_zfnrdv2de78ny!App -debug_mode</code> Alternatively, you can create a batch file on your desktop and paste in that code to run it. To create a simple batch file on Windows 10, use these steps: * Open Start. * Search for Notepad, and click the top result to start the app. * Paste in the above code provided. * 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 your done! == Cheats == Cheats are console commands that can be used to give unfair advantages as opposed to sole testing purposes. They are different from scripted [[commands]]. {| class="wikitable" ! 指令 ! 效果 ! 参数 ! 举例 |- | age | Adds [amount] of age to [character id], if no character is specified then the player character. Negative values lower it. | [amount] [character id] | age 20 |- | add_claim | Adds a pressed claim on [ [[Console_commands#Title_IDs|title id]] ] to [character id], if no character is specified then the player character. | [ [[Console_commands#Title_IDs|title id]] ] [character id] | add_claim e_hre |- | 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. | [doctrine id] [faith id] | add_doctrine doctrine_pluralism_fundamentalist catholic |- | add_dread | Adds [amount] of dread to [character id], if no character is specified then the player character. Negative values lower it. | [amount] [character id] | add_dread 100 |- | 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. | [regiment id] [character id] | add_maa bowmen |- | add_perk | Adds [perk id] to [character id], if no character is specified then the player character. Pressing tab reveals all perk IDs. | [perk id] [character id] | add_perk thoughtful_perk |- | add_piety | Adds [amount] of piety to the player character. Negative values lower it. Default 1000. | [amount] | add_piety 9000 |- | add_prestige | Adds [amount] of prestige to the player character. Negative values lower it. Default 1000. | [amount] | add_prestige 16000 |- | 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. | [law id] [character id] | add_realm_law crown_authority_3 |- | 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. | [law id] [character id] | add_realm_law_skip_effects crown_authority_3 |- | add_relation | Adds [relation id] between [character id] and [character id], if only one character is specified then between the player character and them. | [relation id] [character id] | add_relation friend 1234 |- | add_secret | Adds [secret id] to the player character. Pressing tab reveals all secret IDs. | [secret id] | add_secret secret_witch |- | add_stress | Adds [amount] of stress to [character id], if no character is specified then the player character. Negative values lower it. | [amount] [character id] | add_stress 50 |- | add_title_law | Adds [succession law id] to [title id]. | [title id] [law id] | add_title_law e_hre feudal_elective_succession_law |- | add_trait | Adds [ [[Console_commands#Trait_IDs|trait id]] ] to [character id], if no character is specified then the player character. | [ [[Console_commands#Trait_IDs|trait id]] ] [character id] | add_trait witch |- | add_lifestyle_xp_all | Adds [amount] of experience to all lifestyles of [character id], if no character is specified then the player character. Default 1000. | [amount] [character id] | add_lifestyle_xp_all 2000 |- | add_diplomacy_lifestyle_xp | Adds [amount] of diplomacy lifestyle experience to [character id], if no character is specified then the player character. Default 1000. | [amount] [character id] | add_diplomacy_lifestyle_xp 2000 |- | add_martial_lifestyle_xp | Adds [amount] of martial lifestyle experience to [character id], if no character is specified then the player character. Default 1000. | [amount] [character id] | add_martial_lifestyle_xp 2000 |- | add_stewardship_lifestyle_xp | Adds [amount] of stewardship lifestyle experience to [character id], if no character is specified then the player character. Default 1000. | [amount] [character id] | add_stewardship_lifestyle_xp 2000 |- | add_intrigue_lifestyle_xp | Adds [amount] of intrigue lifestyle experience to [character id], if no character is specified then the player character. Default 1000. | [amount] [character id] | add_intrigue_lifestyle_xp 2000 |- | add_learning_lifestyle_xp | Adds [amount] of learning lifestyle experience to [character id], if no character is specified then the player character. Default 1000. | [amount] [character id] | add_learning_lifestyle_xp 2000 |- | change_culture | Changes the culture of [county id] to [culture id]. | [county id] [culture id] | change_culture 496 swedish |- | 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. | [amount] [county id] | change_development_level 100 496 |- | 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] | change_fervor 100 catholic |- | change_diplomacy | Adds [amount] of diplomacy skill to [character id], if no character is specified then the player character. Negative values lower it. | [amount] [character id] | change_diplomacy 16 |- | change_martial | Adds [amount] of martial skill to [character id], if no character is specified then the player character. Negative values lower it. | [amount] [character id] | change_martial 16 |- | change_stewardship | Adds [amount] of stewardship skill to [character id], if no character is specified then the player character. Negative values lower it. | [amount] [character id] | change_stewardship 16 |- | change_intrigue | Adds [amount] of intrigue skill to [character id], if no character is specified then the player character. Negative values lower it. | [amount] [character id] | change_intrigue 16 |- | change_learning | Adds [amount] of learning skill to [character id], if no character is specified then the player character. Negative values lower it. | [amount] [character id] | change_learning 16 |- | change_prowess | Adds [amount] of prowess skill to [character id], if no character is specified then the player character. Negative values lower it. | [amount] [character id] | change_prowess 16 |- | clear_character_modifiers | Removes all character modifiers from [character id], if no character is specified then the player character. | [character id] | clear_character_modifiers |- | clear_title_laws | Removes all title succession laws from [title id]. | [title id] | clear_title_laws e_hre |- | clear_traits | Removes all traits from [character id], if no character is specified then the player character. | [character id] | clear_traits |- | discover_all_eras | Discovers all innovations for the culture of [character id], if no character is specified then the player character's. | [character id] | discover_all_eras |- | 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] | discover_era culture_era_early_medieval |- | discover_fascination | Discovers the current fascination for the culture of [character id], if no character is specified then the player character's. | [character id] | discover_fascination |- | 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. | [innovation id] [character id] | discover_innovation innovation_motte |- | 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] | dynasty_prestige 100000 |- | end_schemes | All schemes targeting the player character are abandoned. | None | end_schemes |- | event | Triggers [event id]. | [event id] | event lifestyle_nicknames.0001 |- | 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] | gain_all_dynasty_perks |- | gain_all_perks | Gives all lifestyle perks to [character id], if no character is specified then the player character. | [character id] | gain_all_perks |- | give_title | Gives [title id] to [character id], if no character is specified then the player character. | [title id] [character id] | give_title e_hre |- | gold | Adds [amount] of gold to the player character. Negative values lower it. Default 1000. | [amount] | add_gold 500 |- | instabuild | Holdings and buildings in the player character's domain are finished in a day. Entering it again disables it. | None | instabuild |- | instant_birth | Pregnancies last a day. Entering it again disables it. | None | instant_birth |- | 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. | [era id] | join_era culture_era_high_medieval |- | kill | Kills [character id], if no character is specified then the player character. | [character id] | kill |- | know_schemes | Discovers all schemes targeting the player character. | None | know_schemes |- | merge_culture | Changes the culture of all counties of [culture id] to [culture id]. | [culture id] [culture id] | merge_culture greek swedish |- | pregnancy | Impregnates female [character id] with father [character id], if no character is specified then an unknown father. | [character id] [character id] | pregnancy 1234 |- | 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. | [doctrine id] [faith id] | remove_doctrine doctrine_pluralism_righteous catholic |- | remove_nick | Removes the current nickname from [character id], if no character is specified then the player character. | [character id] | remove_nick |- | remove_relation | Removes [relation id] between [character id] and [character id], if only one character is specified then between the player character and them. | [relation id] [character id] | remove_relation friend 1234 |- | remove_trait | Removes [trait id] from [character id], if no character is specified then the player character. Pressing tab reveals all trait IDs. | [trait id] [character id] | remove_trait witch |- | 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. | [culture id] [character id] | set_culture swedish |- | set_dread | Sets the dread to [amount] for [character id], if no character is specified then the player character. | [amount] [character id] | set_dread 100 |- | 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. | [faith id] [character id] | set_faith catholic |- | set_focus | Sets the focus to [focus id] for [character id], if no character is specified then the player character. | [focus id] [character id] | set_focus diplomacy_majesty_focus |- | set_nick | Gives [nickname id] to [character id], if no character is specified then the player character. | [nickname id] [character id] | set_nick nick_the_lazy |- | set_sexuality | Changes the sexual orientation to [sexuality id] for [character id], if no character is specified then the player character. | [sexuality id] [character id] | set_sexuality bisexual |- | set_stress | Sets the stress to [amount] for [character id], if no character is specified then the player character. | [amount] [character id] | set_stress 0 |- | set_diplomacy | Sets the diplomacy skill to [amount] for [character id], if no character is specified then the player character. | [amount] [character id] | set_diplomacy 16 |- | set_martial | Sets the martial skill to [amount] for [character id], if no character is specified then the player character. | [amount] [character id] | set_martial 16 |- | set_stewardship | Sets the stewardship skill to [amount] for [character id], if no character is specified then the player character. | [amount] [character id] | set_stewardship 16 |- | set_intrigue | Sets the intrigue skill to [amount] for [character id], if no character is specified then the player character. | [amount] [character id] | set_intrigue 16 |- | set_learning | Sets the learning skill to [amount] for [character id], if no character is specified then the player character. | [amount] [character id] | set_learning 16 |- | set_prowess | Sets the prowess skill to [amount] for [character id], if no character is specified then the player character. | [amount] [character id] | set_prowess 16 |- | yesmen | AI characters accept all proposals. Entering it again disables it. | None | yesmen |} == Testing commands == Testing commands are used for developer, beta tester or modder testing. {| class="wikitable" ! Command ! Effect ! Parameters ! Example |- | clear | Clears console history. | None | clear |- | effect | Executes a scripted effect. | [effect script] | effect test |- | faction_spawn | Spawns [faction type] if there are valid counties or courtiers to create it. | [faction type] | faction_spawn peasant_faction |- | generate_cadet_coa | Generates a new coat of arms for the player character's house. | None | generate_cadet_coa |- | help | Prints the description of [command], if empty lists all console commands. | [command] | help help |- | instamove | Armies move one barony per day. (Affects AI as well as the player) | None | instamove |- | map_editor | Opens the map editor. | None | map_editor |- | nomen | AI characters refuse all proposals. Entering it again disables it. | None | nomen |- | observe | Enters observer mode. | None | observe |- | play | Switches character to [character id]. | [character id] | play 1234 |- | portrait_editor | Opens the portrait editor. | None | portrait_editor |- | run | Executes the commands in [file name]. The txt file must be placed in Documents/Paradox Interactive/Crusader Kings III/run. | None | run test.txt |- | set_is_ai | Allows the AI to control [character id]. | [character id] | set_is_ai 1234 |- | set_is_player | Disallows the AI to control [character id]. | [character id] | set_is_player 1234 |} == Trait IDs == {{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: * 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>) * 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. {| class="wikitable" style="float: left; margin-right: 30px;" ! Trait ! ID |- | [[File:Trait education diplomacy 1.png|24px]] Naive Appeaser | education_diplomacy_1 |- | [[File:Trait education diplomacy 2.png|24px]] Adequate Bargainer | education_diplomacy_2 |- | [[File:Trait education diplomacy 3.png|24px]] Charismatic Negotiator | education_diplomacy_3 |- | [[File:Trait education diplomacy 4.png|24px]] Grey Eminence | education_diplomacy_4 |- | [[File:Trait education martial 1.png|24px]] Misguided Warrior | education_martial_1 |- | [[File:Trait education martial 2.png|24px]] Tough Soldier | education_martial_2 |- | [[File:Trait education martial 3.png|24px]] Skilled Tactician | education_martial_3 |- | [[File:Trait education martial 4.png|24px]] Brilliant Strategist | education_martial_4 |- | [[File:Trait education stewardship 1.png|24px]] Indulgent Wastrel | education_stewardship_1 |- | [[File:Trait education stewardship 2.png|24px]] Thrifty Clerk | education_stewardship_2 |- | [[File:Trait education stewardship 3.png|24px]] Fortune Builder | education_stewardship_3 |- | [[File:Trait education stewardship 4.png|24px]] Midas Touched | education_stewardship_4 |- | [[File:Trait education intrigue 1.png|24px]] Amateurish Plotter | education_intrigue_1 |- | [[File:Trait education intrigue 2.png|24px]] Flamboyant Trickster | education_intrigue_2 |- | [[File:Trait education intrigue 3.png|24px]] Intricate Webweaver | education_intrigue_3 |- | [[File:Trait education intrigue 4.png|24px]] Elusive Shadow | education_intrigue_4 |- | [[File:Trait education learning 1.png|24px]] Conscientious Scribe | education_learning_1 |- | [[File:Trait education learning 2.png|24px]] Insightful Thinker | education_learning_2 |- | [[File:Trait education learning 3.png|24px]] Astute Intellectual | education_learning_3 |- | [[File:Trait education learning 4.png|24px]] Mastermind Philosopher | education_learning_4 |- | [[File:Trait education martial prowess 1.png|24px]] Bumbling Squire | education_martial_prowess_1 |- | [[File:Trait education martial prowess 2.png|24px]] Confident Knight | education_martial_prowess_2 |- | [[File:Trait education martial prowess 3.png|24px]] Formidable Banneret | education_martial_prowess_3 |- | [[File:Trait education martial prowess 4.png|24px]] Famous Champion | education_martial_prowess_4 |} {| class="wikitable" style="float: left; margin-right: 30px;" ! Trait ! ID |- | [[File:Trait beauty bad 1.png|24px]] Homely | beauty_bad_1 |- | [[File:Trait beauty bad 2.png|24px]] Ugly | beauty_bad_2 |- | [[File:Trait beauty bad 3.png|24px]] Hideous | beauty_bad_3 |- | [[File:Trait beauty good 1.png|24px]] Comely | beauty_good_1 |- | [[File:Trait beauty good 2.png|24px]] Handsome / Pretty | beauty_good_2 |- | [[File:Trait beauty good 3.png|24px]] Beautiful | beauty_good_3 |- | [[File:Trait intellect bad 1.png|24px]] Slow | intellect_bad_1 |- | [[File:Trait intellect bad 2.png|24px]] Stupid | intellect_bad_2 |- | [[File:Trait intellect bad 3.png|24px]] Imbecile | intellect_bad_3 |- | [[File:Trait intellect good 1.png|24px]] Quick | intellect_good_1 |- | [[File:Trait intellect good 2.png|24px]] Intelligent | intellect_good_2 |- | [[File:Trait intellect good 3.png|24px]] Genius | intellect_good_3 |- | [[File:Trait physique bad 1.png|24px]] Delicate | physique_bad_1 |- | [[File:Trait physique bad 2.png|24px]] Frail | physique_bad_2 |- | [[File:Trait physique bad 3.png|24px]] Feeble | physique_bad_3 |- | [[File:Trait physique good 1.png|24px]] Hale | physique_good_1 |- | [[File:Trait physique good 2.png|24px]] Robust | physique_good_2 |- | [[File:Trait physique good 3.png|24px]] Amazonian / Herculean | physique_good_3 |} {| class="wikitable" style="float: left; margin-right: 30px;" ! Trait ! ID |- | [[File:Trait blademaster 1.png|24px]] Aspiring Blademaster | blademaster_1 |- | [[File:Trait blademaster 2.png|24px]] Blademaster | blademaster_2 |- | [[File:Trait blademaster 3.png|24px]] Legendary Blademaster | blademaster_3 |- | [[File:Trait hunter 1.png|24px]] Novice Hunter | hunter_1 |- | [[File:Trait hunter 2.png|24px]] Hunter | hunter_2 |- | [[File:Trait hunter 3.png|24px]] Master Hunter | hunter_3 |- | [[File:Trait mystic 1.png|24px]] Wise Man / Wise Woman | mystic_1 |- | [[File:Trait mystic 2.png|24px]] Mystic | mystic_2 |- | [[File:Trait mystic 3.png|24px]] Miracle Worker | mystic_3 |- | [[File:Trait reveler 1.png|24px]] Eager Reveler | reveler_1 |- | [[File:Trait reveler 2.png|24px]] Famous Reveler | reveler_2 |- | [[File:Trait reveler 3.png|24px]] Legendary Reveler | reveler_3 |- | [[File:Trait physician 1.png|24px]] Novice Physician | physician_1 |- | [[File:Trait physician 2.png|24px]] Physician | physician_2 |- | [[File:Trait physician 3.png|24px]] Renowned Physician | physician_3 |} <!-- Creation of this table was partly aided by this script: https://github.com/SaucyPigeon/ck3_mapdata --> {| class="wikitable" style="float: left; margin-right: 30px;" ! Trait ! ID |- | [[File:Trait_depressed.png|24px]] Melancholic | depressed_1 / depressed_genetic |- | [[File:Trait_lunatic.png|24px]] Lunatic | lunatic_1 / lunatic_genetic |- | [[File:Trait_possessed.png|24px]] Possessed | possssed_1 / possessed_genetic |- | [[File:Trait_family_first.png|24px]] Patriarch / Matriarch | family_first |- | [[File:Trait_infertile.png|24px]] Sterile / Barren | infertile |- | [[File:Trait_devoted.png|24px]] Monk / Nun | devoted |- | [[File:Trait_crusader.png|24px]] Crusader<br>[[File:Trait_mujahid.png|24px]] Mujahid<br>[[File:Trait_faith_warrior.png|24px]] Warrior of the Faith | faith_warrior |- | [[File:Trait_crusader_king.png|24px]] Holy Monarch | crusader_king |- | [[File:Trait_pneumonic.png|24px]] Pneumonia | pneumonic |- | [[File:Trait wounded_1.png|24px]] Wounded | wounded_1 |- | [[File:Trait wounded_2.png|24px]] Severely Injured | wounded_2 |- | [[File:Trait wounded_3.png|24px]] Brutally Mauled | wounded_3 |- | [[File:Trait clubfooted.png|24px]] Club-footed | clubfooted |- | [[File:Trait paragon.png|24px]] The Savior | savior |- | [[File:Trait blood_of_prophet.png|24px]] Blood of the Prophet (unused) | blood_of_prophet |- | [[File:Trait kinslayer_1.png|24px]] Dynastic Kinslayer | kinslayer_1 |- | [[File:Trait kinslayer_2.png|24px]] Familial Kinslayer | kinslayer_2 |- | [[File:Trait kinslayer_3.png|24px]] Kinslayer | kinslayer_3 |- | [[File:Trait viking.png|24px]] Raider / Viking | viking |- | [[File:Trait lovers_pox.png|24px]] / [[File:Trait great_pox.png|24px]] Early Great Pox (mimics Lover's Pox) | early_great_pox |} {{clear}} == Title IDs == {{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. {| class="mildtable" ! Rank ! Prefix ! Example |- | {{iconify|Barony}} | <code>b_</code> | <code>Wigmore -> b_wigmore</code> |- | {{iconify|County}} | <code>c_</code> | <code>Sundgau -> c_sundgau</code> |- | {{iconify|Duchy}} | <code>d_</code> | <code>Sicily -> d_sicily</code> |- | {{iconify|Kingdom}} | <code>k_</code> | <code>Denmark -> k_denmark</code> |- | {{iconify|Empire}} | <code>e_</code> | <code>Persia -> e_persia</code> |- |} Title IDs can also be seen in their respective title lists: * [[List of baronies]] * [[List of counties]] * [[List of duchies]] * [[List of kingdoms]] * [[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: * 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}}. * If you managed to find a match: ** The line should look similar to <code> b_my_barony_name:0 "In-game name for barony"</code>. ** The title ID is the word before the <code>:0</code>, therefore being <code>b_my_barony_name</code> in this example. * If you could not find a match: ** Close the 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. ** Repeat your search for the title's in-game name in this file. ** When you find a match, it should look like so: <code> cn_lunden:0 "Lunden"</code>. ** 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. ** Close the file. ** Navigate to the file <code>game\common\landed_titles\00_landed_titles.txt</code> and open it with your text editor. ** Perform a search for the ''cultural name key'' you found in the previous file (e.g., <code>cn_lunden</code>). ** The search query should land within a block named <code>cultural_names</code> enclosed by curly brackets (<code>{</code>, <code>}</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 word in place of <code>b_london</code> is your title ID. {{Modding navbox}} [[Category: 模组制作]] [[en:Console commands]]
摘要:
请注意您对十字军之王3百科的所有贡献都被认为是在知识共享署名-非商业性使用-相同方式共享下发布,请查看在
十字军之王3百科:版权
的细节。如果您不希望您的文字被任意修改和再散布,请不要提交。
您同时也要向我们保证您所提交的内容是您自己所作,或得自一个不受版权保护或相似自由的来源。
未经许可,请勿提交受版权保护的作品!
为防止机器编辑,请完成下方验证
取消
编辑帮助
(在新窗口中打开)
本页使用的模板:
Template:Ambox 2020
(
编辑
)
Template:Cite file
(
编辑
)
Template:Clear
(
编辑
)
Template:Hatnote
(
编辑
)
Template:Hover box
(
编辑
)
Template:Icon
(
编辑
)
Template:Icon/a
(
编辑
)
Template:Icon/b
(
编辑
)
Template:Icon/c
(
编辑
)
Template:Icon/d
(
编辑
)
Template:Icon/e
(
编辑
)
Template:Icon/f
(
编辑
)
Template:Icon/g
(
编辑
)
Template:Icon/h
(
编辑
)
Template:Icon/i
(
编辑
)
Template:Icon/k
(
编辑
)
Template:Icon/l
(
编辑
)
Template:Icon/m
(
编辑
)
Template:Icon/n
(
编辑
)
Template:Icon/p
(
编辑
)
Template:Icon/q
(
编辑
)
Template:Icon/r
(
编辑
)
Template:Icon/s
(
编辑
)
Template:Icon/t
(
编辑
)
Template:Icon/u
(
编辑
)
Template:Icon/w
(
编辑
)
Template:Iconify
(
编辑
)
Template:Key press
(
编辑
)
Template:Main
(
编辑
)
Template:Modding navbox
(
编辑
)
Template:Navbox
(
查看源代码
)(受保护)
Template:Navboxgroup
(
编辑
)
Template:Version
(
查看源代码
)(受保护)
Template:悬停
(
编辑
)
Template:需要翻译
(
编辑
)
×
登录
密码
记住登录
加入十字军之王3百科
忘记密码?
其他方式登录