Total War: MEDIEVAL II - Definitive Edition

Total War: MEDIEVAL II - Definitive Edition

third age total war mod create unit code (cheats)
hello i have a problem with the create unit code and that is no matter how i write it i just cant add uruk-hai units except for the berserkers and wargs i've tried to write it Uruk-Hai_Infantry(as said in the text file) and Uruk-Hai Infantry for the infantry and Uruk-Hai_Archers and Uruk-Hai Archers for archers but none worked and in the same code the part with the settlement/general i should be able to write this(instead of name) when i select a general/settlement/captain but it doenst work and it should or is that only me
Last edited by CM Gabriel Angelos; Jul 7, 2016 @ 1:35pm
< >
Showing 1-8 of 8 comments
Gait-Jan Feb 25, 2017 @ 3:08am 
i did it as follows: create_unit Imladris "Imladris Noldor Archers" 2 9 3 3

you need to put the faction name before the actual unit name
(instead of create_unit Imladris "Noldor Archers" 1 it should be create_unit Imladris "Imladris Noldor Archers" 1)
Originally posted by Mb-Shqip King Zog:
i did it as follows: create_unit Imladris "Imladris Noldor Archers" 2 9 3 3

you need to put the faction name before the actual unit name
(instead of create_unit Imladris "Noldor Archers" 1 it should be create_unit Imladris "Imladris Noldor Archers" 1)
thanks for the comment but sorry to say not playing third age total war anymore and havent for a while
Gigantus Feb 25, 2017 @ 4:10am 
You need to trace the type name of the unit in the export_descr_unit file, example:
type Isengard Infantry Swordsmen
dictionary Uruk-Hai_Infantry







man, I am good today....
Last edited by Gigantus; Feb 25, 2017 @ 4:11am
ArmyStrong76954 Sep 21, 2020 @ 6:47pm 
For Example if I wanted to make light elven archers at thranduils halls I would type create_unit “Thranduil’s Halls” “Elf Archer” 5 9 3 3


(Unit Name) “Unit ID Code”


WOOD ELF:


(Light elven archers) “Elf Archer”

(Sentinels of the woodland realms) “Silvan Archer”

(silvan heavy archers) “Elf Guard”

(Sindar archers) “Elf Bodyguard”

(Silvan spearmen) “Silvan Spear”

(Forest wardens) “Silvan Sword”

(Woodland warriors) “Silvan Axemen”

(Silvan heavy spearmen) “Silvan Heavy Spearmen”

(Silvan Heavy Swordsmen) “Silvan Heavy Swordsmen”

(Silvan horse archers) “Silvan Horsearchers”

(Ballista) “Elves Ballista”

(Catapult) “Elves Catapult”


IMLADRIS UNIT CODES:


Sword quendi “High Sword”

Bow quendi “Elf Archer2”

Eldarinwe swordsmen “Elf Sword”

Eldarinwe spearmen “Elf Spear”

Eldarinwe archers “Elf Archer3”

Eldarinwe lancers “Eldar Cavalry”

Mithlond nobles “Elf Nobel”

Smiths of eregion “Elven Smiths”

Noretirno warriors “Homeguard Warriors”

Noretirno Cavalry “Homeguard Cavalry”

Imladris riders “Imladris Riders”

Lindon longspears “Lindon Longspears”

Eldarinwe Nobles “Elf Nobel Mount

Ballista “High Elves Ballista”

Catapult “High Elves Catapult”


GONDOR:


Axemen of Lossarnach “Axemen of Lossarnach”

Gondor Infantry “Gondor Infantry”

Citadel guard “Kingsguard”

Archers “Gondor Archers”

Gondor militia “Dismounted Kofm”

Pelargir Marines “Marines”

Dismounted swan knights “Dismounted Swan Knights”

Gondor spearmen “Gondor Spearmen”

Guards of Osgiliath “Osgiliath Pikemen”

Fountain guard “Fountain Guard”

Archer militia “Militia Archers”

Blackroot vale archers “Blackroot Vale Archers”

Ithilien rangers “Ithilien Rangers”

Gondor cavalry militia “Dol Amroth Knights”

Gondor Cavalry “Gondor Cavalry”

Swan knights “Swan Knights”

Ballista “Gondor Ballista”

Catapult “Gondor Catapult”

Trebuchet “Gondor Trebuchet”

Generals bodyguard “Gondor Bodyguard”


HARAD:


(Haradrim archers) “Harad Archers”

(Southron warband) “Southron Spearmen Mercs”

(Coursairs) “Coursairs Mercs”

(Southron Lancers) “Southron Lancers”

(Haradrim raiders) “Raiders Cavalry”

(Dismounted Serpent Guard) “Dismounted Serpent Guard”

(Serpent guard) “Serpent Guard”

(Serpent Bodyguards) “Serpent Bodyguard”

(Southron archers) “Southron Archers”

(Southron warband) “Southron Spearmen”

(Southron Pikemen) “Southron Pikemen”

(Muhad tribesmen) “Beastmaster”

(Muhad beastmasters) “Beastmaster Cav”

(Haradrim spearmen) “Desert Spearmen”

(Hasharii) “Hasharii”

(Troll men of harad) “Half Men”

(Mumakil) “Mumakil”

(Ballista) “Harad Ballista”

(Catapult) “Harad Catapult”


LONELY MOUNTAIN DWARVES:


(Dwarven miners) “Miners”

(Dwarven warriors) “Dwarven Warriors”

(Iron guard) “Iron Guard”

(Dragonslayers of ered mithrin) “Dragonslayers”

(Guards of Khazad-dum) “Khazad Guard”

(Dwarven noblemen) “Noble Bodyguards”

(Dwarven Axemen) “Clan Warriors”

(Axemen of erebor) “Axemen of Erebor”

(Iron crossbowmen) “Iron Crossbowmen”

(Axethrowers) “Axethrowers”

(Dwarven halberdmen) “Dwarven Halberdmen”

(Vault wardens) “Dwarven Pikemen”

(Ballista) “Dwarf Ballista”

(Catapult) “Dwarf Catapult”


MORDOR:


(Mountain trolls) “Mountain Trolls”

(Olog-hai) “Battle Trolls”

(Troll elephants) “Troll Elephants”

(Nazgul) “Dismounted Nazgul”

(Mounted Nazgul) “Mounted Nazgul”

(Black numenoreans) “Black Numenorians”

(Dismounted black numenoreans) “Dismounted Numenoreans”

(Orc band) “Orc Band”

(Orc Raiders) “Mordor Orcs”

(Orc maulers) “2handed Orcs”

(Morannon guard) “Morannon Guard”

(Uruks) “Mordor Uruks”

(Uruk halberds) “Mordor Halberd”

(Scouts) “Mordor Scouts”

(Orc archers) “Mordor Archers”

(Uruk archers) “Uruk Archers”

(Ballista) “Mordor Ballista”

(Troll catapult) “Mordor Catapult”

(Uruk bodyguard) “Uruk Bodyguard”

(Sauron) “Sauron Elephants”


ISENGARD:


(Uruk-hai raiders) “Uruk-Hai Raiders”

(Guards of orthanc) “Orthanc Guard”

(Uruk reavers) “Uruk Cleavers”

(Uruk-hai infantry) “Uruk-Hai Infantry”

(Uruk-Hai Pikemen) “Uruk-Hai Pikemen”

(Berserkers) “Berserkers”

(Uruk-hai archers) “Uruk-Hai Archers”

(Uruk-hai crossbow) “Uruk-Hai Crossbow”

(Warg riders) “Wargs”

(Ballista) “Isengard Ballista”

(Catapult) “Isengard Catapult”

(Uruk-hai bodyguards) “Uruk-Hai Bodyguards”


MISTY MOUNTAIN GOBLINS:


(Snaga skirmishers) “Snaga Skirmishers”

(Goblin infantry) “Goblin Orcs”

(Heavy goblin infantry) “Moria Orcs”

(Heavy goblin halberd) “Moria Halberd”

(Snaga archers) “Snaga Archers”

(Goblin archers) “Goblin Archers”

(Heavy Goblin Archers) “Moria Archers”

(Cave trolls) “Cave Trolls”

(Snow trolls) “Snow Trolls”

(Warg riders) “Goblin Wargs”

(Ballista) “Orcs Ballista”

(Catapult) “Orcs Catapult”

(Orc bodyguard) “Moria Bodyguards”

(Blarogs) “Balrog”
(Balrogs) “Balrog2”
(Balrogs) “Balrog3”
(The Balrog):-Cannot use in siege battles) “Balrog Elephant”


ROHAN


(Eorling militia) “militia”

(Eorling Axemen) “Rohan Axemen”

(Eorling swordsmen) “Dismounted Eored Lancers”

(Riddermark Axemen) “Special Axemen”

(Dismounted Royal Guard) “Dismounted Royal Guard”

(Dismounted Eored Lancers) “warriors”

(Rohan spearmen) “spearmens”

(Eorling Archers) “archers”

(Helmingas) “rohirrim archers”

(Scouts) “rohan scouts”

(Rohan riders) “rohan rider”

(Eored horsearchers) “Rohan Horsearchers”

(Riders of the fold) “Rohan Heavy Horsearchers”

(Riddermark skirmishers) “rohirrim”

(Eored heavy Lancers) “eorlingas”

(Royal guard) “Royal Guard”

(Rohan bodyguards) “rohan bodyguards”

(Ballista) “Rohan Ballista”

(Catapult) “Rohan Catapult”
Last edited by ArmyStrong76954; Jan 24, 2021 @ 12:13am
Originally posted by austinmoyer22:
example create_unit “Thranduil’s Halls” “Silvan Heavy Swordsmen” 5 9 3 3

silvan heavy archers “Elf Guard”

Sindar archers “Elf Bodyguard”


IMLADRIS UNIT CODES:


Sword quendi “High Sword”

Bow quendi “Elf Archer2”

Eldarinwe swordsmen “Elf Sword”

Eldarinwe spearmen “Elf Spear”

Eldarinwe archers “Elf Archer3”

Eldarinwe lancers “Eldar Cavalry”

Mithlond nobles “Elf Nobel”

Smiths of eregion “Elven Smiths”

Noretirno warriors “Homeguard warriors”

Noretirno Cavalry “Homeguard Cavalry”

Imladris riders “Imladris Riders”

Lindon longspears “Lindon Longspears”

Eldarinwe Nobles “Elf Nobel Mount

GONDOR:

Gondor Infantry “Gondor Infantry”

Citadel guard “Kingsguard”

MORDOR:

Orc raiders “Mordor Orcs”

ISENGARD:

UrukHai infantry “Uruk-Hai Infantry”
I love you man, thanks a lot I really needed this
kermnelson Dec 9, 2020 @ 12:15am 
I was having better luck than the original poster but sometimes things can not be written in normal text. Cities and units with accented alphabet letters are my problem. How do you put an accented letter into the command line once you've opened things with the 'tilde'?
EoNightcore Dec 18, 2020 @ 1:58am 
Originally posted by kermnelson:
I was having better luck than the original poster but sometimes things can not be written in normal text. Cities and units with accented alphabet letters are my problem. How do you put an accented letter into the command line once you've opened things with the 'tilde'?
Ya don't, they're likely written in regular text or have a different name.

For example, the Númerrámar boat. The on-screen name is Númerrámar, the in-game-engine name is... cog.

So using

create_unit "admiral name here" cog 5

creates 5 cogs in the fleet.


If you're wondering where you can find the in-game-engine names for units, those can be found in the export_descr_unit.txt file, located in the data folder of medieval ii or the data folder in mod folders. The unit's in-game-engine name will be labeled under type and dictionary.

Kinda looks something like:

type Arab Cavalry
dictionary Arab_Cavalry

Just take the type name and input that into the create_unit command.

Another method is to look in data/text folder, where lies the export_unit.txt.strings.bin folder. You'll need a tool to convert the file into a readable .txt file for the base game's files, while many mods have already extracted their own respective files into a .txt file. Here you can search up a unit's on-screen name, which should look something like this.

{Arab_Cavalry} Khassi Cavalry

Then you just take the first name, Arab_Cavalry, and remove the underscores.

create_unit Damascus "Arab Cavalry" 3
Last edited by EoNightcore; Dec 18, 2020 @ 1:58am
Gigantus Dec 18, 2020 @ 2:31am 
export_descr_units will most likely not help much as it normally only contains the 'data name' eg cog. the text\export_units file will be of greater help as youcan search fro the display name to get to the data name. In this case you will find

{cog}Númerrámar boat

For settlements it is similar, this time it's the text\imperial_campaign_regions_and_settlement_names file
< >
Showing 1-8 of 8 comments
Per page: 1530 50

Date Posted: Jul 7, 2016 @ 1:34pm
Posts: 8