Knights of Honor II: Sovereign

Knights of Honor II: Sovereign

View Stats:
ShadowFox Jan 8, 2023 @ 10:53pm
3
Cheats/Console commands
For anyone that wants to cheat or manipulate their experience without the use of mods here are instructions for some of the in game console commands. I got these from fearless revolution in a chat about cheat engine tables originally posted by "serahah" I kept all their original information included for the sake of giving credit where it is due. Any questions I will do my best to answer


by serahah » Wed Dec 14, 2022 6:04 pm
Console commands

These commands will drastically change your gaming experience. You may not want to play the game after testing them.

Spoiler
right click on game s shortcut
Add --ForceEnableConsole parameter
"installpath\Knights of Honor II Sovereign\Sovereign.exe" --ForceEnableConsole

you may need to run the game as admin for console to work. or open the console after the game starts(in the menu before load/continue campaign)

once in game activate console via ~ key

commands:
cl - display current cheat level
cl high - set cheat level to high - use this first
gold [value] , set player kingdom gold
piety [value] , set player kingdom piety
books [value] , set player kingdom books
add_units [value] , Add units to selected army
kk - kill current king - players king
add_child - you guess it. It looks id adds just baby boys
co - Change opinion (name, amount). eg co nobility 10 - change nobility opinion to 10
del_opportunity - delete opportunity from selected character
add_challenge - add challenge to the player kingdom
new_rumor - Add new rumor from seleted character
new_rumors - Add new rumors from seleted character
add_units - Add units to selected army
ai - enable / disable all AI
kai - enabe / disable selected kingdom AI
tkai - enabe / disable tracing for selected kingdom AI
bai - enabe / disable battleview AI
rai - enabe / disable rebel AI
income_mul - set gold income multiplier - just for silver. example income_mul 2 will double current income
give_gold - give gold to selected kingdom
give_piety - give piety to selected kingdom
give_books - give books to selected kingdom
cc - change the class of the selected character
age - Make selected character grow up soon
prestige - add prestige to selected kingdom
fame - add fame to selected kingdom
fame - view selected kingdom's fame
max - level up selected character to maximum using all skills (1) or random skills (0)
...
cr religion name - change selected kindom religion. example: cr Catholic
crr - Change selected realm's religion
spawn_pop "number"- Spawn population in the selected realm. eg spawn_pop 20 - add 20 population to selected city
recall - Recall selected character to court
imprison - Imprison selected character in our kingdom
imprison - Imprison selected character in specified kingdom
unprison - Free the selected character from prison
kill_prisoners - Kill all prisoners in local player's kingdom
ao - Force action outcome
nce - new Cardinal-Elect from the selected kingdom
nc - new player-led crusade against selected kingdom
poc - set Player-Only Crusade leaders
build buildingname, Build a building / upgrade in selected castle)
apf - Add a province feature to selected realm. Eg apf Raisins - add raising to selected city/province
< >
Showing 16-30 of 57 comments
goldbenji Mar 1, 2023 @ 10:39am 
In regard to "Province Features" and 'Resources'....

use "Provincefeatrues.def' file to find the exact names of each resource to quote. For example some "Deposists" are actually "Deposit" etc ( no 's') - it dont always match the game descrip spellings so copy paste is best.

apf [province feature]

When it comes to which resources you can tweak... this is what ive found...

Sheep, Horses, Forest, Cattle, Vinyards, Flax, Herbs ALL have specific in map 3D elements. I cant find a way in debug to change these on the map itself, so these resources cant really be added manually.
HOWEVER...
Amber, Mineral Deposits, Raregame, Salt, Saltpeter, Sulfer and Pirates have no in map 3D element and can be added freely anywhere! (You will need a market for all of these except pirates - a harbor ---- for your town planning purposes ;) )

As for Marble & Iron, these HAVE the 3d map elements like most the farm style featurees (But its a Quarry or Mine respectively, not a super specific thing like Vinyard for Vines ), so..... you caaaant just add in a physcail quarry or mine, BUT, you can add lodestone, silver gold freely to your mine. And Limestone to your Marble Quarry) :D . --these also need markets - for planning purposes ;)

[fyi - you have to have iron to get lodestn, silver n gold / Marble to get Limestone]

In a nutshell, when loading a map, im trying to find Iron, Marble & all the Crop & Farm features i listed, then i can freely add all the bonus resources (they tend not to have upgrades anyway - like amber). So your looking for 9 resources instead of 20 or so if your trying to Catch Em All!

(Plus it seems like you can add pirates to any coastal settlement? which is neat)

Hope that helps, Good Luck
goldbenji Mar 1, 2023 @ 10:42am 
PS, anyone know how to alter Royal Abiltites to 5 stars???

The classes.def file makes me think its possible somehow .,,,
text Warfare = "Warfare"
text Economy = "Economy"
text Diplomacy = "Diplomacy"
text Religion = "Religion"
text Espionage = "Espionage"
Varainger Mar 1, 2023 @ 4:37pm 
Originally posted by goldbenji:
PS, anyone know how to alter Royal Abiltites to 5 stars???

The classes.def file makes me think its possible somehow .,,,
text Warfare = "Warfare"
text Economy = "Economy"
text Diplomacy = "Diplomacy"
text Religion = "Religion"
text Espionage = "Espionage"

IF you could rephrase your question so that i understand it, then i might be able to answer.

I suppose you refer to skills, but i'm not sure what you mean with "alter".
IF you ask how one can cheat 5 level skills , then simply get books and level them up yourself or use the "max+ seletcted character" console command. Both commands were mentioned in the opening post.
Last edited by Varainger; Mar 1, 2023 @ 4:55pm
goldbenji Mar 1, 2023 @ 5:37pm 
Originally posted by Varainger:
Originally posted by goldbenji:
PS, anyone know how to alter Royal Abiltites to 5 stars???

The classes.def file makes me think its possible somehow .,,,
text Warfare = "Warfare"
text Economy = "Economy"
text Diplomacy = "Diplomacy"
text Religion = "Religion"
text Espionage = "Espionage"

IF you could rephrase your question so that i understand it, then i might be able to answer.

I suppose you refer to skills, but i'm not sure what you mean with "alter".
IF you ask how one can cheat 5 level skills , then simply get books and level them up yourself or use the "max+ seletcted character" console command. Both commands were mentioned in the opening post.


Apologies... Refering to their Star Rated "Abilities" of Warfare, Economy etc, Not their "skills". Each has a rating of up to five stars thats randomly generated upon birth. As apose to the book purchased skill selection. Hope that makes sense. And I hope I can edit the perfect five star king ;)
McBeer89 Mar 1, 2023 @ 5:44pm 
Originally posted by Tang Suijin:
Originally posted by McBeer89:
anyone find one for adding crown authortiy? or actually stability?
ca (int) - change crown authority

there is a guide in guides where people have been posting cheats. list is a bit messy but you can find most of it there i think


ahh cool thank you! So i chose to become vassal of another kingdom for a play through. at some point it told me my people ad allied toward the other kingdom. i got worried they'd like kill me or something so i wanted to prevent that to continue with my game. But i ended up figuring it out and everything is groovy. Thank you for responding.
Varainger Mar 1, 2023 @ 6:36pm 
Originally posted by goldbenji:
....
Apologies... Refering to their Star Rated "Abilities" of Warfare, Economy etc, Not their "skills". Each has a rating of up to five stars thats randomly generated upon birth. As apose to the book purchased skill selection. Hope that makes sense. And I hope I can edit the perfect five star king ;)

Ah that. Now i understand. Well i now can tell you full of confidence that i don't
know a command for that, sorry. Prety sure i didn't miss it among the ones posted before either.

Sounds like save file editing is required for that..
I saw stuff in world.txt of the save folder with "RoyalAbilitiesState",but coulnd't quickly figure out what to do. Need to go to sleep.
Last edited by Varainger; Mar 1, 2023 @ 6:37pm
Varainger Mar 2, 2023 @ 5:40am 
Originally posted by ShadowFox:
Do the stars matter? I thought it just changed what powers they get offered

"What powers they get offered"
What ?
I don't think that has any influence on the skills offered, if that is what you refer
to with "powers".

Contrary to that the tooltip mentions what each ability does and that the abilities have an effect on actions of respective skill areas and their outcomes etc.
Varainger Mar 3, 2023 @ 2:56am 
Originally posted by ShadowFox:
You mean like the more stars it just makes them "better" at doing stuff? Like more troops if they have more marshal stars?

The tooltip says what the stars do for each ability.
Martial for instance is mainly for morale.
Last edited by Varainger; Mar 3, 2023 @ 2:56am
sureshk0003 Mar 7, 2023 @ 4:50pm 
So does anyone have console command for following actions.
1) to increase kingdom levies.
2) to increase / fill a province's food storage.
3) to add specific units into marshal and / or province's garrison.
4) to heal units.
happygreenelf44 Apr 19, 2023 @ 9:52am 
Soooooo.... no idea how any of you are making this work???
No matter what I do, following the instructions provided does not allow the console to come up in the game. Can someone please provide better detailed intsructions on how to get the cheats to work, Thank you.
Iskar Apr 19, 2023 @ 10:21am 
Get two catapults
Get at least 50% high tier ranged troops in your army
Blow even 2:1 odds to splinters in battle
Feel like cheating.
Varainger Apr 19, 2023 @ 10:51am 
Originally posted by happygreenelf44:
Soooooo.... no idea how any of you are making this work???
No matter what I do, following the instructions provided does not allow the console to come up in the game. Can someone please provide better detailed intsructions on how to get the cheats to work, Thank you.

It says in the opening post :

"right click on game s shortcut
Add --ForceEnableConsole parameter
"installpath\Knights of Honor II Sovereign\Sovereign.exe" --ForceEnableConsole

you may need to run the game as admin for console to work. or open the console after the game starts(in the menu before load/continue campaign)

once in game activate console via ~ key"

In other words....

When in Steam instead of creating a shortcut you simply add the
--ForceEnableConsole
line to the "Launch Options" section in the games' properties (right click KoH 2 in the Library, select "Properties" -> "General" tab - "Launch Options".

In-game you open the console via ~ key or ö.
The latter likely only for germanic keyboard layouts.
Last edited by Varainger; Apr 19, 2023 @ 10:58am
McBeer89 Apr 22, 2023 @ 1:25pm 
Originally posted by happygreenelf44:
Soooooo.... no idea how any of you are making this work???
No matter what I do, following the instructions provided does not allow the console to come up in the game. Can someone please provide better detailed intsructions on how to get the cheats to work, Thank you.


hey bro! havent played this game in a month or so so i forget everything but in order to get the console commands you need to

-Go to steam library
-right click the game
-properties
-general
-launch options: type here "--ForceEnableConsole" minus the quotes. save, launch
prcek009 Jul 13, 2023 @ 5:19am 
Originally posted by McBeer89:
Originally posted by happygreenelf44:
Soooooo.... no idea how any of you are making this work???
No matter what I do, following the instructions provided does not allow the console to come up in the game. Can someone please provide better detailed intsructions on how to get the cheats to work, Thank you.


hey bro! havent played this game in a month or so so i forget everything but in order to get the console commands you need to

-Go to steam library
-right click the game
-properties
-general
-launch options: type here "--ForceEnableConsole" minus the quotes. save, launch

Hi, does not work for me. Have done all the steps above and still no console show up. My region is Czech republic, tried ~ key and ö as well.
poomanchu Jul 13, 2023 @ 7:12am 
Originally posted by prcek009:
Originally posted by McBeer89:


hey bro! havent played this game in a month or so so i forget everything but in order to get the console commands you need to

-Go to steam library
-right click the game
-properties
-general
-launch options: type here "--ForceEnableConsole" minus the quotes. save, launch

Hi, does not work for me. Have done all the steps above and still no console show up. My region is Czech republic, tried ~ key and ö as well.

Maybe AltGr+1 if you're using Windows (right-alt and 1 simultaneously) or the º key? Otherwise, you might just have to test all of the keys other than those in the list of default controls.
< >
Showing 16-30 of 57 comments
Per page: 1530 50