I am curious as to how to add a hidden resource to the game and how to add one to an existing region.
Any advice would be appreciated.
I am curious as to how to add a hidden resource to the game and how to add one to an existing region.
Any advice would be appreciated.
hello
open the file descr_regions who is in the data\world\maps\base folder, you will find those lines :
Britannia_Inferior
Eburacum
britons
Brigantes
232 41 198
slaves, lead, dogs, pigs
5
5
Tribus_Saxones
Bordesholm
germans
Saxones
232 41 55
timber, slaves, amber, dogs, pigs
5
3
this is the file from rome TW, but i remember it is the same for MTW2 (not acces to this last at this moment).
Words in bold are the hidden ressources, and i remember that you can add, but do not delete some because it can make unhappy certain files like export_descr_building.
you can find a lot of tuto in the Mod workshop thread, in the mapping part.
here is the link :
http://www.twcenter.net/forums/forumdisplay.php?f=275
and you can look at :
http://www.twcenter.net/forums/showt...ghlight=hidden
Last edited by Matthias the great; November 02, 2009 at 10:56 PM.
These are the first three regions in the [your drive]/program files/SEGA/Medival II Total War/mod/Thrd_Age/data/world/maps/base/descr_regions.txt file.Code:Anfalas_Province Anfalas (Name) sicily (Starting owner) English_Rebels (Type of rebels once rebbeled) 232 41 198 (Probably some coördinate stuff. Don't mess with this) coast, not_forest, sicily, arable (The resources) 5 (dunno) 1 (dunno) religions { catholic 5 orthodox 5 islam 0 northmen 5 heretic 0 numenorian 85 } (Hard one ain't it :P) Belfalas_Province Belfalas sicily English_Rebels 203 202 201 coast, amroth, not_forest, sicily, arable 5 3 religions { catholic 7 orthodox 3 islam 0 northmen 5 heretic 5 numenorian 80 } Anorien_Province Anorien sicily English_Rebels 173 172 171 multi, not_forest, westroad, sicily, arable, crusade 5 3 religions { catholic 7 orthodox 5 islam 3 northmen 5 heretic 0 numenorian 80 }
Last edited by Muffer Nl; November 03, 2009 at 03:48 AM.
so it should be possible to set the cost of these resources...but where?![]()
These are in fact hidden resources. They do not have a price but it's mroe like this:
This building/unit requires this region to have this hidden resource. For example some regions in Harad have the hidden resource Mumak which enables you to train them. The hidden resource coast enables the harbor buidlings etc, etc.
So, I've tried messing with these files, and when I start a new campaign, I still can't recruit AOR units in those provinces. What might cause this?
also, +rep to Matthias and Muffer
Then I have no clue...
This might help:
http://www.twcenter.net/wiki/Descr_regions.txt
*Sigh* You also need to add the hidden resources in EDB at the top, and there add it at the end of a unit's line (the unit you want to have AOR) :
..... and hidden_resource 'your resource'
This is city growth and wealth stuff. Like in RTW, the cities in Greece had a high number here(and the Egyptian ones too, i think you remember Alexandria having about 9% grwoth sometimes ?), while "barbarian" and desert settlements had a low number here.1 (dunno)
I re-added KK's Gondor Militia units from 1.0 back into 1.3 (running the expanded map mod). I recast them as men-at-arms for Dol Amroth, but I wanted to be able to recruit them in Tarnost and Edhellond as well. So I added the hidden_resource amroth in the file C:\Program Files\SEGA\Medieval II Total War\mods\Third_Age\data\world\maps\base
Thanks for the help!Code:Tarnost_Province Tarnost sicily English_Rebels 200 100 200 coast, amroth 5 5 religions { catholic 12 orthodox 5 islam 3 northmen 5 heretic 5 numenorian 70 } Edhellond_Province Edhellond sicily English_Rebels 203 178 26 amroth, coast 5 5 religions { catholic 7 orthodox 3 islam 0 northmen 5 heretic 5 numenorian 80 }
recruit_pool "amroth men at arms" 1 0.34 4 0 requires factions { sicily, } and hidden_resource amroth
That's pretty much how they look.
If you mean the EDB, then yes, that hidden resource is pre-existing. And this does work in game, but only in Dol Amroth, which is the only settlement which had this hidden resource to begin with. My problem is I would like to add this to other settlements and the units aren't turning up in those settlements despite having added amroth to their entries in the descr_regions file.
Again, thank you for your response.
Yeah probably a temp that is. Didn't think of that.
Great job Theoden...
Worked like a charm! Thanks everyone for all your help!
Follow up: is it possible to exclude certain regions from recruitment, such as not being able to recruit Gondor militia in one or two provinces while being able to in all others normally?
create a hidden ressource that can be found in lot of settlements but not where you don't want. you can put everywhere this hidden ressource for example called militia, except where special units are recruitable.
So just make it and not hidden_resource amroth. That is what you wan't right?