Thunderbrd
C2C War Dog
1) Is there a way to make an improvment require a bonus to be build?
Code:
<BonusTypeStruct>
<BonusType>BONUS_TITANIUM_ORE</BonusType>
<bBonusMakesValid>1</bBonusMakesValid>
1) Is there a way to make an improvment require a bonus to be build?
<BonusTypeStruct>
<BonusType>BONUS_TITANIUM_ORE</BonusType>
<bBonusMakesValid>1</bBonusMakesValid>
Actually I think all you'd need to do is give the improvement no other means of qualifying except for the bBonusMakesValid tag use as shown above.Code:<BonusTypeStruct> <BonusType>BONUS_TITANIUM_ORE</BonusType> <bBonusMakesValid>1</bBonusMakesValid>
I think most improvments would need the resource when they startto build them, and not when they are already built.
BTW, where do I find the build file? It is not in the terrain folder.
I have discovered that I too need to link the ability to build an improvement to the existence of a manufactured bonus or a promotion.
For me probably the best would be to have a promotion for worker units that is required for the Build rather than for the Improvement but either would do.
More work for long suffering TB.
No... I made a tag that enables you to only build an improvement where access to a resource exists, like the way paved roads currently need stone. Other improvements never had this ability to have such a prereq. The prereq was placed on builds.1) You said you can limit an improvment to be only buildable if a certain improvment is already on the tile, right? Is it handled in the BuildInfos or as a mission?
For example, like if you would only allow workers to build a Town if there is already a Village.
Not sure if I understand the request here but you can always give improvements a tech prereq. Such a tag as above would allow you to string improvements that would need to be built on top of one another.2) Is it possible to have the second improvment be buildable directly if you have a certain tech? Like in the above case, allow a worker to to build a town anywhere after you researched Globalization?
Probably better that way but IMPROVMENT is misspelled.3) I named an Improvment "LUNAR_BASE_IMPROVMENT" to distinguish it from the Building "LUNAR_BASE". Could this potentially cause problems?