In the export_descr_unit.txt file (called EDB) you can edit pools, but unless you just want to edit a single unit it is a decent amount fo work.
You find it in ...mods/Third_Age_3/data-folder (or mods/teutonic/data, or alike Kingdoms-folder, if you use the Steam-version of M2, I presume).
First I suggest you download and install Notepad++, it's free and will make any editing much easier and safer.
Back to the EDB:
In it you find the entries for all recruitable units, found under the section of buildings they are recrutied from: stables, barracks, missile and siege (trolls have a fourth of their own).
A unit usually has three lines, with different replenishment speed (in this example marked in red) depending on the terrain type (that a region can have: forest, grassland, mountains and desert).
This number is between 0 and 1, where 1 mean that each turn a new unit become avilable. In the following example 0.12 mean a new unit is avilable each 8th turn, 0.08 mean one new every 13th turn and 0.06 one every 17th turn.
Code:
;############################################################
;######################### BARRACKS ########################
;############################################################
building barracks
{
convert_to castle_barracks
levels town_watch town_guard city_watch militia_drill_square militia_barracks army_barracks royal_armoury
{
town_watch city requires factions { sicily, byzantium, milan, scotland, turks, spain, venice, england, france, hre, portugal, egypt, mongols, moors, }
{
convert_to 1
capability
{
recruit_pool "High Sword" 1 0.12 2 0 requires factions { egypt, } and region_religion orthodox 33 and hidden_resource forest
recruit_pool "High Sword" 1 0.08 1 0 requires factions { egypt, } and region_religion orthodox 33 and hidden_resource grasland
recruit_pool "High Sword" 1 0.06 1 0 requires factions { egypt, } and region_religion orthodox 33 and hidden_resource mountains or hidden_resource desert
(...)
The number after, marked in blue, is how many units that can be avilable at the same time from the building.
As seen, in a Town Watch built in a forest-region the barrack can hold two unrecruited units waiting for you, but in the other kind of regions the barrack will only hold one unit, and when that is filled and the unit avilable for recruitment, the replenishment pauses.
In the example you see that the unit is High Sword, this is not the name you see in the game, but the so called type-name as seen in export_descr_unit.txt (or EDU), found in the data-folder as well.
Example:
Code:
type High Sword
dictionary High_Sword ; Sword Quendi
category infantry
(...)
TATW's EDU is quite nice because it give the ingame name after the semi-colon. So we know that High Sword = Sword Quendi. That is the High Elves first melee unit.
As you could see in the EDB within brackets it said the faction who could recruit this unit is egypt. High Elves = egypt. Factions actual name you can check at the top of expanded.txt in the folder data/text, but you should not need this but the EDU should suffice.
So, say that you edited the example edit of the EDB from 0.12 in forests to 0.5 (a new unit avilable every second turn) and saved. Good, now HE can spam Sword Quendi-units! But only from the Town Watch-barrack. There are four more barrack-buildings you must edit if you do not only wanted to change the pool for High Sword in the Town Watch: town_guard, city_watch, militia_drill_square and militia_barracks.
And when you done that, that only edited the barracks in city-settlements.
For castle-settlements there are four more buildings (mustering_hall, garrison_quarters, drill_square barracks and armoury, the last you may drop as only Sicily/Gondor can build it), and in each the High Sword has three entries.
So, if you want to edit the pool for High Sword in all terrains and in all barracks you have to edit the numbers in up to three lines in total 9 buildings.
For cavalry there are three buildings for city and castles each, o in total six buildings.
Same for missile-buildings.
Note: do not edit any file before you backed it up first.
Any questions that arise, please bring them here:
http://www.twcenter.net/forums/showt...nd-Help-Thread