控制台命令:修订间差异

本页面所适用的版本可能已经过时,最后更新于1.0
() 03:18, 28 April 2019‎ 157.52.108.35)
 
(同步到官方百科17:20, 30 April 2019‎ 157.*.*.41)
第1行: 第1行:
{{Version|1.0}}
{{Version|1.0}}
:{{Hatnote|This page deals with commands used in the console. For the [[modding]] term, see [[commands]].}}
:{{Hatnote|This page deals with commands used in the console. For the [[ 模组制作‏‎]] term, see [[commands]].}}
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.


第7行: 第7行:
{| class="wikitable sortable"
{| class="wikitable sortable"
! Command !! Effect
! Command !! Effect
|-
| ae [<amount>] || Modifies your aggressive expansion. ae -10 would reduce it by 10.
|-
|-
| annex [<countrytag>] || Annexes the specific country to yours.
| annex [<countrytag>] || Annexes the specific country to yours.
|-
| ae [<amount>] || Modifies your aggressive expansion. ae -10 would reduce it by 10.
|-
|-
| army[<cohortcount>][<province>] || Adds specific amount of units in selected province.
| army[<cohortcount>][<province>] || Adds specific amount of units in selected province.
第23行: 第23行:
|-
|-
| conquer [<provid>] || Conquer specified province.
| conquer [<provid>] || Conquer specified province.
|-
| control [<provid> [<countrytag>] || Control specified province by specified country.
|-
|-
| 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.
|-
| eagerness [<countrytag>] || Check AI eagerness for war.
|-
| event [eventid][target] || Triggers event for specified character/province/country.
|-
| exile || Exiles selected units.
|-
| forcepeace [<countrytag>] || Forces AI generated peace offers for specified country.
|-
| fow || Toggles fog of war on/off.
|-
|-
| horde [<province>] || Spawns a barbarian horde of 100k units in specified province.
| horde [<province>] || Spawns a barbarian horde of 100k units in specified province.
|-
| instant_war || Toggles on/off instant war declaration.
|-
|-
| kill [<id>] || Kills target.
| kill [<id>] || Kills target.
第35行: 第51行:
|-
|-
| manpower [<amount>] || Add specified amount of Manpower.
| manpower [<amount>] || Add specified amount of Manpower.
|-
| marry [character][character] || Arranges marriage between two characters.
|-
|-
| music.next || Changes current music track.
| music.next || Changes current music track.
|-
|-
| navy[<shipcount>][<province>] || Spawns specified amount of Triremes in province.
| navy[<shipcount>][<province>] || Spawns specified amount of Triremes in province.
|-
| observe(ob) || Switch to spectator mode.
|-
|-
| power [<amount>] || Add specified amount to all powers.
| power [<amount>] || Add specified amount to all powers.
|-
| prestige [<amount>] || Modifies your prestige.
|-
|-
| revolt [<countrytag>] || Starts a revolt in specified country.
| revolt [<countrytag>] || Starts a revolt in specified country.
第53行: 第75行:
|-
|-
| tyranny [<amount>] || Modifies your tyranny. Tyranny -10 would reduce it by 10.
| tyranny [<amount>] || Modifies your tyranny. Tyranny -10 would reduce it by 10.
|-
| 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 the specified number of days.
|-
| warexhaustion [<amount>] || Modifies your war exhaustion. warexhaustion -10 would reduce it by 10.
|-
|-
| yesmen || Activates yesmen (AI accepts all diplomatic proposals).
| yesmen || Activates yesmen (AI accepts all diplomatic proposals).
第61行: 第87行:
|}
|}


== References ==
== 参考资料 ==
<references/>
<references/>


[[Category:Interface]]
[[Category: 界面]]
[[Category:Modding]]
[[Category: 模组制作‏‎]]
[[en:Console_commands]]
[[en:Console_commands]]

2019年5月1日 (三) 17:38的版本

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

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.

List of commands

Command Effect
ae [<amount>] Modifies your aggressive expansion. ae -10 would reduce it by 10.
annex [<countrytag>] Annexes the specific country to yours.
army[<cohortcount>][<province>] Adds specific amount of units in selected province.
army_loyalty [<prov> <amount>] Sets army loyalty to specified amount.
cash [<amount>] Adds specified amount of gold.
centralization [<amount>] Sets centralization to specified amount.
civil_war [<countrytag>] Starts a civil war in the specified country.
conquer [<provid>] Conquer specified province.
control [<provid> [<countrytag>] Control specified province by specified country.
debug_mode Shows tags and Ids, equivalent to charinfo in CK2.
declare_war [<countrytag>] [<countrytag>] Starts war between two countries.
eagerness [<countrytag>] Check AI eagerness for war.
event [eventid][target] Triggers event for specified character/province/country.
exile Exiles selected units.
forcepeace [<countrytag>] Forces AI generated peace offers for specified country.
fow Toggles fog of war on/off.
horde [<province>] Spawns a barbarian horde of 100k units in specified province.
instant_war Toggles on/off instant war declaration.
kill [<id>] Kills target.
legitimacy [<amount>] Modify current ruler legitimacy.
make_child [mother] [father] Spawns a child for the specified parents.
manpower [<amount>] Add specified amount of Manpower.
marry [character][character] Arranges marriage between two characters.
music.next Changes current music track.
navy[<shipcount>][<province>] Spawns specified amount of Triremes in province.
observe(ob) Switch to spectator mode.
power [<amount>] Add specified amount to all powers.
prestige [<amount>] Modifies your prestige.
revolt [<countrytag>] Starts a revolt in specified country.
set_age [<id>] [<age>] Sets character age.
stab [<amount>] Modifies your stability.
tag [<countrytag>] Switch tag to another country.
tech [<amount>] Gives tech levels. Amount is optional, not specifying the amount gives 1 tech level.
tyranny [<amount>] Modifies your tyranny. Tyranny -10 would reduce it by 10.
ti Toggles terra incognita on/off.
tick_day [number of days] Advances time by the specified number of days.
warexhaustion [<amount>] Modifies your war exhaustion. warexhaustion -10 would reduce it by 10.
yesmen Activates yesmen (AI accepts all diplomatic proposals).
debug.achievements.resetall Resets all achievements (developer command).

参考资料