Looking for Lair Results XML/Py/whatever it's in

Phoenix204

Chieftain
Joined
Jun 11, 2010
Messages
31
Hey guys, I'm trying to edit out a couple of events and lair results. Specifically, I'm trying to kill Minister Koun for good, and delete the early missionary lair results.

I've found what I think are the right files for random events (and found Minister Koun within them), CIV4EventInfos and Civ4EventTriggerInfos.xml, but I want to make sure I'm doing the right thing.

I can't seem to find the lair result definitions anywhere though. Edit: That'll teach me to dig a little deeper next time. Found the goody list now.


Any help would be appreciated and thanks in advance.

Edit: Heh, forgot to mention that I'm planning on simply deleting all XML reference to these events.
 
to remove the disciples from lairs, open assets\python\customfunctions.py

search for "disciple"
then remove these two lines
Code:
			if pPlayer.isHasTech(gc.getInfoTypeForString('TECH_MYSTICISM')):
				lList = lList + ['PRISONER_DISCIPLE_ASHEN', 'PRISONER_DISCIPLE_EMPYREAN', 'PRISONER_DISCIPLE_LEAVES', 'PRISONER_DISCIPLE_OVERLORDS', 'PRISONER_DISCIPLE_RUNES', 'PRISONER_DISCIPLE_ORDER']
 
Thanks Sephi.

Any word on how to remove Minister Koun? What I've already done didn't work. Which was to delete the section in Civ4EventTriggerInfos.xml labeled City_Split iirc. I just ended a game a Compact Enforced/No Perm. Alliance game where he still spawned. Kinda defeats the purpose.

Edit: Was gonna start a new thread for this but I figured I should just put it in here.

While looking through some of the Faeries XML in Notepad ++, I noticed a long section related to Terrain and Feature Yield changes that's in green and I'm pretty sure it isn't active in the main game. I also notice it's missing its opener tag for terrain yield changes but not feature yield changes. So my question is: Is this a leftover tag from FF that simply isn't active in WM, or can I somehow activate it?

Edit again: Found the little <!-- that was causing it. Now I know what that is! :) Edit: And now I know why it was there. :(
 
there are two eventtrigger you need to delete for Koun. Search for "Koun" and you will find both.
 
Personally, I think he should only appear if you are running city-states. A rebellious minister under a God King probably wouldn't get his own city :devil:
 
Back
Top Bottom