Spoiler :
CvGameTextMgr.cpp said:Code:if (GET_TEAM(GET_PLAYER(ePlayer).getTeam()).isHasTech((TechTypes)CALENDAR)) setDateStr(szString, iGameTurn, bSave, eCalendar, iStartYear, eSpeed); else if (GET_PLAYER(ePlayer).getCurrentEra() >= 3) szString = gDLL->getText("TXT_KEY_AGE_RENAISSANCE"); else if (GET_PLAYER(ePlayer).getCurrentEra() == 2) szString = gDLL->getText("TXT_KEY_AGE_MEDIEVAL"); else if (GET_TEAM(GET_PLAYER(ePlayer).getTeam()).isHasTech((TechTypes)IRONWORKING)) szString = gDLL->getText("TXT_KEY_AGE_IRON"); else if (GET_TEAM(GET_PLAYER(ePlayer).getTeam()).isHasTech((TechTypes)BRONZEWORKING)) szString = gDLL->getText("TXT_KEY_AGE_BRONZE"); else szString = gDLL->getText("TXT_KEY_AGE_STONE");
This evening, my Japanese class teacher taught me about the early history of the Japanese civilization; from pre-history (Jomon) period to the Yamato period.
(Hmm, how should I word this to make this relevant to DoC and what I want to ask you about...)
In Japan, the Classical Era starts from 538AD to 1185AD, followed by Medieval Era from 1185AD to 1600AD. Then, the Edo period (or we can equate with Renaissance Period in the West) from 1600AD to 1868AD. After that, during Industrial Age in the West, from 1868AD to 1945AD is the Imperial Japan period. Modern Age start after that until now.
Meanwhile, in the Europe, Classical Age start from around 700BC to around 500AD or 600AD; therefore 600AD onward is known (under umbrella term) of Medieval Age. I hope this already illustrate the idea of my question.
Spoiler :

Back to the code I quoted above, is it possible to make that if the game detect that ePlayer == iJapan, and getCurrentEra() == 2, it loads "TXT_KEY_AGE_ASUKA" instead of "TXT_KEY_AGE_MEDIEVAL" for example? Off course, the text for TXT_KEY_AGE_ASUKA will be defined somewhere. Because, if I just change the <English>Bronze Age</English> in the CIV4GameText_RFCGeneral.xml to <English>Asuka Period</English>, it will change all TXT_KEY_AGE_MEDIEVAL occurrences, not only for Japan, isn't it?
Is it possible?
If yes, can it be made as modules?
Thanks!
EDIT: In order to avoid confusion, my idea is to only change the text. I do not currently wish to find out how to modify the number of eras so that there's only x Era in Japan while there's y Era in France and z Era in Mali -- which will lead to reformation of tech tree, DCN etc which is tied to Renaisssance, Classical, Medieval etc.
No. That's too complicated. I just wish to find out whether it is possible to rename Medieval Era to Asuka Period, Renaissance Era to Edo Period etc if the player choose Japan~