Adding a unit thats unique to a province
Hi, im new here first post, just like to say Great site!
Ive read a tutorial about making units only available to a certain province, like sparta has Spartans.
But you know that if say, Germania, gets Sparta off the Greeks they cant get Spartans, only the Greeks can right?
Well i want to do something like that, add a unit to a city that canont be recruited anywhere but there, but ony available to a certain faction?
How do i do this, or is there no way?
Re: Adding a unit thats unique to a province
In the export_descr_buildings.txt file, you can specify faction and resource needed to build a unit. So:
Quote:
recruit "east heavy cataphract2" 0 requires factions { parthia, } and not hidden_resource iran
recruit "iranian nobles" 0 requires factions { parthia, } and hidden_resource iran
"east heavy cataphract2" can only be built by Parthia when the "iran" hidden resource is NOT present, and "iranian nobles" can only be built by Parthia when the "iran" hidden resource IS present. No other faction will be able to build either unit.
Re: Adding a unit thats unique to a province
Thanks, so its just that simple? Just change where appropiate?
Thanks again
Re: Adding a unit thats unique to a province
Re: Adding a unit thats unique to a province
thats it, sorry should of checked the site more thourghly (sp?) first, thanks!