欢迎访问英白拉多:罗马百科!注册一个账号,一起参与编写吧!这里是当前的工程

基础框架建设完毕,您可以使用欧陆风云4百科的账号直接登录本站。欢迎所有对百科感兴趣的同学加入QQ群:602439518

本页面适用于最新的版本(1.0)。

控制台命令

来自英白拉多:罗马百科
跳转至: 导航搜索
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.

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

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).
tweak fow Opens the tweaker GUI to enable or disable Fog of War
debug.achievements.resetall Resets all achievements (developer command).

参考资料