Contents
Search

Console Command & Cheat: aiinvalid

EU4 Console Command
Command aiinvalid
Description Print invalid AI command counts
Command Category
Commonly Used Commands
DLC Required
How to Use
Commands in EU4 Most commands have three parameters. Some commands have fewer or none. When multiple parameters are required, enter each parameter, separated by a space. The common parameters are the country tag, province ID (please see our list of country and province IDs), and value (the amount that you want when you enter the command).
How to Open the Command Console To open the command console, press Shift 2, or Alt 2 1, or Shift 3, or ~ (this is usually located below the Esc ui tiny basic label and to the left of the 1 key. Most cheat codes can be turned off by repeating the command in the command console.
test_achievement [(achievement)]
Description
tests a specific achievement
DLC Required
None
Read More
reloadtexture [texture file name]
Description
Reloads the specified texture
DLC Required
None
Read More
texture_usage
Description
Prints texture usage
DLC Required
None
Read More
setmissionaryprogress [(ProvinceID)] [(Amount)]
Description
Sets the missionary progress for a province.
DLC Required
None
Read More
reload [file name]
Description
Reloads the gui or lua file
DLC Required
None
Read More
SetRandomCount
Description
Sets the randomcount to 0 or arg
DLC Required
None
Read More
set_prov_flag [(Flag)] [(Province)]
Description
Sets a flag for a province
DLC Required
None
Read More
reset_powerspend []
Description
Resets global powerspend statistics
DLC Required
None
Read More
score
Description
Score data dumped to game.log
DLC Required
None
Read More
set_leader_trait [(personality)]
Description
Set selected leader's personality trait
DLC Required
None
Read More
infinite_combat
Description
Infinite combat
DLC Required
None
Read More
reloadloc
Description
Reloads the localisation
DLC Required
None
Read More
leak
Description
Leaks memory
DLC Required
None
Read More
add_diplo [(Country tag) OPTIONAL]
Description
Adds diplomatic enroute
DLC Required
None
Read More
population [(ProvinceID)] [(Amount)]
Description
Adds population to a province. (Only for colonies.)
DLC Required
None
Read More
corrupt [(AMOUNT)] [(Country tag) OPTIONAL]
Description
Sets the corruption of the country to the given amount.
DLC Required
None
Read More
kill_leader
Description
Kill a random leader with given death cause
DLC Required
None
Read More
morehumans(humans) [num]
Description
Adds more humans
DLC Required
None
Read More
lucky [(Country tag) OPTIONAL]
Description
Toggles lucky nation status.
DLC Required
None
Read More