控制台命令:修订间差异

本页面所适用的版本可能已经过时,最后更新于1.0
() 03:18, 28 April 2019‎ 157.52.108.35)
(没有差异)

2019年4月28日 (日) 13:08的版本

This page deals with commands used in the console. For the modding 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
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_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.
debug_mode Shows tags and Ids, equivalent to charinfo in CK2.
horde [<province>] Spawns a barbarian horde of 100k units in specified province.
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.
music.next Changes current music track.
navy[<shipcount>][<province>] Spawns specified amount of Triremes in province.
power [<amount>] Add specified amount to all powers.
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.
tick_day [number of days] Advances time by the specified number of days.
yesmen Activates yesmen (AI accepts all diplomatic proposals).
debug.achievements.resetall Resets all achievements (developer command).

References