cima
01-12-2006, 07:38
Hello...
found some typos in the exports_desc_buildings.txt
Been founding that I was unable to recruit baktrian agema, the hetaroi and the greek pheraspidai even though I had built the highest barrack (i.e. the "royal barracks) in Baktra.
:idea2: So I decided to dig in to the exports_desc_buildings.txt and kind of puzzled when I ran to this particular entry (example for the baktrian agemata):
recruit "greek bactrian agemata" 0 requires factions { romans_brutii, } and building_present_min_level government_type1 type1lvl2 and hidden_resource alpha and not hidden_resource beta and hidden_resource gamma and not hidden_resource delta and hidden_resource epsilon and hidden_resource zeta and not hidden_resource eta and not hidden_resource theta
okay... so there lots of hidden resources qualifiers there... :dizzy2:
now i dug into the DESC_REGIONS.TXT file (in \Data\world\map\campaign\imperial_campaign) and found this entry for Baktra:
Baktria
Baktra
romans_brutii
Baktrioi
20 155 2
silk, gold, textiles, camels, river, alpha, beta, gamma, epsilon, pahlavahome
5
5
Notice Baktra has the hidden resources of alpha, beta, gamma, and epsilon.
Now look again into the entry for in the exports_desc_buildings.txt and see that:
hidden_resource alpha and not hidden_resource beta and hidden_resource gamma and not hidden_resource delta and hidden_resource epsilon and hidden_resource zeta and not hidden_resource eta and not hidden_resource theta
What I underlined above are typos... no wonder I couldnt recruit the Agemata!
Baktra has the hidden resource beta but the requirement for Agemata is NOT having the resource beta. The oppposite is true for zeta
This is what it should've been like:
recruit "greek bactrian agemata" 0 requires factions { romans_brutii, } and building_present_min_level government_type1 type1lvl2 and hidden_resource alpha and hidden_resource beta and hidden_resource gamma and not hidden_resource delta and hidden_resource epsilon and not hidden_resource zeta and not hidden_resource eta and not hidden_resource theta
Anyway... if you've been wondering why you cant recruit some of the most elite units (especially in your capital), check out the files above and look for potential typos. Some of these units have soooo many resource requirements that I can see how easy it would be to make typos.
For the baktrian players out there, make the following changes to at least be able to recruit the agemata, hetaroi and pheraspadai (assuming you have the highest barrack):
:idea2: do a search for "bactrian agemata" and make sure the line looks like this:
recruit "greek bactrian agemata" 0 requires factions { romans_brutii, } and building_present_min_level government_type1 type1lvl2 and hidden_resource alpha and hidden_resource beta and hidden_resource gamma and not hidden_resource delta and hidden_resource epsilon and not hidden_resource zeta and not hidden_resource eta and not hidden_resource theta
:idea2: do a search for "greek pheraspidai" and look for the entries with romans_brutii in them (the baktrians were set as the brutii... hence the roman photos and speeches). There are three entries... anyway, just paste the below underneath the third entries...
recruit "greek pheraspidai" 0 requires factions { romans_brutii, } and building_present_min_level government_type1 type1lvl2 and hidden_resource alpha and hidden_resource beta and hidden_resource gamma and not hidden_resource delta and hidden_resource epsilon and not hidden_resource zeta and not hidden_resource eta and not hidden_resource theta
:idea2: do a search for "successor companion cavalry" and find the entry with romans_brutii and make sure it looks like this:
recruit "successor companion cavalry" 0 requires factions { romans_brutii, } and building_present_min_level government_type1 type1lvl2 and hidden_resource alpha and hidden_resource beta and hidden_resource gamma and not hidden_resource delta and hidden_resource epsilon and not hidden_resource zeta and not hidden_resource eta and not hidden_resource theta
found some typos in the exports_desc_buildings.txt
Been founding that I was unable to recruit baktrian agema, the hetaroi and the greek pheraspidai even though I had built the highest barrack (i.e. the "royal barracks) in Baktra.
:idea2: So I decided to dig in to the exports_desc_buildings.txt and kind of puzzled when I ran to this particular entry (example for the baktrian agemata):
recruit "greek bactrian agemata" 0 requires factions { romans_brutii, } and building_present_min_level government_type1 type1lvl2 and hidden_resource alpha and not hidden_resource beta and hidden_resource gamma and not hidden_resource delta and hidden_resource epsilon and hidden_resource zeta and not hidden_resource eta and not hidden_resource theta
okay... so there lots of hidden resources qualifiers there... :dizzy2:
now i dug into the DESC_REGIONS.TXT file (in \Data\world\map\campaign\imperial_campaign) and found this entry for Baktra:
Baktria
Baktra
romans_brutii
Baktrioi
20 155 2
silk, gold, textiles, camels, river, alpha, beta, gamma, epsilon, pahlavahome
5
5
Notice Baktra has the hidden resources of alpha, beta, gamma, and epsilon.
Now look again into the entry for in the exports_desc_buildings.txt and see that:
hidden_resource alpha and not hidden_resource beta and hidden_resource gamma and not hidden_resource delta and hidden_resource epsilon and hidden_resource zeta and not hidden_resource eta and not hidden_resource theta
What I underlined above are typos... no wonder I couldnt recruit the Agemata!
Baktra has the hidden resource beta but the requirement for Agemata is NOT having the resource beta. The oppposite is true for zeta
This is what it should've been like:
recruit "greek bactrian agemata" 0 requires factions { romans_brutii, } and building_present_min_level government_type1 type1lvl2 and hidden_resource alpha and hidden_resource beta and hidden_resource gamma and not hidden_resource delta and hidden_resource epsilon and not hidden_resource zeta and not hidden_resource eta and not hidden_resource theta
Anyway... if you've been wondering why you cant recruit some of the most elite units (especially in your capital), check out the files above and look for potential typos. Some of these units have soooo many resource requirements that I can see how easy it would be to make typos.
For the baktrian players out there, make the following changes to at least be able to recruit the agemata, hetaroi and pheraspadai (assuming you have the highest barrack):
:idea2: do a search for "bactrian agemata" and make sure the line looks like this:
recruit "greek bactrian agemata" 0 requires factions { romans_brutii, } and building_present_min_level government_type1 type1lvl2 and hidden_resource alpha and hidden_resource beta and hidden_resource gamma and not hidden_resource delta and hidden_resource epsilon and not hidden_resource zeta and not hidden_resource eta and not hidden_resource theta
:idea2: do a search for "greek pheraspidai" and look for the entries with romans_brutii in them (the baktrians were set as the brutii... hence the roman photos and speeches). There are three entries... anyway, just paste the below underneath the third entries...
recruit "greek pheraspidai" 0 requires factions { romans_brutii, } and building_present_min_level government_type1 type1lvl2 and hidden_resource alpha and hidden_resource beta and hidden_resource gamma and not hidden_resource delta and hidden_resource epsilon and not hidden_resource zeta and not hidden_resource eta and not hidden_resource theta
:idea2: do a search for "successor companion cavalry" and find the entry with romans_brutii and make sure it looks like this:
recruit "successor companion cavalry" 0 requires factions { romans_brutii, } and building_present_min_level government_type1 type1lvl2 and hidden_resource alpha and hidden_resource beta and hidden_resource gamma and not hidden_resource delta and hidden_resource epsilon and not hidden_resource zeta and not hidden_resource eta and not hidden_resource theta