JujuLautre
Deity
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
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 ?
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

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 ?