hi,
i've read the posts about hidden_resources and so far i could not find the solution to my problem!
i'm working on a modification of a previously released mod for personal use and it has come to a screeching halt when i got to the EDB and hidden resources.
this is what i have done so far:
i reassigned completely new hidden resources to all the regions on the map but kept rome, as recommended by the tutorials. but when i use the and hidden_resource xxx for my aor's, the units do not appear at all!
1- first i worked on the descr_regions.txt, got rid of all resources (including tradable resources such as slaves, gold...etc), then i assigned my new hidden resources to each region, so far each region is defined by a 'zone' (like africa, asia, iberia...etc) and a province number (pr1, pr2..etc), so each of my regions is individually identified by two hidden resources:
2- then i declared my hidden resources in the EDB file as shown below:Tingitana
Tingi
roman_brutii
Moors
202 126 17
afrika, pr1
5
5
Mauretania
Icosium
roman_brutii
Gaetuli
41 86 232
afrika, pr2
5
3
.
.
.
.
.
Sinai
Pelusium
egypt
Libyans
142 255 86
asia, pr1
5
2
Nabataea
Petra
britons
Libyans
248 255 124
asia, pr2
5
11
3- after that, i started working on the units as follow:hidden_resources rome sparta afrika asia iberia pr1 pr2 pr3 pr4 pr5 ...etc
so the ones with hidden_resource didn't appear at all, the ones with no hidden resource were obviously recruitable everywhere!militia_barracks requires factions { barbarian, nomad, carthaginian, eastern, parthia, egyptian, greek, roman, } and building_present_min_level hinterland_farms farms
{
capability
{
recruit "roman hastati" 0 requires factions { romans_brutii, } and hidden_resource iberia
recruit "roman princeps" 0 requires factions { romans_brutii, } and hidden_resource iberia
recruit "roman triarii" 1 requires factions { romans_brutii, }
recruit "republican legioni hastati" 0 requires factions { romans_brutii, }
recruit "republican legionii hastati" 0 requires factions { romans_brutii, } and hidden_resource afrika
law_bonus bonus 2
}
construction 2
cost 2500
settlement_min large_town
upgrades
{
city_barracks
}
}
what am i doing wrong? the game doesn't seem to recognize my hidden_resource conditional, or is it my hidden resources themselves? or the lack of tradable resources in descr_regions? i'm at a loss!!!
thank you for your help.




Reply With Quote










