3Miro
Deity
Next test version is out on the first post of the tread. Enjoy!
<!--Begin Sedna17-->
<ElementType name="iNumFreeColBonus" content="textOnly" dt:type="int"/>
<ElementType name="FreeColBonus" content="eltOnly">
<element type="BonusType"/>
<element type="iNumFreeColBonus"/>
</ElementType>
<ElementType name="FreeColBonuses" content="eltOnly">
<element type="FreeColBonus" minOccurs="0" maxOccurs="*"/>
</ElementType>
<!--End Sedna17-->
<!--Begin Sedna17-->
<element type="PrereqProjects"/>
<!--End Sedna17-->
<!--Begin Sedna17-->
<element type="PrereqBonuses"/>
<element type="FreeColBonuses"/>
<!--End Sedna17-->
Hey 3Miro,
I've posted some more files on the second post of this thread, but they are work-in-progress.
I have added a new abstract resource (currently borrowing fish artwork and not-yet-appearing-on-the-map) -- Atlantic Access. This is required for building all colonies.
I have attempted to modify the CIV4GameInfoSchema.xml to make Projects have all the tags necessary for our Colonies to behave as we wish. That involved adding this:
and then, under <ElementType name="ProjectInfo" content="eltOnly"> in the appropriate placesCode:<!--Begin Sedna17--> <ElementType name="iNumFreeColBonus" content="textOnly" dt:type="int"/> <ElementType name="FreeColBonus" content="eltOnly"> <element type="BonusType"/> <element type="iNumFreeColBonus"/> </ElementType> <ElementType name="FreeColBonuses" content="eltOnly"> <element type="FreeColBonus" minOccurs="0" maxOccurs="*"/> </ElementType> <!--End Sedna17-->
So far, so good, and I added our list of colonies. Of course the new elements need to be added to the dll by you before they will DO anything, and we'll need to modify the Civilopedia format for projects to be more like the one for buildings at some point.Code:<!--Begin Sedna17--> <element type="PrereqProjects"/> <!--End Sedna17--> <!--Begin Sedna17--> <element type="PrereqBonuses"/> <element type="FreeColBonuses"/> <!--End Sedna17-->
However, I also get errors on load. Specifically, on loading Civ4ProjectInfo.xml it complains:
Tag: 100 in Info class was incorrect
Tag: 1 in Info class was incorrect
which seems to be objecting to the values of 100 under BonusProductionModifiers (for colonies with double production speed with slaves) and 1 under FreeColBonuses. Is this because I made some mistake or because the game doesn't know if these are "good" values for these parameters until we tell it what good values are?
Hopefully you can make figure this out...
Do you plan adding more accurate flags/countries colors to the test version? It wouldn,t be that long and would give a more historical feel to it. Anyway keep up the good job!
Not my day for posting files correctly. The link is working again now. Thanks for the heads-up jessiecat.