Dancing Hoskuld
Deity
Since RandR in Civ3 taught me how to mod I thought I would try and mod RoM
I looked around for a mod which would not change Rom (or RoM_RevDCM) but would enhance the experience.
I chose the Great person Mod. Especially as it had be converted to BTS by Roamty and its graphics reciently update by Amra.
Initial investigation showed that it should be "easy" even though I have not used python before.
When I did an intelligent (I thought) merge I lost the movie and tech screens plus advance start. In Rom_RevDCM lost all revolution and DCM stuff.
So instead I tried something better. I tried to put sensible bits of code in CvEventManager.py under the section "def onGreatPersonBorn(self, argsList):".
Nothing happened. In fact with a bit of testing I proved to myself that this bit of code was not being called when a Great Person was born.
Any ideas what I may have missed? One possibility is that CvUtil.pyPrint is not printing where I think it is.
I looked around for a mod which would not change Rom (or RoM_RevDCM) but would enhance the experience.
I chose the Great person Mod. Especially as it had be converted to BTS by Roamty and its graphics reciently update by Amra.
Initial investigation showed that it should be "easy" even though I have not used python before.
Spoiler :
Initial investigation reviels that the following directories and files are unique to Great Person Mod and have no counterpart in RoM or RoM_RevDCM.
directorys
assets\art\GreatPeople
assets\python\RandomNameUtils
files
assets\xml\text\Amra_CIV4GameText_GreatPeople.xml
assets\xml\text\CIV4GameTextInfos_GreatPersonMod BTS_GreatPeople.xml
assets\Python\CvGreatPersonModEventManager.py
assets\Python\CvGreatPersonScreen.py
The file "assets\xml\units\CIV4UnitInfos.xml" has more great people in the Great Person Mod.
Copying the unique files and directories into my copy of RoM (or Rom_RevDCM) had no effect. This is to be expected since none of them would be called or imported yet.
Copying the Great People in Civ4UnitInfos.xml to Rom appeared to have no effect.
The files which are in both GP and RoM are
CvConfigParser.py no significant changes
CvModName.py RoM looks more complete
CvPath.py ditto
CvCustomEventManager.py GP mod imports CvGreatPersonModEventManager
Python\EntryPoints\CvEventInterface.py no apparent significant changes
Python\EntryPoints\CvScreensInterface.py many change changes
directorys
assets\art\GreatPeople
assets\python\RandomNameUtils
files
assets\xml\text\Amra_CIV4GameText_GreatPeople.xml
assets\xml\text\CIV4GameTextInfos_GreatPersonMod BTS_GreatPeople.xml
assets\Python\CvGreatPersonModEventManager.py
assets\Python\CvGreatPersonScreen.py
The file "assets\xml\units\CIV4UnitInfos.xml" has more great people in the Great Person Mod.
Copying the unique files and directories into my copy of RoM (or Rom_RevDCM) had no effect. This is to be expected since none of them would be called or imported yet.
Copying the Great People in Civ4UnitInfos.xml to Rom appeared to have no effect.
The files which are in both GP and RoM are
CvConfigParser.py no significant changes
CvModName.py RoM looks more complete
CvPath.py ditto
CvCustomEventManager.py GP mod imports CvGreatPersonModEventManager
Python\EntryPoints\CvEventInterface.py no apparent significant changes
Python\EntryPoints\CvScreensInterface.py many change changes
When I did an intelligent (I thought) merge I lost the movie and tech screens plus advance start. In Rom_RevDCM lost all revolution and DCM stuff.
So instead I tried something better. I tried to put sensible bits of code in CvEventManager.py under the section "def onGreatPersonBorn(self, argsList):".
Nothing happened. In fact with a bit of testing I proved to myself that this bit of code was not being called when a Great Person was born.
Any ideas what I may have missed? One possibility is that CvUtil.pyPrint is not printing where I think it is.