CK3 DatabaseCrusader Kings III · 1.20.1.2 “Crozier” · unofficial
Silk & Silverout Tue, Nov 17What's free, what needs the DLC, price →
CK3控制台指令大全: Crusader Kings III artwork

CK3控制台指令大全

王国风云3(十字军之王3)1.20.1.2 版注册的全部 295 条控制台指令,其中 195 条属于游戏本身,其余属于 Paradox 引擎。指令名和参数照游戏原样,每条下面是游戏自带说明(控制台里 help 指令名 显示的那一行)的中文版。

控制台要在 Steam 启动选项里加上 -debug_mode,见开启方法。配合使用的代码:特质代码、宝物代码、事件ID(英文)和全部ID列表(英文)。

怎样打开控制台

  1. 在 Steam 库里右键游戏 → 属性 → 通用,在“启动选项”里填入 -debug_mode。
  2. 开始一局不是铁人模式、也不是多人游戏的游戏。在铁人模式和多人游戏里,游戏会提示 No Console commands in ironman! 和 No Console commands in multiplayer!,控制台用不了。
  3. 按 ` 键(有的键盘是 §、~ 或 ^)打开控制台,输入或粘贴指令后按回车。参数写在指令名后面,用空格隔开:add_trait brave。

角色参数可以省略的指令,省略时作用于你扮演的角色(各条说明里写明了)。开启调试模式后,这局游戏无法获得成就。

常用秘籍

  • gold 10000增加 10000 金钱
  • add_prestige 5000增加 5000 威望
  • add_piety 5000增加 5000 虔诚
  • add_trait intellect_good_3获得特质“天才”
  • add_trait beauty_good_3获得特质“倾国倾城”
  • remove_trait intellect_good_3移除特质“天才”
  • set_culture han文化改为“汉”
  • set_faith confucian_faith信仰改为“儒家”
  • give_title k_england把“英格兰”头衔交给你扮演的角色
  • instabuild建造立即完成
  • yesmenAI 对一切都说“好”
  • add_lifestyle_xp_all 10000所有生活方式各加 10000 经验
  • gain_all_perks获得全部技能
  • discover_all_eras发现全部时代和革新

本站访客复制最多的指令

  • add_trait

    为角色添加特质。

    参数
  • pregnancy

    让角色怀孕。

    参数
  • give_title

    把头衔交给指定角色。

    参数
  • add_lifestyle_xp_all

    为所有生活方式增加经验。

    参数
  • change_provisions

    在现有给养上增减指定数值。

    参数
  • instamove

    部队和旅行每天移动一个省份。

    在列表中查看
  • bypass_requirements

    无视决议、互动、计谋、法律和创建头衔的条件。

    在列表中查看
  • instabuild

    玩家的建造立即完成。

    在列表中查看
  • remove_doctrine

    从信仰中移除指定的教义。

    参数

角色 (40)

特质、能力、年龄、绰号、技能和人际关系。

  • add_lifestyle_xp

    为指定的生活方式增加经验。

    Adds xp to the given lifestyle

    参数:<lifestyle_type><amount>(optional)<character>(optional)

  • add_lifestyle_xp_all

    为所有生活方式增加经验。

    Adds xp all lifestyle

    参数:<amount>(optional)<character>(optional)

  • add_perk

    让角色(默认是当前扮演的角色)获得指定技能。

    Gives a character (currently played character by default) a specific perk

    参数:<perk><character>(optional)

  • add_relation

    在两名角色之间添加一种脚本关系。

    adds a scripted relation

    参数:<relation name><char01><char02>

  • add_secret

    让角色(默认是当前扮演的角色)获得指定秘密。

    Gives a character (currently played character by default) a specific secret

    参数:<type><target>(optional)<character>(optional)

  • add_trait别名 at、trait

    为角色添加特质。

    adds trait to a character

    参数:TraitCharacter ID (optional, applies to player character otherwise)

  • age

    在当前年龄上增加岁数。

    Adds age to the current age

    参数:AgeCharacter ID

  • change_diplomacy别名 diplomacy

    改变角色的外交。

    Changes the diplomacy of a character

    参数:valuecharacter (optional)

  • change_intrigue别名 intrigue

    改变角色的谋略。

    Changes the intrigue of a character

    参数:valuecharacter (optional)

  • change_learning别名 learning

    改变角色的学识。

    Changes the learning of a character

    参数:valuecharacter (optional)

  • change_martial别名 martial

    改变角色的军事。

    Changes the martial of a character

    参数:valuecharacter (optional)

  • change_prowess别名 prowess

    改变角色的勇武。

    Changes the prowess of a character

    参数:valuecharacter (optional)

  • change_stewardship别名 stewardship

    改变角色的管理。

    Changes the stewardship of a character

    参数:valuecharacter (optional)

  • clear_character_modifiers

    移除角色的全部修正。

    Removes all the modifiers of a character

    参数:character (optional)

  • clear_traits

    移除角色的全部特质。

    Removes all the traits of a character

    参数:character (optional)

  • gain_all_dynasty_perks别名 legacies、dynasty_perks、give_all_legacies

    让宗族(默认是当前角色的宗族)获得全部宗族传承。

    Gives a dynasty (currently played character's dynasty by default) all perks

    参数:character (optional)

  • gain_all_perks别名 perks

    让角色(默认是当前扮演的角色)获得全部技能。

    Gives a character (currently played character by default) all perks

    参数:character (optional)

  • hello

    显示一名角色。

    show a character

    参数:Character ID

  • hello_history

    显示一名历史角色。

    show a character from history

    参数:Scripted history character ID

  • historical_id别名 hist

    显示角色的历史 ID。

    shows the historical id of a character

    参数:Character ID

  • kill别名 die

    杀死一名角色(默认是当前扮演的角色)。

    kill a character (currently played character by default)

    参数:character (optional)

  • observe别名 ob

    开始观察游戏。

    start observing the game

  • play

    改为扮演另一名角色。

    change played character

    参数:Character ID

  • pregnancy别名 child_birth、impregnate

    让角色怀孕。

    make a character pregnant

    参数:mother idfather id (0 or empty for no father)instant birth (yes/no)

  • remove_nick别名 remove_nickname

    移除角色的绰号。

    Removes the nickname of a character

    参数:character (optional)

  • remove_relation

    移除两名角色之间的一种脚本关系(游戏自带的说明误写成了“添加”)。

    adds a scripted relation

    参数:<relation name><char01><char02>

  • remove_trait别名 rt

    移除角色的特质。

    removes trait from a character

    参数:TraitCharacter ID (optional, applies to player character otherwise)

  • secret_info别名 si

    显示该角色涉及的全部秘密的所有信息。

    Shows all info about all secrets that the character is involved in

    参数:<character ID> (optional)

  • set_culture别名 culture

    设置角色的文化。

    Sets the culture of a character

    参数:<culture><character>(optional)

  • set_diplomacy

    设置角色的外交。

    Sets the diplomacy of a character

    参数:valuecharacter (optional)

  • set_faith别名 faith

    设置角色的信仰。

    Sets the faith of a character

    参数:faithcharacter (optional)

  • set_focus

    为角色设置重心。

    Set a focus for the character

    参数:focus<character>

  • set_intrigue

    设置角色的谋略。

    Sets the intrigue of a character

    参数:valuecharacter (optional)

  • set_learning

    设置角色的学识。

    Sets the learning of a character

    参数:valuecharacter (optional)

  • set_martial

    设置角色的军事。

    Sets the martial of a character

    参数:valuecharacter (optional)

  • set_nick别名 set_nickname

    为角色设置指定的绰号。

    Sets the specified nickname to a character

    参数:nick_keycharacter (optional)

  • set_prowess

    设置角色的勇武。

    Sets the prowess of a character

    参数:valuecharacter (optional)

  • set_sexuality

    设置角色的性取向。

    sets the sexuality of a character

    参数:sexualityCharacter ID (optional, applies to player character otherwise)

  • set_stewardship

    设置角色的管理。

    Sets the stewardship of a character

    参数:valuecharacter (optional)

  • simulate_child_skills

    把角色的基础能力清零,模拟成长到指定年龄(会改变年龄)。

    zeroes all base skills and simulate growth to a specific age of character (will change age)

    参数:agecharacter id (optional)iterations

金钱、威望与资源 (16)

各种货币与数值。

  • add_dread

    在现有恐怖值上加上指定数值。

    add the value to existing dread

    参数:<dread><character id> (optional)>

  • add_house_unity_value

    改变家族团结度的数值。

    Change house unity's value

    参数:<value><character id>(optional)

  • add_influence别名 influence

    增加影响力。

    Adds influence

  • add_merit别名 merit

    增加贤能。

    Adds merit

  • add_piety别名 piety

    增加虔诚。

    add piety

    参数:Amount

  • add_prestige别名 prestige

    增加威望。

    add prestige

    参数:Amount

  • add_stress

    在现有压力上加上指定数值。

    add the value to existing stress

    参数:<stress><character id> (optional)>

  • change_barter_goods别名 add_barter_goods、barter_goods

    在现有交易品上增减指定数值。

    add/remove the value from existing barter goods

    参数:<barter goods amount>

  • change_house_unity_stage

    改变当前家族的团结阶段。

    Change the current house' unity stage

    参数:<stage><character id>(optional)

  • change_provisions

    在现有给养上增减指定数值。

    add/remove the value to existing provisions

    参数:<provisions><character id> (optional)>

  • change_treasury别名 add_treasury、treasury、imperial_treasury

    在现有国库上增减指定数值。

    add/remove the value from existing treasury

    参数:<treasury amount>

  • dynasty_prestige别名 renown、add_renown

    为指定宗族增加宗族威望(数量默认 1000,宗族默认是玩家的宗族)。

    Adds prestige to the given dynasty

    参数:amount (optional, default: 1000)dynasty ID (optional, default: player dynasty)

  • gold别名 cash、dough

    增加金钱。

    add gold

    参数:Amount

  • set_dread

    把恐怖值改为指定数值。

    change dread to the value

    参数:<dread><character id> (optional)>

  • set_provisions

    把给养改为指定数值。

    change provisions to the value

    参数:<provisions><character id> (optional)>

  • set_stress

    把压力改为指定数值。

    change stress to the value

    参数:<stress><character id> (optional)>

头衔、法律与领地 (18)

头衔、宣称、法律、派系和发展度。

  • add_claim别名 ac

    让角色获得对某个头衔的宣称。

    Gives the character a claim on the title

    参数:Character ID (optional, the player by default)Title

  • add_realm_law

    添加一项领地法。

    Adds a realm law

    参数:<law><character>(optional)

  • add_realm_law_skip_effects

    添加一项领地法,跳过花费和通过时的效果,也跳过撤销现行法律的效果。

    Adds a realm law, skips the cost and the pass effect, and the revoke effects of the current law

    参数:<law><character>(optional)

  • add_title_law

    为头衔添加法律。

    Add law to title

    参数:titlelaw

  • change_development_level

    改变某个伯爵领的发展度,默认是首都。

    Changes the development level of a county, defaults to capital

    参数:<amount><province_id>(optional)

  • clear_title_laws

    清除头衔的全部法律。

    clear all laws from title

    参数:title

  • create_contract

    为目标角色创建契约。

    Create contract for target character

    参数:<character id><type><province id><tier>

  • end_diarchy

    结束角色的权力分享。

    End diarchy for the character

    参数:<character id>

  • faction_demand

    让指定类型的第一个派系提出要求。

    The first faction of the specified type sends its demand

    参数:<faction_type>

  • faction_discontent

    设置指定类型的第一个派系的不满度。

    Sets discontent of the first faction of the specified type

    参数:<faction_type><discontent_value>

  • faction_spawn

    生成一个指定类型的派系。

    Spawns a faction of the specified type

    参数:<faction_type>

  • find_title

    查找头衔。

    find a title

    参数:Title name

  • give_title别名 gt、usurp

    把头衔交给指定角色。

    Gives the title to the specified character

    参数:TitleCharacter ID (optional, the player by default)

  • recalculate_succession

    重新计算角色的继承。

    recalculates the succession of a character

    参数:Character ID

  • recalculate_vassal_stance

    重新计算目标角色的封臣立场。

    Recalculate the vassal stance of the target character.

    参数:<character id>

  • show_title

    显示一个头衔。

    show a title

    参数:Title tag

  • start_diarchy

    为角色开始权力分享。

    Start diarchy for the character

    参数:<liege character id><diarch character id><diarchy type>

  • tick_development

    让发展度扩散运行 X 次。

    Tick the spreading of development for X ticks

    参数:<Number of ticks>

文化与信仰 (15)

文化、革新、时代、教义、信条和斗争。

  • activate_struggle_catalyst

    触发一个斗争诱因。

    Activate struggle catalyst

    参数:<struggle><catalyst><character id>

  • add_doctrine

    为信仰添加指定的教义。

    Adds a given doctrine to a faith

    参数:<doctrine><faith>(optional)

  • add_tenet

    为信仰添加指定的信条。

    Adds a given tenet to a faith

    参数:<tenet><faith>(optional)

  • change_culture

    改变某个伯爵领的文化。

    change culture of a county

    参数:province idculture

  • change_fervor别名 fervor

    改变信仰的宗教热情。

    Changes the fervor of a faith

    参数:<amount>(optional)><faith>(optional)

  • discover_all_eras

    发现全部时代和全部革新。

    Discover all eras and all innovations

    参数:character (optional)

  • discover_era

    发现某个时代(默认当前时代)的全部革新以及这个时代本身。

    Discover all innovations of a certain era (and the era itself)

    参数:era (optional, default is current era)character (optional)

  • discover_fascination别名 add_fascination

    发现角色文化当前偏好的那项革新。

    Discover the innovation that is the current fascination for a character's culture

    参数:character (optional)

  • discover_innovation别名 add_innovation

    为角色的文化发现一项革新。

    Discover an innovation for a character's culture

    参数:innovationcharacter (optional)

  • join_era别名 unlock_era

    进入某个时代(以及之前的全部时代)。

    Join a certain era (and all previous ones)

    参数:eracharacter (optional)

  • merge_culture

    把一种文化的全部伯爵领并入另一种文化。

    merge all counties of one culture into another culture

    参数:from cultureto culture

  • progress_struggle_phase

    为斗争的某个阶段增加进度。

    Add progress towards a struggle phase

    参数:<struggle><phase><progress_value>

  • remove_doctrine

    从信仰中移除指定的教义。

    Removes a given doctrine from a faith

    参数:<doctrine><faith>(optional)

  • remove_tenet

    从信仰中移除指定的信条。

    Removes a given tenet from a faith

    参数:<tenet><faith>(optional)

  • start_struggle

    开始一场斗争。

    Start a struggle

    参数:<struggle><starting phase>(optional)

地图、军队与旅行 (17)

即时建造与移动、兵士、旅行、瘟疫、宝物。

  • abort_travel_plan

    中止正在进行的旅行。

    Abort any ongoing travel.

    参数:<character id>

  • add_all_artifact_types

    生成新宝物,每种类型各一件。

    Create new artifacts, one of each type

  • add_all_artifact_visual_types

    生成新宝物,每种外观各一件。

    Create new artifacts, one of each visual type

  • add_maa

    为角色添加一支兵士军团。

    Add an men-at-arms regiment to the character

    参数:MAA type<character><banner_index>

  • add_pending_court_event

    为本地玩家添加一个待发生的宫廷事件。

    Add a pending court event to the local player

  • fow

    游戏没有给出说明(控制台变量:输入即可切换开关)。

  • generate_cadet_coa

    为角色生成纹章,当作其宗族的支系来生成。

    Generate a CoA for this character as if they were a cadet of their dynasty

    参数:character (optional)

  • instabuild别名 quickbuild

    玩家的建造立即完成。

    Players build things instantly

  • instamove别名 quickmove

    部队和旅行每天移动一个省份。

    units and travels move one province each day

  • instant_birth

    切换孩子是立刻出生还是照常出生。

    Toggles if children should be born instantly or as normal

  • instatravel

    开关即时旅行。

    Toggles Instatravel

  • redraw_coa

    重绘纹章。

    Redraw coat of arms

  • select_province

    选中一个省份。

    select a province

    参数:Province Id

  • skip_activity_phase

    跳过角色所参与活动的当前阶段。

    Skip the current phase in the involved activity of the character

    参数:<character-id> optional

  • spawn_epidemic

    生成一场瘟疫。

    Spawn an epidemic.

    参数:<epidemic type><province id><intentsity>

  • start_travel_plan

    开始一个旅行计划,可有一个或多个目的地。途经地写在目的地前面,用“;”隔开,不加空格。

    Start a travel plan, with one or more destinations. Declare waypoints before your destination, with ';' and no spaces.

    参数:<destination(s)>

  • travel_reroute_to_home

    把进行中的旅行计划改道回“家”。

    Reroute an ongoing travel plan to 'home'.

    参数:<character id>

AI与互动 (17)

AI接受什么、计谋、决议和互动。

  • AI.declare_war

    让 AI 按正常权重宣战,跳过所有节奏限制之类的检查。

    Causes the AI to declare a war (according to normal weighting), bypassing all pacing checks and the like

    参数:character (optional)

  • AI.Disable

    关闭某个角色的 AI。

    disables the AI of a character

    参数:Character ID

  • AI.Enable

    开启某个角色的 AI。

    enables the AI of a character

    参数:Character ID

  • ai.interaction_values

    输出两名角色之间某项互动的 AI 相关数值。

    Outputs the AI-related values for an interaction between two characters

    参数:<interaction type><actor character id><recipient character id> (optional)

  • AI.ToggleAll

    开关所有角色的 AI。

    Toggle AI on/off for all characters

  • AI.try_send_decision

    让你正在观察的角色的 AI 尝试执行指定决议。跳过节奏限制,但得分仍须为正。

    The AI will try to send the given decision for the character you're observing as. Bypasses pacing mechanisms, but will require a positive score

    参数:<decision_type>

  • AI.try_send_interaction

    让你正在观察的角色(或第二个参数指定的角色)的 AI 尝试发起指定互动。跳过节奏限制,但得分仍须为正。

    The AI will try to send the given interaction for the character you're observing as, or the character ID you specify as a second argument. Bypasses pacing mechanisms, but will require a positive score.

    参数:<interaction_type><character runtime ID>

  • bypass_requirements别名 bypass

    无视决议、互动、计谋、法律和创建头衔的条件。

    You get to bypass the requirements of decisions, interactions, schemes, laws, and title creation

  • complete_schemes

    立刻结算该角色的全部计谋,成功与否照常判定。

    All the character's scheme will be completed, succeeding or not as normal

    参数:<character id> (optional)

  • end_schemes

    结束所有针对玩家的计谋。

    Ends all schemes target to the player

  • instant_responses

    玩家发起的所有互动都会“立刻”得到答复。

    All the players interactions will be responded to *immediately*

  • know_schemes

    发现所有针对玩家的计谋。

    Discovers all schemes target to the player

  • nomen别名 noman、debug_nomen、nm

    一天之内 AI 对一切都说“不”。

    AI will always say no to everything within a day

  • set_is_ai

    让角色由 AI 控制。

    Set a character to be controlled by an AI

    参数:Character Id

  • set_is_player

    让角色由玩家控制。

    Set a character to be controlled by a player

    参数:Character Id

  • yesmen别名 yesman、debug_yesmen、ym

    一天之内 AI 对一切都说“好”。

    AI will always say yes to everything within a day

  • yesmen_instant别名 ymi

    玩家发起的所有互动都会被接受,而且“立刻”接受。

    All the players interactions will be accepted, and will be accepted *immediately*

事件、日期与存档 (12)

触发事件,修改或盯住日期,保存和读取。

  • debug_event

    为角色触发一个事件,同时打印事件的触发条件(可能带来一些误报的错误日志)。

    Trigger an event for a character. It will also print the event trigger, which can however cause some false positive error logs.

    参数:eventidcharacter

  • event

    为角色触发一个事件。

    Trigger an event for a character

    参数:eventidcharacter

  • load

    从磁盘上的存档读取游戏。

    Load gamestate from savegame on disk

    参数:file name

  • pause_and_save_on

    到达指定日期或事件时暂停并保存游戏。

    pauses and saves the game when it reaches the given date or event

    参数:date (YYYY.MM.DD)/event ID

  • pause_on

    到达指定日期或事件时暂停游戏。

    pauses the game when it reaches the given date or event

    参数:date (YYYY.MM.DD)/event ID/<duration> s/m/h eg: 2h 20m

  • save

    把当前游戏保存到磁盘。

    Saves current gamestate to disk

    参数:file name

  • save_every

    每隔 x 年保存一次游戏。

    saves the game every x years

    参数:interval in years (number)

  • save_on

    到达指定日期或事件时保存游戏。

    saves the game when it reaches the given date or event

    参数:date (YYYY.MM.DD)/event ID

  • save_text

    以文本格式把当前游戏保存到磁盘。

    Saves current gamestate to disk with save type: Text

    参数:file name

  • set_date

    把当前日期改为指定日期。

    sets the current date to the given date

    参数:date (YYYY.MM.DD)

  • test_event

    检查某个事件能否为角色触发,同时把事件的触发条件打印到控制台(可能带来一些误报的错误日志)。

    Evaluate if an event can be triggered for a character. It will also print the event trigger to the console, which can however cause some false positive error logs.

    参数:eventidcharacter

  • tick_day

    让时间前进任意天数。

    Ticks any number of days

    参数:number of days

调试与测试 (61)

日志、计时器、校验等开发用工具。

  • ai_war_coordinator_watch

    打开 AI 战争协调的监视窗口。

    Enables AI war coordinator watch window

  • aiwatch

    打开 AI 监视窗口。

    Enables ai watch windows

  • charinfo

    显示或隐藏角色的调试信息。

    Toggles the visibility of the character debug info.

  • clear别名 clr

    清空控制台。

    Clear console.

  • count_unique_emblem_colors

    统计指定文件夹里每个文件的纹章图案可用颜色数(1–3),可指定文件格式(默认 .dds)。

    Counts the number of colors available per emblem (1-3) in every file in a given directory with an optional file format (defaults to '.dds')

    参数:directoryfile extension

  • ct

    把计时信息复制到剪贴板。

    Puts timer info in clipboard

  • dump_character_creation_stats

    把角色池的统计导出到 logs/character_creation_stats.csv。

    Dump statistics about the pool to 'logs/character_creation_stats.csv'

  • dump_pool_stats

    把角色池的统计导出到 logs/pool_stats.csv。

    Dump statistics about the pool to 'logs/pool_stats.csv'

  • dump_scripted_relation_stats

    把脚本关系在哪里创建的统计导出到 logs/scripted_relation_stats.csv。

    Dump statistics about where scripted relations are being created to 'logs/scripted_relation_stats.csv'

  • dump_title_hierarchy

    把头衔层级导出到 title_hierarchy.csv。

    Output the title hierarchy to title_hierarchy.csv

  • effect

    执行一段效果脚本。

    execute effect

    参数:{effect script}

  • error

    显示日志里的错误。

    Show errors in log

  • event_counts

    打印事件的调试计数。

    Print event debug counts

  • event_queue

    打印事件队列的调试信息。

    Print event queue debug

  • fast_tick

    加快游戏运行(帧率会降低)。

    Faster ticking (lower frame rate)

  • force_oos

    强制造成不同步(OoS)。

    Force OoS

  • force_save_compression

    切换存档是否压缩。

    Toggle if saves should be compressed

  • gamelog

    显示游戏日志。

    Show game log

  • hard_debug_pools

    校验所有角色池里的角色是否正确。

    Validate that all pools contain correct characters

  • help

    列出全部控制台指令,或显示某条指令的说明。

    Print out all console commands or a specific command description.

    参数:command name

  • helphelp

    “双彩虹”帮助。

    Double Rainbow help.

  • host

    开一局多人游戏。

    Opens a game for multiplayer

    参数:<Game Name><Password>

  • kick

    踢出指定名字的玩家。

    Kicks a player with the given name

    参数:<Player name>

  • loading_screen别名 ls

    停在下一个读取画面上。

    Stays on the next load screen

  • log_missing_game_concept_loc

    记录所有没有定义本地化键的游戏概念。

    Logs all game concepts that have not had their loc key defined

  • Log.SpecialActionFactories

    把所有已注册的特殊动作工厂记入调试日志。

    Logs all registered special action factories to the debug log

  • Logging.SubjectContracts

    记录臣属契约。

    Log subject contracts

    参数:government type filter

  • missing_trigger_localization

    导出可能缺少本地化的触发条件清单(可能有误报,也可能有遗漏)。

    Dump list of potential list of triggers missing localization. Can include false positives, and miss others.

  • modifier_docs_full

    打印完整的脚本文档,不使用修正名称的覆盖。

    Prints full script documentation without modifier name overrides

  • oos_dump

    导出不同步信息。

    Dumps OOS info.

  • output_terrain

    输出省份地形文件。

    Outputs province terrain file.

  • players

    列出服务器上的所有玩家。

    Lists all players on server

  • rebuild_gamestate_cache

    重建游戏状态缓存。

    Rebuild the gamestate cache

  • recalculate_modifiers

    重新计算修正(带参数时计算全部修正)。

    Recalculates modifiers

    参数:{if an argument is given, ALL modifiers will be calculated}

  • run

    执行 /run 文件夹里的效果文件。

    execute effect file in /run

    参数:{effect file}

  • save_zip_binary_gamestate

    以 ZipBinaryGameState 格式把当前游戏保存到磁盘。

    Saves current gamestate to disk with save type: ZipBinaryGameState

    参数:file name

  • scripted_tests

    运行脚本测试。

    Run scripted tests

    参数:pattern (optional)

  • ScriptOptimizer.CalculateTriggerDynamicOptimizations

    用评估测量数据优化脚本性能。

    Optimize script performance by using evaluation measurement data.

  • ScriptOptimizer.DumpHeuristicsInfo

    导出脚本启发式信息。

    Dump information about script heuristics.

  • ScriptOptimizer.ReadOptimizationCaches

    从缓存文件读取触发条件的评估权重。

    Read trigger evaluation weights from cache file

  • ScriptOptimizer.WriteOptimizationCaches

    把触发条件的评估权重写入缓存文件。

    Write trigger evaluation weights to cache file

  • statistics

    记录统计信息。

    Logs statistics

  • suppress_messages

    切换是否屏蔽所有消息(弹出提示和通知)。

    Toggle if all messages (toasts/notifications) should be suppressed

  • test_message

    测试发送一条消息。

    Test sending a message

    参数:typechar_id/title_key

  • test_save

    检查保存和读取前后是否一致。

    Check save and load persistence

  • timer

    打印调试计时信息。

    Prints out debug timing info

  • timer_dump

    导出调试计时信息。

    Dumps debug timing info

  • timer_reset

    重置调试计时。

    Resets debug timing

  • timer_restart

    重新开始调试计时(重置后开始)。

    Restarts (resets and starts) debug timing

  • timer_start

    开始调试计时。

    Starts debug timing

  • timer_stop

    停止调试计时。

    Stops debug timing

  • toggle_keys_on_map

    切换地图上显示键名还是显示本地化名称。

    Toggles the map showing keys instead of localized names

  • trigger

    测试一段触发条件脚本。

    test trigger script

    参数:{trigger script}

  • validate_character_invariants

    校验角色管理器的不变量。

    Validate the invariants of the character manager

  • verify_ai_path

    校验 AI 部队的路径。

    Verify an AI unit's path

  • verify_title_history

    查找头衔历史里的空缺。

    find gaps in title history

    参数:Title nameWhether or not to include vassals (optional, default is no)

  • verify_title_history_all

    查找每个头衔历史里的空缺。

    find gaps in every title's history

  • version

    在控制台和游戏日志里打印版本号。

    Prints the version to the console and the game log.

  • watch别名 ww

    打开监视窗口。

    Enables watch windows

引擎与工具 (99)

Paradox 引擎共用的指令:编辑器、图形、日志,主要给开发者和模组作者用。

  • Adjacencies.Rebuild

    重建全部相邻关系。

    Rebuild all adjacencies

  • animation.testwindow

    开关动画测试窗口。

    Toggles the animation test window

  • Application.ChangeResolution

    通过控制台修改分辨率。

    Change the resolution through the console

  • audio.cpu_info

    显示当前的 CPU 占用。

    Shows current cpu usage

  • audio.list_events

    列出音频事件。

    List audio event

  • audio.play_event

    播放一个音频事件。

    Play audio event

    参数:Audio event

  • Checksum.Log

    把游戏状态的校验和记入游戏日志。

    Log the game state checksums to the game log.

  • clearlines

    清除线条。

    Clear lines

  • compound_nodeeditor

    复合节点编辑器。

    Compound Node Editor

  • crash

    让程序崩溃。

    Cause the application to crash

  • CrashReporter.DeleteCrashData

    删除 X 天以前的本地崩溃转储。

    Delete local crash dumps older than X days.

  • CrashReporter.SimulateCrash

    模拟一次崩溃(游戏会退出)。

    Simulates a crash (resulting in the game exiting).

  • debug_mode

    开关调试模式。

    Toggles debug mode

  • Debug.FakeMP

    游戏没有给出说明(控制台变量:输入即可切换开关)。

  • Debug.TextureMode

    开启一种用于调试的贴图模式。

    Enables a texture mode for debugging

    参数:Name of debug mode

  • Dockables.Create

    创建一个可停靠窗口。

    Create dockable

    参数:Dockable name

  • Dockables.CreateUserLayout

    把当前布局复制成一个新名字的用户布局。

    Create a new user layout copy of current layout, with new name.

    参数:Dockable layout name

  • Dockables.DeleteUserLayout

    删除一个用户布局。

    Delete layout as user layout

    参数:Dockable layout name

  • Dockables.HideLayout

    隐藏正在显示的可停靠布局。

    Hide any shown dockable layout

  • Dockables.SaveUserLayout

    把当前布局作为用户布局保存到磁盘,可另起新名字。

    Save current layout to disk as user layout, optionally under a new name.

    参数:Dockable layout name

  • Dockables.ShowLayout

    显示一个已有的(用户)布局,隐藏当前布局。

    Show an existing (user) layout, hide current layout

    参数:Dockable layout name

  • Dockables.ShowManager

    显示可停靠布局管理器。

    Show dockable layout manager

  • drawcmdsviewer

    绘制指令查看器。

    Draw Cmds Viewer

  • dump_bookmark_portrait_for

    写出指定角色在当前日期的肖像数据。

    Writes portrait data for a specific character at the current date

    参数:optional character id list

  • dump_bookmark_portraits

    写出所有开局角色在当前日期的肖像数据。

    Writes portrait data for all bookmark characters at current date

  • dump_data_types别名 DumpDataTypes

    导出已注册的数据类型。

    dumps the registered data types

  • dump_tweakables

    把所有可调参数导出到用户文件夹里的指定文件。

    Dumps all available tweakables to the specified file in the user folder.

  • explorer

    显示对象浏览器窗口。

    Shows an object explorer window

  • explorer_reset

    重置对象浏览器的位置和默认设置。

    Resets the object explorer position and defaults

  • FogOfWar.Enable

    游戏没有给出说明(控制台变量:输入即可切换开关)。

  • FogOfWar.ToggleMaskVisibility

    游戏没有给出说明(控制台变量:输入即可切换开关)。

  • FPSStats

    开关 3D 统计。

    Toggles 3D Stats

  • gfx.reloadtexture

    重新载入贴图。

    Reload textures

  • gfx.skin

    选择当前的图形皮肤。

    select active gfx skin

  • gfx.texture_limit

    设置贴图显存上限(单位 MB)。

    Set texture video memory limit in megabytes

  • GradientBorders.FullRebuild

    游戏没有给出说明(控制台变量:输入即可切换开关)。

  • gui_editor

    打开界面编辑器。

    Spawns gui editor

  • GUI.AnimationTimeline.LogStats

    把界面动画时间轴系统的统计写入调试日志。

    Dump stats of the GUI Animation Timeline system to the debug log.

  • GUI.ClearWidgets

    清除占位控件。

    Clear dummy widget

  • io_stats别名 iostats

    开关 IO 统计。

    Toggles IO Stats

  • io_stats.Reset别名 iostats.reset

    重置 IO 统计。

    Resets IO Stats

  • Localization.ToggleIncludeKeyInLocOutput

    在本地化文本里同时显示本地化键。

    Includes the loc key in localization output

  • Localization.ToggleOnlyKeyInLocOutput

    本地化文本只显示本地化键。

    Shows only the loc key in localization output

  • Localization.ToggleSkipDataSystemInLocOutput

    本地化文本完全不运行数据系统。

    Don't run the data system at all in loc

  • log

    多种用途(游戏自带的说明只写了“见下文”)。

    Various, see below

  • Log.ClearAll

    清空所有日志。

    Clears all logs

  • Log.ClearErrorLog

    清空 error.log 并重置错误计数。

    Clears out error.log and resets the error count

  • Managers.court_positions.Toggle

    游戏没有给出说明(控制台变量:输入即可切换开关)。

  • Managers.epidemics.Toggle

    游戏没有给出说明(控制台变量:输入即可切换开关)。

  • Managers.legends.Toggle

    游戏没有给出说明(控制台变量:输入即可切换开关)。

  • map_editor

    开关地图编辑器。

    Toggle map editor

  • MapObjects.Painter.ClampToWaterLevel

    游戏没有给出说明(控制台变量:输入即可切换开关)。

  • MapObjects.Painter.RandomRotation

    游戏没有给出说明(控制台变量:输入即可切换开关)。

  • MapObjects.Painter.SaveAfterAdd

    游戏没有给出说明(控制台变量:输入即可切换开关)。

  • MapObjects.Painter.UsePdxMesh

    游戏没有给出说明(控制台变量:输入即可切换开关)。

  • measure_frame_time

    测量平均、最短和最长帧时间,停止后把结果打印到 debug.log。

    Measures avg/min/max frame time and prints the result to debug.log once stopped

    参数:"start" or "stop" measuring

  • memory_dump别名 memdump

    把内存统计写入 logs/memory_stats_<label>.csv。

    Writes memory stats to logs/memory_stats_<label>.csv

    参数:label

  • memory_snapshot别名 memsnap

    生成一份内存快照。

    Generate a memory snapshot

  • memory_stats别名 memstats

    开关内存统计。

    Toggles Memory Stats

  • memory_stats.Reset别名 memstats.reset

    重置内存统计。

    Resets Memory Stats

  • Message别名 social_addfriend

    把一位好友加入好友列表。

    Add a friend to friends list

    参数:Context IndexAccount ID

  • minidump

    生成一个小型转储文件。

    Creates a minidump

    参数:file path

  • net_debuginfo

    打印网络层的调试信息。

    Print debug info about the networking layer

  • net_stats别名 netstats

    开关网络统计。

    Toggles Net Stats

  • net_stats.Reset别名 netstats.reset

    重置网络统计。

    Resets Net Stats

  • particleeditor

    粒子节点编辑器。

    Particle Node Editor

  • portrait_editor别名 pe

    打开肖像编辑器。

    Open the portrait editor

  • pseudoLoc

    开关文本控件的伪本地化。

    Enable/Disable Pseudo Localization on Text Widgets

  • RandomLog

    开关随机日志记录。

    Toggles random logging

  • RandomLog.Dump

    把随机日志数据导出到文件。

    Dump random log data to a file.

    参数:Frame count to dump, or * to dump all available frames (defaults to *)Target filename (defaults to random.log)

  • release_mode

    开关发布模式。

    Toggles release mode

  • reload

    重新载入资源。

    Reloads assets

    参数:file name

  • rendertype

    报告正在使用的渲染后端。

    Reports what render backend is used

  • save_game_analyzer

    打开存档分析器。

    Open the save game analyzer

  • screenshot

    截图。

    Take screenshot

  • screenshotutils_window别名 screenshot、switchlanguage

    重新载入本地化文件并切换语言。

    Reload localization files and switch language

    参数:language name

  • script_docs别名 script_documentation

    打印脚本文档。

    Prints script documentation

  • Script.Profiling.Restart

    停止后重新开始收集脚本性能数据。

    Stop and then restart capturing script profiling data

  • Script.Profiling.Start

    开始收集脚本性能数据。

    Starts capturing script profiling data

  • Script.Profiling.Stop

    停止收集脚本性能数据。

    Stop capturing script profiling data

  • send_player_snapshot_telemetry

    立刻为扮演的角色发送 player_snapshot 遥测事件,不等每年一次的间隔。

    Sends the player_snapshot telemetry event for the played character right now, ignoring the yearly interval

  • settings

    打开设置界面,可用参数指定先显示哪个类别。

    Spawns a settings GUI with an optional argument for an initially selected category

  • social_debuginfo

    打印社交层的调试信息。

    Print debug info about the social layer

  • social_joinroom

    用指定的社交上下文加入聊天室。

    Join a chat room using the given social context

    参数:Context IndexRoom NameNick Name

  • social_sendmessage

    向聊天室发送一条消息。

    Send a message to a chat room.

    参数:Context IndexRoom Name

  • spawnline

    在两个位置之间生成指定线条。

    Spawns specified line between 2 positions

    参数:<line name><start position 'x,y,z'> (no spaces)<end position x,y,z> (no spaces)

  • swapchain.buffers

    查询或设置交换链缓冲。

    Query/Set swapchain buffers

  • texturelist

    贴图列表。

    Texture List

  • textureviewer

    贴图查看器。

    Texture Viewer

  • Threading.TaskThreadCount

    设置或查看任务线程数。

    Set or get the number of task threads

    参数:The number of task threads

  • time

    现在几点?

    What time is it?

  • tools.skins

    皮肤编辑器。

    Skin Editor

  • tutorial.debugwindow

    显示教程调试窗口。

    Shows the tutorial debug window

  • tutorial.disable

    关闭教程。

    Disable the tutorial

    参数:gamestate/global/all (default: global)

  • tutorial.enable

    开启教程。

    Enable the tutorial

    参数:gamestate/global/all (default: global)

  • tutorial.reset别名 tutorial_reset、reset_tutorial

    重置教程。

    Reset the tutorial

  • vsync

    开关主交换链的垂直同步。

    Toggle main swapchains vsync

数据来自游戏文件:1.20.1.2(Steam build 26046173)。

Spotted a mistake on this page?