Small tech module - prerequisite not showing

JujuLautre

Deity
Joined
Apr 9, 2007
Messages
3,112
Location
Kansai, Japan
Hi all

I'm throwing myself into some modding, but not everything works as intended... I hope you can help me to find where I'm wrong :p

I already in the past modded the game to give a free great prophet at divine right. Worked like a charm: take CIV4TechInfos.xml, copy it to custom assets, add a great prophet... Not too complicated. But since I discovered modules and always change my custom assets (thanks to BUG), I told myself I could move into into a module, so here is what I did:
- tested one module found here (a new civ), it works
- copied CIV4TechInfos.xml and CIV4TechnologiesSchema.xml into "Free Great Prophet/Free Great Prophet_CIV4TechInfos.xml" and "Free Great Prophet/Free Great Prophet_CIV4TechnologiesSchema.xml" into my BTS/Assets/Modules folder
- kept only the part (TechInfo) about divine right in CIV4TechInfos.xml, and added a great prophet
- changed the reference of the schema (in CIV4TechInfos.xml) to "Free Great Prophet_CIV4TechnologiesSchema.xml"

And I'm all set. Or at least, I believed.
When I launch BTS, my great prophet is indeed here, but the game does not recognize any prerequisite for divine right (monarchy and theology), so basically, I can research divine right from turn one.

Any idea why ?
 
There is generally something screwy about how pre-req techs are read out in modules.
Most likely it is not something you did wrong - you just hit one of the limitation of the modules system.
 
Yeah... another limit of the module system it doesn't seem to like modular sounds/music xml coding.
 
Back
Top Bottom