Post here all fun console commands and other helpful tips and tricks you find.
To access the console press alt + 2 1 on your numpad.
These are the most useful commands, to see the full list or get (more or less) detailed information about the commands use help command in game:
Console Command - Effect
cash - Adds 5000 ducats to your treasury, a specific number after it doesn't alter the sum gained.
prestige - Adds 5 prestige, amount gained cannot be changed.
idea - Adds 1000 idea points, amount can't be changed.
diplomat - Adds 5 diplomats.
tag XXX - Changes you to that country. For example after using "tag FRA" you are now playing as the mighty ruler of France. Vive la révolution! However the previous ruler doesn't seem to get the memo that there's new top dog in the house and will still also be playing as the said country, issuing commands to troops and so on. The audacity!
revolt xxx yyy - Creates a revolt where xxx is the rebel type from rebel_types.txt (for example serbian_rebels) and yyy is the target province (For example 251 for Marseille.)
Like this: Mon Dieu! Don't those silly Serbs know geography?:rofl:
annex XXX - This command will annex the country specified by the XXX, for example "annex SPA" will annex Spain for your nation.
decision yyy XXX - Forces the decision (yyyy is the decision name) to be implemented in the nation specified in the XXX, or in your nation if you don't add country tag in the end. For example "decision create_wes FRA" forces France to create Westphalia.
own xxx YYY - Set the ownership of the province specified in xxx to the country specified in YYY. Not specifying the country tag will give that province to you. For example "own 251 SPA" will give Marseille to Spain and "own 251" will give it to you.
control xxx - You take the control of the province specified in xxx, a.ka this province will be occupied by you, but not owned by you. For example "control 251" means Marseille will be occupied by your country. Does NOT result in war with that nation.
die XXX - Kills the leader of the nation specified in XXX. For example "die FRA" kills Napoleon... now who on earth would do such a thing Doesn't seem to work, at least not on your own monarch.
government XXX yyyy - Sets the government form of a country specified in XXX to government form specified in the yyyy. For example "government FRA feudal_monarchy" turns France into Feudal Monarchy.
crash - Forces the "MOTE.exe has stopped working" to happen :sad:
event xxxx - Forces the specified event to fire. For example "event 5000".
event xxxx YYY - Forces the event specified in xxxx to happen in a country or province specified in the YYY. For example "event 5000 SPA" will fire the event for Spain. Or "event 6000 251" will fire the (province) event in Marseille.
Assistance Event Chain for adding money, prestige, idea points, manpower and reducing war exhaustion:
You also need to add these localisations to an .csv file in your localisation folder:
Quick Tutorial for getting some new generic Generals/Admirals for your nation:
1) Add an event to a file (Or make a new file for this event) in your event folder that looks something like this:
You can add as many leaders to it as you want. I chose 10 for this event.
2) Open one of the files in common/leaders folder and copy paste one of the generals to the end of the file. I tried making a new file for the generals but that didn't seem to work so you do have to edit one of the already existing ones like SWE.txt
Example:
Give it whatever name you want. I decided to name all my new Generals "Field Commander" because it's easy and convinient and giving them all proper names would take much time and then i would have to change them for every nation i play, but generic name like this suits for all nations. For Admirals i use "Admiral" as their name. Incredibly original i know! Here's an example of admiral:
type=land - This defines whether it is an Admiral or General. If you want an admiral change it to type=sea.
You can set whatever maneuver/offensive/defensive ratings you want up to 6. I chose 3 because it's half way between Military Genius and totally incompetent imbecile.
picture = - This sets the picture that is used for the general, i chose generic Prussian General picture Unit_PRU_General2. These can be found in gfx/portraits.
Very Important Note - Don't forget the enable=no part otherwise all these generals will be available from the beginning to the nation whose file you are using. Of course if you want them to be available from the start then set it to =yes
3) When you are done with making the profile for your General/Admiral you can just copy paste it as many times you want, just make sure you give different id numbers to them all.
4) Enjoy your new Generals/Admirals!
To access the console press alt + 2 1 on your numpad.
These are the most useful commands, to see the full list or get (more or less) detailed information about the commands use help command in game:
Console Command - Effect
cash - Adds 5000 ducats to your treasury, a specific number after it doesn't alter the sum gained.
prestige - Adds 5 prestige, amount gained cannot be changed.
idea - Adds 1000 idea points, amount can't be changed.
diplomat - Adds 5 diplomats.
tag XXX - Changes you to that country. For example after using "tag FRA" you are now playing as the mighty ruler of France. Vive la révolution! However the previous ruler doesn't seem to get the memo that there's new top dog in the house and will still also be playing as the said country, issuing commands to troops and so on. The audacity!
revolt xxx yyy - Creates a revolt where xxx is the rebel type from rebel_types.txt (for example serbian_rebels) and yyy is the target province (For example 251 for Marseille.)
Like this: Mon Dieu! Don't those silly Serbs know geography?:rofl:
annex XXX - This command will annex the country specified by the XXX, for example "annex SPA" will annex Spain for your nation.
decision yyy XXX - Forces the decision (yyyy is the decision name) to be implemented in the nation specified in the XXX, or in your nation if you don't add country tag in the end. For example "decision create_wes FRA" forces France to create Westphalia.
own xxx YYY - Set the ownership of the province specified in xxx to the country specified in YYY. Not specifying the country tag will give that province to you. For example "own 251 SPA" will give Marseille to Spain and "own 251" will give it to you.
control xxx - You take the control of the province specified in xxx, a.ka this province will be occupied by you, but not owned by you. For example "control 251" means Marseille will be occupied by your country. Does NOT result in war with that nation.
die XXX - Kills the leader of the nation specified in XXX. For example "die FRA" kills Napoleon... now who on earth would do such a thing Doesn't seem to work, at least not on your own monarch.
government XXX yyyy - Sets the government form of a country specified in XXX to government form specified in the yyyy. For example "government FRA feudal_monarchy" turns France into Feudal Monarchy.
crash - Forces the "MOTE.exe has stopped working" to happen :sad:
event xxxx - Forces the specified event to fire. For example "event 5000".
event xxxx YYY - Forces the event specified in xxxx to happen in a country or province specified in the YYY. For example "event 5000 SPA" will fire the event for Spain. Or "event 6000 251" will fire the (province) event in Marseille.
Assistance Event Chain for adding money, prestige, idea points, manpower and reducing war exhaustion:
Code:
country_event = {
id = 95000
title = "EVTNAME95000"
desc = "EVTDESC95000"
is_triggered_only = yes
option = {
name = "EVTOPTA95000"
country_event = 95001
}
option = {
name = "EVTOPTB95000"
country_event = 95010
}
option = {
name = "EVTOPTC95000"
country_event = 95020
}
option = {
name = "EVTOPT_OK"
}
}
country_event = {
id = 95001
title = "EVTNAME95001"
desc = "EVTDESC95001"
is_triggered_only = yes
option = {
name = "EVTOPTA95001"
country_event = 95002
}
option = {
name = "EVTOPTB95001"
country_event = 95003
}
option = {
name = "EVTOPTC95001"
country_event = 95004
}
option = {
name = "EVTOPT_OK"
country_event = 95000
}
}
country_event = {
id = 95002
title = "EVTNAME95002"
desc = "EVTDESC95002"
is_triggered_only = yes
option = {
name = "EVTOPTA95002"
country_event = 95001
treasury = 500
}
option = {
name = "EVTOPTB95002"
country_event = 95001
treasury = 5000
}
option = {
name = "EVTOPTC95002"
country_event = 95001
treasury = 50000
}
option = {
name = "EVTOPT_OK"
country_event = 95001
}
}
country_event = {
id = 95003
title = "EVTNAME95003"
desc = "EVTDESC95003"
is_triggered_only = yes
option = {
name = "EVTOPTA95003"
country_event = 95001
prestige = 10
}
option = {
name = "EVTOPTB95003"
country_event = 95001
prestige = 50
}
option = {
name = "EVTOPTC95003"
country_event = 95001
prestige = 100
}
option = {
name = "EVTOPT_OK"
country_event = 95001
}
}
country_event = {
id = 95004
title = "EVTNAME95004"
desc = "EVTDESC95004"
is_triggered_only = yes
option = {
name = "EVTOPTA95004"
country_event = 95001
idea_points = 25
}
option = {
name = "EVTOPTB95004"
country_event = 95001
idea_points = 200
}
option = {
name = "EVTOPTC95004"
country_event = 95001
idea_points = 500
}
option = {
name = "EVTOPT_OK"
country_event = 95001
}
}
country_event = {
id = 95010
title = "EVTNAME95010"
desc = "EVTDESC95010"
is_triggered_only = yes
option = {
name = "EVTOPTA95010"
country_event = 95000
manpower = 5000
}
option = {
name = "EVTOPTB95010"
country_event = 95000
manpower = 25000
}
option = {
name = "EVTOPTC95010"
country_event = 95000
manpower = 100000
}
option = {
name = "EVTOPT_OK"
country_event = 95000
}
}
country_event = {
id = 95020
title = "EVTNAME95020"
desc = "EVTDESC95020"
is_triggered_only = yes
option = {
name = "EVTOPTA95020"
country_event = 95000
war_exhaustion = -1
}
option = {
name = "EVTOPTB95020"
country_event = 95000
war_exhaustion = -5
}
option = {
name = "EVTOPTC95020"
country_event = 95000
war_exhaustion = -10
}
option = {
name = "EVTOPT_OK"
country_event = 95000
}
}
You also need to add these localisations to an .csv file in your localisation folder:
CODE;ENGLISH;FRENCH;GERMAN;POLSKI;SPANISH;ITALIAN;SWEDISH;CZECH;HUNGARIAN;DUTCH;PORTUGESE;RUSSIAN;FINNISH;x
EVTNAME95000;Assistance Event;;;;;;;;;;;;;x
EVTDESC95000;"Sometimes We All Could Use Little Bit Of Assistance. ""Ok"" Buttons will always take you back to previous event without doing anything or close the event chain altogether if you are on the first event! Also choosing the option like 500 ducats or 25 Idea Points moves you back in the event chain by 1 step. I wanted to make it so that the same event would happen but that doesn't work.";;;;;;;;;;;;;x
EVTOPTA95000;Extra Money, Prestige and Idea Points;;;;;;;;;;;;;x
EVTNAME95001;Extra Money, Prestige and Idea Points;;;;;;;;;;;;;x
EVTDESC95001;Choose the next option.;;;;;;;;;;;;;x
EVTOPTA95001;Money!;;;;;;;;;;;;;x
EVTOPTB95001;Prestige!;;;;;;;;;;;;;x
EVTOPTC95001;Idea Points!;;;;;;;;;;;;;x
EVTNAME95002;Money!;;;;;;;;;;;;;x
EVTDESC95002;choose the amount you wish to add ton your treasury!;;;;;;;;;;;;;x
EVTOPTA95002;500 Ducats!;;;;;;;;;;;;;x
EVTOPTB95002;5000 Ducats!;;;;;;;;;;;;;x
EVTOPTC95002;50000 Ducats!;;;;;;;;;;;;;x
EVTNAME95003;Prestige!;;;;;;;;;;;;;x
EVTDESC95003;Choose the amount of prestige you wish to add to your nation.;;;;;;;;;;;;;x
EVTOPTA95003;10 Prestige!;;;;;;;;;;;;;x
EVTOPTB95003;50 Prestige!;;;;;;;;;;;;;x
EVTOPTC95003;100 Prestige!;;;;;;;;;;;;;x
EVTNAME95004;Idea Points!;;;;;;;;;;;;;x
EVTDESC95004;Choose the amount of Idea Points you wish to gain.;;;;;;;;;;;;;x
EVTOPTA95004;25 Idea Points!;;;;;;;;;;;;;x
EVTOPTB95004;200 Idea Points!;;;;;;;;;;;;;x
EVTOPTC95004;500 Idea Points!;;;;;;;;;;;;;x
EVTOPTB95000;Add Extra Manpower!;;;;;;;;;;;;;x
EVTNAME95010;Extra Manpower!;;;;;;;;;;;;;x
EVTDESC95010;Choose the amount of Manpower you wish to add.;;;;;;;;;;;;;x
EVTOPTA95010;5000 Manpower!;;;;;;;;;;;;;x
EVTOPTB95010;25000 Manpower!;;;;;;;;;;;;;x
EVTOPTC95010;100000 Manpower!;;;;;;;;;;;;;x
EVTOPTC95000;Reduce War Exhaustion!;;;;;;;;;;;;;x
EVTNAME95020;Reduce War Exhaustion!;;;;;;;;;;;;;x
EVTDESC95020;Choose the amount of war Exhaustion to be reduced!;;;;;;;;;;;;;x
EVTOPTA95020;Reduce War Exhaustion by 1!;;;;;;;;;;;;;x
EVTOPTB95020;Reduce War Exhaustion by 5!;;;;;;;;;;;;;x
EVTOPTC95020;Reduce War Exhaustion by 10!;;;;;;;;;;;;;x
EVTNAME95000;Assistance Event;;;;;;;;;;;;;x
EVTDESC95000;"Sometimes We All Could Use Little Bit Of Assistance. ""Ok"" Buttons will always take you back to previous event without doing anything or close the event chain altogether if you are on the first event! Also choosing the option like 500 ducats or 25 Idea Points moves you back in the event chain by 1 step. I wanted to make it so that the same event would happen but that doesn't work.";;;;;;;;;;;;;x
EVTOPTA95000;Extra Money, Prestige and Idea Points;;;;;;;;;;;;;x
EVTNAME95001;Extra Money, Prestige and Idea Points;;;;;;;;;;;;;x
EVTDESC95001;Choose the next option.;;;;;;;;;;;;;x
EVTOPTA95001;Money!;;;;;;;;;;;;;x
EVTOPTB95001;Prestige!;;;;;;;;;;;;;x
EVTOPTC95001;Idea Points!;;;;;;;;;;;;;x
EVTNAME95002;Money!;;;;;;;;;;;;;x
EVTDESC95002;choose the amount you wish to add ton your treasury!;;;;;;;;;;;;;x
EVTOPTA95002;500 Ducats!;;;;;;;;;;;;;x
EVTOPTB95002;5000 Ducats!;;;;;;;;;;;;;x
EVTOPTC95002;50000 Ducats!;;;;;;;;;;;;;x
EVTNAME95003;Prestige!;;;;;;;;;;;;;x
EVTDESC95003;Choose the amount of prestige you wish to add to your nation.;;;;;;;;;;;;;x
EVTOPTA95003;10 Prestige!;;;;;;;;;;;;;x
EVTOPTB95003;50 Prestige!;;;;;;;;;;;;;x
EVTOPTC95003;100 Prestige!;;;;;;;;;;;;;x
EVTNAME95004;Idea Points!;;;;;;;;;;;;;x
EVTDESC95004;Choose the amount of Idea Points you wish to gain.;;;;;;;;;;;;;x
EVTOPTA95004;25 Idea Points!;;;;;;;;;;;;;x
EVTOPTB95004;200 Idea Points!;;;;;;;;;;;;;x
EVTOPTC95004;500 Idea Points!;;;;;;;;;;;;;x
EVTOPTB95000;Add Extra Manpower!;;;;;;;;;;;;;x
EVTNAME95010;Extra Manpower!;;;;;;;;;;;;;x
EVTDESC95010;Choose the amount of Manpower you wish to add.;;;;;;;;;;;;;x
EVTOPTA95010;5000 Manpower!;;;;;;;;;;;;;x
EVTOPTB95010;25000 Manpower!;;;;;;;;;;;;;x
EVTOPTC95010;100000 Manpower!;;;;;;;;;;;;;x
EVTOPTC95000;Reduce War Exhaustion!;;;;;;;;;;;;;x
EVTNAME95020;Reduce War Exhaustion!;;;;;;;;;;;;;x
EVTDESC95020;Choose the amount of war Exhaustion to be reduced!;;;;;;;;;;;;;x
EVTOPTA95020;Reduce War Exhaustion by 1!;;;;;;;;;;;;;x
EVTOPTB95020;Reduce War Exhaustion by 5!;;;;;;;;;;;;;x
EVTOPTC95020;Reduce War Exhaustion by 10!;;;;;;;;;;;;;x
Quick Tutorial for getting some new generic Generals/Admirals for your nation:
1) Add an event to a file (Or make a new file for this event) in your event folder that looks something like this:
Code:
country_event = {
id = 98500
title = "EVTNAME98500"
desc = "EVTDESC98500"
is_triggered_only = yes
option = {
name = "EVTOPT_OK"
add_leader = 99000
add_leader = 99001
add_leader = 99002
add_leader = 99003
add_leader = 99004
add_leader = 99005
add_leader = 99006
add_leader = 99007
add_leader = 99008
add_leader = 99009
}
}
2) Open one of the files in common/leaders folder and copy paste one of the generals to the end of the file. I tried making a new file for the generals but that didn't seem to work so you do have to edit one of the already existing ones like SWE.txt
Example:
Code:
leader={
id=99000
name="Field Commander"
type=land
#38
maneuver=3
offensive=3
defensive=3
picture="Unit_PRU_General2"
enable=no
}
Code:
leader={
id=99100
name="Admiral"
type=sea
#38
maneuver=3
offensive=3
defensive=3
picture="Unit_PRU_Roeder"
enable=no
}
type=land - This defines whether it is an Admiral or General. If you want an admiral change it to type=sea.
You can set whatever maneuver/offensive/defensive ratings you want up to 6. I chose 3 because it's half way between Military Genius and totally incompetent imbecile.
picture = - This sets the picture that is used for the general, i chose generic Prussian General picture Unit_PRU_General2. These can be found in gfx/portraits.
Very Important Note - Don't forget the enable=no part otherwise all these generals will be available from the beginning to the nation whose file you are using. Of course if you want them to be available from the start then set it to =yes
3) When you are done with making the profile for your General/Admiral you can just copy paste it as many times you want, just make sure you give different id numbers to them all.
4) Enjoy your new Generals/Admirals!
Last edited: