控制台命令:修订间差异

本页面所适用的版本可能已经过时,最后更新于1.0
(同步到官方百科10:23, 7 May 2019‎ 2a00:*:*:*:*:*:*:5cbf)
(同步到官方百科09:54, 25 May 2019‎ Dauth)
第1行: 第1行:
{{Version|1.0}}
{{Version|1.0}}
:{{Hatnote|This page deals with commands used in the console. For the [[模组制作‏‎]] term, see [[commands]].}}
:{{Hatnote|This page deals with commands used in the console. For the [[模组制作‏‎]] term, see [[ 效果]].}}
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 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 the full list of available commands typing "help" in the console. 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.
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 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 the full list of available commands typing "help" in the console. 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.


This list is not yet complete. You can find a list of all Imperator console commands in the meantime at commands.gg/imperator.
This list is not yet complete. You can find a list of all Imperator console commands in the meantime at commands.gg/imperator.


==List of commands==
== 命令列表==
{{SVersion|1.0}}
{{SVersion|1.0}}
{| class="wikitable sortable"
{| class="wikitable sortable"
! Command !! Effect
! 命令 !! 作用
|-
|-
| ae [<amount>] || Modifies your aggressive expansion. ae -10 would reduce it by 10.
| explorer || 打开 object explorer 除错工具。
|-
|-
| annex [<countrytag>] || Annexes the specific country to yours.
| gui_editor || 打开 GUI 编辑器。
|-
|-
| army[<cohortcount>][<province>] || Adds specific amount of units in selected province.
| setup_editor || 打开省份设置编辑器,你能在其中编辑文化、宗教等等。
|-
|-
| army_loyalty [<prov> <amount>] || Sets army loyalty to specified amount.
| ae [< 数额>] || 修改你的侵略性扩张。ae -10 会降低它 10 点。
|-
|-
| cash [<amount>] || Adds specified amount of gold.
| annex [< 国家tag>] || 吞并指定国家到你的。
|-
|-
| centralization [<amount>] || Sets centralization to specified amount.
| army[< 大队数>][<省份>] || 添加指定数量的单位在选择的省份。
|-
|-
| civil_war [<countrytag>] || Starts a civil war in the specified country.
| army_loyalty [<prov> <数额>] || 设置军队忠诚度到指定的数额。
|-
|-
| conquer [<provid>] || Conquer specified province.
| cash [< 数额>] || 添加指定数量的黄金。
|-
|-
| control [<provid> [<countrytag>] || Control specified province by specified country.
| centralization [<数额>] || 设置集权度到指定的数额。
|-
| civil_war [<国家tag>] || 开始一场内战在指定的国家。
|-
| conquer [<省份id>] || 征服指定的省份。
|-
| control [< 省份id> [< 国家tag>] || 控制指定的省份 by 指定的国家。
|-
|-
| debug_mode || Shows tags and Ids, equivalent to charinfo in CK2.
| debug_mode || Shows tags and Ids, equivalent to charinfo in CK2.
|-
|-
| declare_war [<countrytag>] [<countrytag>] || Starts war between two countries.
| declare_war [< 国家tag>] [< 国家tag>] || 开始战争在两个国家之间。
|-
|-
| eagerness [<countrytag>] || Check AI eagerness for war.
| eagerness [< 国家tag>] || Check AI eagerness for war.
|-
|-
| event [eventid][target] || Triggers event for specified character/province/country.
| event [ 事件id][ 目标] || Triggers event for 指定的人物/ 省份/ 国家。
|-
|-
| exile || Exiles selected units.
| exile || Exiles selected units.
|-
|-
| forcepeace [<countrytag>] || Forces AI generated peace offers for specified country.
| forcepeace [< 国家tag>] || Forces AI generated peace offers for 指定的国家。
|-
|-
| fow || Toggles fog of war on/off.
| fow || Toggles fog of war on/off.
|-
|-
| horde [<province>] || Spawns a barbarian horde of 100k units in specified province.
| horde [< 省份>] || 产生一个 100k 单位的野蛮人部落在指定的省份。
|-
|-
| instant_war || Toggles on/off instant war declaration.
| instant_war || Toggles on/off instant war declaration.
|-
|-
| kill [<id>] || Kills target.
| kill [<id>] || 杀死目标。
|-
| legitimacy [<数额>] || 修改当前统治者正统性。
|-
|-
| legitimacy [<amount>] || Modify current ruler legitimacy.
| make_child [ 母亲] [父亲] || 产生一个孩子为指定的双亲。
|-
|-
| make_child [mother] [father] || Spawns a child for the specified parents.
| manpower [<数额>] || 添加指定数量的人力。
|-
|-
| manpower [<amount>] || Add specified amount of Manpower.
| marry [ 人物][人物] || 安排婚礼在两个人物之间。
|-
|-
| marry [character][character] || Arranges marriage between two characters.
| music.next || 改变当前音轨。
|-
|-
| music.next || Changes current music track.
| navy[<船数>][<省份>] || 产生指定数量的 {{icon|Trireme}} 在省份。
|-
|-
| navy[<shipcount>][<province>] || Spawns specified amount of Triremes in province.
| observe(ob) || 切换到观众模式。
|-
|-
| observe(ob) || Switch to spectator mode.
| portrait_editor || 打开/关闭肖像编辑器。
|-
|-
| power [<amount>] || Add specified amount to all powers.
| power [< 数额>] || 添加指定的数额到全部点数。
|-
|-
| prestige [<amount>] || Modifies your prestige.
| prestige [< 数额>] || 修改你的威望。
|-
|-
| revolt [<countrytag>] || Starts a revolt in specified country.
| revolt [< 国家tag>] || 开始一场叛乱在指定的国家。
|-
|-
| set_age [<id>] [<age>] || Sets character age.
| set_age [<id>] [< 年龄>] || 设置人物年龄。
|-
|-
| stab [<amount>] || Modifies your stability.
| stab [< 数额>] || 修改你的稳定度。
|-
|-
| tag [<countrytag>] || Switch tag to another country.
| tag [< 国家tag>] || 切换 tag 到另一个国家。
|-
|-
| tech [<amount>] || Gives tech levels. Amount is optional, not specifying the amount gives 1 tech level.
| tech [< 数额>] || 给予科技等级。数额是可选的,不指定数额就给予 1 科技等级。
|-
|-
| tyranny [<amount>] || Modifies your tyranny. Tyranny -10 would reduce it by 10.
| tyranny [< 数额>] || 修改你的暴政度。Tyranny -10 会降低它 10 点。
|-
|-
| ti || Toggles terra incognita on/off.
| ti || Toggles terra incognita on/off.
|-
|-
| tick_day [number of days] || Advances time by the specified number of days.
| tick_day [number of days] || Advances time by 指定的天数。
|-
|-
| warexhaustion [<amount>] || Modifies your war exhaustion. warexhaustion -10 would reduce it by 10.
| warexhaustion [< 数额>] || 修改你的厌战度。warexhaustion -10 会降低它 10 点。
|-
|-
| yesmen || Activates yesmen (AI accepts all diplomatic proposals).
| yesmen || 激活 yesmen (AI 接受全部外交提议)。
|-
|-
| tweak fow || Opens the tweaker GUI to enable or disable Fog of War
| tweak fow || 打开 tweaker GUI 以启用或停用战争迷雾。
|-
|-
| debug.achievements.resetall || Resets all achievements (developer command). 
| debug.achievements.resetall || Resets all achievements (developer command). 

2019年5月27日 (一) 19:19的版本

This page deals with commands used in the console. For the 模组制作‏‎ term, see 效果.

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 by pressing Shift+2, ALT+2+1, Shift+3,§, ~, ^, °, ², or ` (key varies based on keyboard layout). For the full list of available commands typing "help" in the console. 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.

This list is not yet complete. You can find a list of all Imperator console commands in the meantime at commands.gg/imperator.

命令列表

命令 作用
explorer 打开 object explorer 除错工具。
gui_editor 打开 GUI 编辑器。
setup_editor 打开省份设置编辑器,你能在其中编辑文化、宗教等等。
ae [<数额>] 修改你的侵略性扩张。ae -10 会降低它 10 点。
annex [<国家tag>] 吞并指定国家到你的。
army[<大队数>][<省份>] 添加指定数量的单位在选择的省份。
army_loyalty [<prov> <数额>] 设置军队忠诚度到指定的数额。
cash [<数额>] 添加指定数量的黄金。
centralization [<数额>] 设置集权度到指定的数额。
civil_war [<国家tag>] 开始一场内战在指定的国家。
conquer [<省份id>] 征服指定的省份。
control [<省份id> [<国家tag>] 控制指定的省份 by 指定的国家。
debug_mode Shows tags and Ids, equivalent to charinfo in CK2.
declare_war [<国家tag>] [<国家tag>] 开始战争在两个国家之间。
eagerness [<国家tag>] Check AI eagerness for war.
event [事件id][目标] Triggers event for 指定的人物/省份/国家。
exile Exiles selected units.
forcepeace [<国家tag>] Forces AI generated peace offers for 指定的国家。
fow Toggles fog of war on/off.
horde [<省份>] 产生一个 100k 单位的野蛮人部落在指定的省份。
instant_war Toggles on/off instant war declaration.
kill [<id>] 杀死目标。
legitimacy [<数额>] 修改当前统治者正统性。
make_child [母亲] [父亲] 产生一个孩子为指定的双亲。
manpower [<数额>] 添加指定数量的人力。
marry [人物][人物] 安排婚礼在两个人物之间。
music.next 改变当前音轨。
navy[<船数>][<省份>] 产生指定数量的 Unit trireme.png 在省份。
observe(ob) 切换到观众模式。
portrait_editor 打开/关闭肖像编辑器。
power [<数额>] 添加指定的数额到全部点数。
prestige [<数额>] 修改你的威望。
revolt [<国家tag>] 开始一场叛乱在指定的国家。
set_age [<id>] [<年龄>] 设置人物年龄。
stab [<数额>] 修改你的稳定度。
tag [<国家tag>] 切换 tag 到另一个国家。
tech [<数额>] 给予科技等级。数额是可选的,不指定数额就给予 1 科技等级。
tyranny [<数额>] 修改你的暴政度。Tyranny -10 会降低它 10 点。
ti Toggles terra incognita on/off.
tick_day [number of days] Advances time by 指定的天数。
warexhaustion [<数额>] 修改你的厌战度。warexhaustion -10 会降低它 10 点。
yesmen 激活 yesmen(AI 接受全部外交提议)。
tweak fow 打开 tweaker GUI 以启用或停用战争迷雾。
debug.achievements.resetall Resets all achievements (developer command).

参考资料