Kingdom
Hexi title IDs
The de jure lands of Hexi in patch 1.20.1.2: 5 duchies, 23 counties and 59 baronies, in the order the game nests them. Hexi lies in the empire of Yongliang (e_yongliang).
give_title k_hexi
Hexi on the map at the start
On 867.1.1, no realm is called Hexi: its 23 de jure counties are held by 4 realms.
- Counties
- 23
- Development
- 138
Realms holding it
- Tang74% · 17
- Shanzhou17% · 4
- Qingtang4% · 1
- Wamo4% · 1
Who holds its counties
- Xūn (Suo)26% · 6
- Wangdak (Tsina)17% · 4
- Míngzhèn (Li)17% · 4
- Huaishen (Zhang)9% · 2
- Sönné (Tongkorpa)4% · 1
- Yīngdá (Yán)4% · 1
On 1066.9.15, no realm is called Hexi: its 23 de jure counties are held by Xia.
- Counties
- 23
- Development
- 184
Realms holding it
- Xia100% · 23
Who holds its counties
- Suogu (Yelì)26% · 6
- Gang (Tangwu)26% · 6
- Nuohebo (Weimu)22% · 5
- Abugu (Ezangquhuai)17% · 4
- Tunga (Yogïr)9% · 2
On 1178.10.1, no realm is called Hexi: its 23 de jure counties are held by 2 realms.
- Counties
- 23
- Development
- 230
Realms holding it
- Xia91% · 21
- Jin9% · 2
Who holds its counties
- Jichong (Weimu)26% · 6
- Longxu (Tangwu)26% · 6
- Xiangwen (Bailan)22% · 5
- Tugan (Mòzàng)9% · 2
- Sīxuán (Xǔ)9% · 2
- Süpürga (Yogïr)9% · 2
From the map data of each start date: history/titles and history/provinces (holders, development, culture, faith), common/religion/holy_site_types, common/buildings, common/bookmarks.
The kingdom of Hexi (title ID k_hexi) has 5 de jure duchies, 23 counties and 59 baronies in Crusader Kings III. To create it from the title view you need 2 duchy titles (or 1 kingdom title, 1 empire title or 1 hegemony title) and enough of its de jure counties, and it costs 500 gold for 400 prestige and 50 legitimacy. Console: give_title k_hexi. Patch 1.20.1.2, from game/common/landed_titles/02_china.txt and game/common/defines/00_defines.txt.
Quick answers (1)
- How do you form the Kingdom of Hexi in CK3?
- To create Hexi from the title view you need 2 duchy titles (or 1 kingdom title, 1 empire title or 1 hegemony title) and enough of its de jure counties, and it costs 500 gold for 400 prestige and 50 legitimacy.
How to form Hexi
Create it from the title view
- You need one of
- 2 duchy titles
- 1 kingdom title
- 1 empire title
- 1 hegemony title
“You need one of the following:” · titles you hold or completely control (
CREATE_TITLE_OR_TIER_KINGDOM)- De jure counties
- Enough of its de jure counties: the window says “You only have … of … required Counties”. How many it asks for is worked out by the game's code, not written in the files.
- Cost
500goldDiscounts can bring it down to 100 gold at least (20% — what lowers it). Mandala rulers also need piety level 3 and pay 2,500 piety.
- You gain
400prestige50legitimacy
Usurping a kingdom costs 500 gold and gives 400 prestige; destroying one costs 800 prestige and 50 legitimacy. See also the domain, vassal and duchy limits. Patch 1.20.1.2: common/defines/00_defines.txt (NTitle).


Hexi coat of arms
The coat as the game defines it, ready for the coat-of-arms designer's Paste. The text is the definition from common/coat_of_arms with its @values worked out — not tried in the game yet. Coats a title changes to in play (a conquest, a new dynasty) are not shown. All coats of arms
Show the code
k_hexi={
pattern="pattern__solid_designer.dds"
color1="red"
color2="red"
color3="white"
colored_emblem={
color1="white"
texture="ce_seal_frame_full.dds"
instance={
scale={ 0.600000 0.760000 }
depth=1.010000
}
}
colored_emblem={
color1="red"
texture="ce_seal_name_liang_51c9.dds"
instance={
scale={ 0.670000 0.670000 }
}
}
}How to use these IDs in the console
- In Steam, add
-debug_modeto the game's launch options (Properties → General). - In the game, open the console with the ` key (§, ~ or ^ on some keyboards).
- Paste the command (
give_title c_liangzhou) and press Enter. Using the console turns achievements off for that game.

Hexi duchy
give_title d_hexiLiangzhou county
give_title c_liangzhou- Wuwei · province 9521
give_title b_guzang - Changsong · province 9523
give_title b_changsong - Shenwu · province 9522
give_title b_shenwu
- Wuwei · province 9521
Fanhe county
give_title c_fanhe- Fanhe · province 9516
give_title b_fanhe - Xiutu · province 9517
give_title b_xiutu
- Fanhe · province 9516
Baishan county
give_title c_baishan- Baishan · province 9525
give_title b_baishan - Xianquan · province 9529
give_title b_xinquan
- Baishan · province 9525
Baiyin county
give_title c_zhanyin- Zhanyin · province 9531
give_title b_zhanyin - Aowei · province 9530
give_title b_aowei - Zhiyang · province 9527
give_title b_zhiyang
- Zhanyin · province 9531
Guangwu county
give_title c_guangwu- Guangwu · province 9528
give_title b_guangwu - Wucheng · province 9526
give_title b_yunjie - Herong · province 9524
give_title b_herong
- Guangwu · province 9528

Shanzhou duchy
give_title d_longyouShanzhou county
give_title c_xiningzhou- Huangshui · province 9418
give_title b_huangshui - Longzhi · province 9417
give_title b_longzhi - Miaochuan · province 9416
give_title b_miaochuan - Gemen · province 9415
give_title b_gemen
- Huangshui · province 9418
Kuozhou county
give_title c_kuozhou- Guangwei · province 9419
give_title b_guangwei - Michuan · province 9420
give_title b_michuan
- Guangwei · province 9419
Lanzhou county
give_title c_lanzhou_1- Jincheng · province 12368
give_title b_jincheng_1 - Didao · province 12360
give_title b_didao
- Jincheng · province 12368
Hezhou county
give_title c_hezhou_2- Fuhan · province 12367
give_title b_fuhan - Ninghe · province 12366
give_title b_daxia - Dingqiang · province 12365
give_title b_kangle
- Fuhan · province 12367
Qilian duchy
give_title d_qilianQilin county
give_title c_qilin- Qilin · province 9511
give_title b_qilin - Semnyi · province 9512
give_title b_semnyi
- Qilin · province 9511
Yalong county
give_title c_yalong- Yalong · province 9490
give_title b_yalong - Yeniugou · province 9497
give_title b_yeniugou
- Yalong · province 9490

Gansu duchy
give_title d_gansuGanzhou county
give_title c_ganzhou- Zhangye · province 9513
give_title b_zhangye - Shandan · province 9514
give_title b_shandan - Yanzhi · province 9515
give_title b_yanzhi
- Zhangye · province 9513
Liaoquan county
give_title c_liaoquan- Liaoquan · province 9500
give_title b_liaoquan - Ganjun · province 9501
give_title b_ganjun - Heli · province 9503
give_title b_heli
- Liaoquan · province 9500
Jiankang county
give_title c_jiankang- Jiankang · province 9502
give_title b_jiankang - Qilian · province 9499
give_title b_qilian
- Jiankang · province 9502
Zhenwu county
give_title c_zhenwu_1- Zhenwu · province 9496
give_title b_zhenwu - Baiting · province 9495
give_title b_baiting
- Zhenwu · province 9496
Suzhou county
give_title c_jiuquan- Jiuquan · province 9494
give_title b_jiuquan - Tongting · province 9493
give_title b_dongting - Fulu · province 9498
give_title b_fulu
- Jiuquan · province 9494
Yumen county
give_title c_yumen- Yumen · province 9487
give_title b_yumen - Jinshan · province 9491
give_title b_jinshan - Dudeng · province 9492
give_title b_dudeng
- Yumen · province 9487

Guasha duchy
give_title d_guashaShazhou county
give_title c_shazhou- Dūnhuáng · province 9476
give_title b_dunhuang_2 - Mogao · province 9477
give_title b_mogao
- Dūnhuáng · province 9476
Guazhou county
give_title c_guazhou- Jinchang · province 9481
give_title b_jinchang - Changle · province 9482
give_title b_changle - Yonggui · province 9478
give_title b_yonggui
- Jinchang · province 9481
Xincheng county
give_title c_xincheng- Xincheng · province 9486
give_title b_xincheng - Mingshui · province 9485
give_title b_mingshui
- Xincheng · province 9486
Hehe county
give_title c_hehe- Hehe · province 9483
give_title b_hehe - Baizhang · province 9488
give_title b_baizhang - Xinghu · province 9484
give_title b_xinghu
- Hehe · province 9483
Shouchang county
give_title c_shouchang- Shouchang · province 9474
give_title b_shouchang - Yangguan · province 9473
give_title b_yangguan - Longle · province 9475
give_title b_longle
- Shouchang · province 9474
Ziting county
give_title c_ziting- Ziting · province 9479
give_title b_ziting - Ganquan · province 9480
give_title b_ganquan
- Ziting · province 9479
Source: game/common/landed_titles/02_china.txt and the English localisation, Crusader Kings III 1.20.1.2. Commands as listed on the official wiki's console page. See also title IDs, character IDs, dynasty IDs and nicknames.