
CK3控制台指令大全
王国风云3(十字军之王3)1.20.1.2 版注册的全部 295 条控制台指令,其中 195 条属于游戏本身,其余属于 Paradox 引擎。指令名和参数照游戏原样,每条下面是游戏自带说明(控制台里 help 指令名 显示的那一行)的中文版。
控制台要在 Steam 启动选项里加上 -debug_mode,见开启方法。配合使用的代码:特质代码、宝物代码、事件ID(英文)和全部ID列表(英文)。
怎样打开控制台
- 在 Steam 库里右键游戏 → 属性 → 通用,在“启动选项”里填入
-debug_mode。 - 开始一局不是铁人模式、也不是多人游戏的游戏。在铁人模式和多人游戏里,游戏会提示
No Console commands in ironman!
和No Console commands in multiplayer!
,控制台用不了。 - 按 ` 键(有的键盘是 §、~ 或 ^)打开控制台,输入或粘贴指令后按回车。参数写在指令名后面,用空格隔开:
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发现全部时代和革新
本站访客复制最多的指令
角色 (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
print_randomlog打印当前的随机日志。
Prints the current randomlog.
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
print_ai_timings打印 AI 的性能分析数据。
Prints profiling data about ai
print_event_timings打印事件的性能分析数据。
Prints profiling data about events
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
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)。