I am making a mod and would like to know how to change the calander from the gregorian bc/ad mode to a star wars version bby/aby. Could someone please let me know how to do this? thanks in advance
If all you want to do is change the abbreviations then change the entries for TXT_KEY_TIME_BC_SAVE, TXT_KEY_TIME_BC, TXT_KEY_TIME_AD_SAVE, and TXT_KEY_TIME_AD in XML/Text/CIV4GameTextInfos.xml
There are several ways to change the start year.
1. If you are starting your mod from a WBSave file, you can edit the following line to change the start year. StartYear=-4000
2. There is an entry in GlobalDefines.xml called START_YEAR. Just copy that file to your mod and change this value.
3. If you are using Python, you can add the following line to your code to change the start year. gc.getGame().setStartYear(-4000)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.