1. clear_password faction
This command allows you to clear the password of a faction to access the turn. Often this command is used at the start of every admin job and it is often required to clear passwords for subbers and new players of that faction.
The command only works with the original medieval faction names of all factions.
So when you want to clear the password of Lannister, simply type clear_password england
2. set_password faction password password
This command works the same way as the clear password and allows you to change someone's password without clearing it, it is often not necessary.
It looks like this: set_password england Tywin Tywin
3. toggle_fow
This allows you to see the entire map.
4. add_money
This command allows you to either add or remove money from a faction. The easiest way to do this is on the turn of the concerning faction.
To add money, type:
add_money 2000
To remove money type:
add_money -2000
You can also do this on another faction's turn, the command should be like this (thanks to Vipman):
To add money, type:
add_money faction, 2000 (add_money england, 2000)
To remove money type:
add_money faction, -2000
The limit for adding and removing money by console is 40k
5. show_cursorstat and move_character
These two commands allow you to move a character, a captain or an admiral. Sometimes this is necessary when people move armies that were not supposed to move because they were defeated.
show_cursorstat allows you to get the coordinates of a specific location.
Simply stand with your cursor on the position that you want to move your troops to and type show_cursorstat.
This will give you two coordinates, the X and Y, for example: 30,45
To move the character type:
move_character "full name" X,Y
for example: move_character "Tywin Lannister" 30,45
It is important to write the full name of the character you want to move, else it will not work. Every character has a surname, the title of the character is not a surname.
So, for example to move Axell the Warrior' Son, you need to type: move_character "Axell Gardner" 30,45
To move a captain:
move_character "Captain Name" X,Y
Captains don't have surnames, they only have one name, but you will need to add Captain for it to work.
For example: move_character "Captain Robin" 88,100
To move a admiral:
move_character "Admiral Name" X,Y
Same as the captain, beware that you can only move admirals on sea.
6. process_cq, adding buildings
This command allows you to build buildings located in the building queue of a settlement instantly. You can use this when buildings have been destroyed illegally.
To build the buildings type:
process_cq "settlement name"
For example: process_cq "Lannisport"
Important, the settlement name is the name the city currently has. So when someone has changed the name of Lannisport in Lannisters Rulez, then the command looks like this:
process_cq "Lannisters Rulez"
If you are restoring buildings, don't forget to add the money you spent on it back to the faction.
7. create_unit
This command can be used to create a unit for an army or a settlement, simply type:
create_unit "character name or settlement name" "unit name" amount experience(0-9) armor(0-3) weapon (0-3)
The unit name is not the name you see ingame, it is the name as displaced in the export_descr_unit file in the mod's data folder.
For example to add 2 armored spearmen with 3 experience to Tywin Lannister, type:
create_unit "Tywin Lannister" "Armored Sergeants" 2 3 0 0
8. give_trait and remove_trait
These commands are rarely used, it adds or removes traits to certain characters. A certain knowledge of export_descr_character_traits is required.
To add a trait to a selected general, type:
give_trait this trait level
To remove a trait of a selected general, type:
remove_trait this trait level
You can also give it to a not selected general, by replacing this with "general's name"
To give a trait, you need to know the original trait's level in export_descr_character_traits in the mod's data folder.
For example to give Tywin Lannister the alcoholic trait, type
give_trait "Twyin Lannister" Drink 3
Drink 3 is the alcoholic trait.
If you need to teleport or add/remove trait/anc from a character that has a title (e.g. the chivalrous) or is king/heir, there is a chance you can find out the family name by looking at relatives names in family tree, like wife/childs/parents.
9. add_population
Rarely used, but sometimes might be necessary.
To add population to a settlement type:
add_population "settlement name" amount
So if you want to add 3000 to King's Landing type:
add_population "King's Landing" 3000
The limit is 4000 for adding population.
10. control faction, turning to AI
This command is used when you want to turn a faction AI, sometimes used to speed up the game when a player has left and the faction has only one settlement left. It is also used as a fix for a game breaking crash.
To turn House Greyjoy to AI control type,
control hre
To turn back to human control, the same command.
11. surrender_regions, killing a faction
Sometimes it may be necessary to kill a faction by turning them to rebels.
The command is surrender_regions faction
So if you want to kill Joffrey, simply type surrender_regions venice
That was about all important console commands that an admin can use.
Bookmarks