Officer Reene
It hates you all
I noticed that Settlers and Workers have this:
(In the CIV4UnitInfos.XML File)
<Class>UNITCLASS_SETTLER</Class>
<Type>UNIT_SETTLER</Type>
<UniqueNames/>
<Special>NONE</Special>
<Capture>UNITCLASS_WORKER</Capture>
and this:
<Class>UNITCLASS_WORKER</Class>
<Type>UNIT_WORKER</Type>
<UniqueNames/>
<Special>NONE</Special>
<Capture>UNITCLASS_WORKER</Capture>
but no other units have this (I think)
I understand that <Capture> means that when a city is captured... there is a possibility that the unit is capture too...
Also if a foreign city successfully revolts to your civ... you get some units of that civ, including some military units...
my questions are:
1) is this only when the city is captured? or can this be in open ground combat too? (not capturing cities)
2) a) Is there a percentage for it? or is it automatically captured if you are victorious in capturing a city or victorious in combat?
b) If it is a percentage, where is that data/script stored?
3) Where is the data/scripts for the city revolts action? Can that be applied in open (non-city) combat where there is a possibility to capture some units after a victorious combat?
4) a) What happens if you make ALL units capturable? (I noticed that military units are not capturable (<Capture>DATA</Capture>) yet they can be capturable if you capture a city by culture...
b) What does that <Capture> actually do?
Other Questions:
I noticed that in the CIV4BuildingInfos.XML File all buildings have a construction sound defined....
ex. <ConstructSound>AS2D_BUILD_WALLS</ConstructSound>
I also checked that this sound is defined in the AudioDefines.XML and Audio2DScripts.xml
For the Great People the sound is defined in the AudioDefines.XML
ex. SND_MOD_ENG_ACTIVATE (Sound for Using a Great Engineer I believe)
yet I could not find that sound defined for GP (engineer) in the CIV4UnitInfos.xml or its defined in the Audio2DScripts.xml or Audio3DScripts.xml
1) Is this sound hardcoded?
2) Does anyone know where this sound is referenced?
I am using fitchn's CivMore Mod which uses Great Generals and I am trying to add sounds when you "use" a GG...
Any help would be greatly appreciated!
NOTE: for the Capture questions:
I have tried to use Snaitf's Allegiance Mod which does exactly what I want it to do... but it doesnt work in MP
(because it changes Python Files - and MP hates Python changes when the python changes have to do with AI behavior)
I am trying to do it myself (possibly just trying to edit XML files), that's why I am asking for any info, that is if it can be done...
and see if I am missing any Capture reference files...
Thanks again for any assistance you can provide!
(In the CIV4UnitInfos.XML File)
<Class>UNITCLASS_SETTLER</Class>
<Type>UNIT_SETTLER</Type>
<UniqueNames/>
<Special>NONE</Special>
<Capture>UNITCLASS_WORKER</Capture>
and this:
<Class>UNITCLASS_WORKER</Class>
<Type>UNIT_WORKER</Type>
<UniqueNames/>
<Special>NONE</Special>
<Capture>UNITCLASS_WORKER</Capture>
but no other units have this (I think)
I understand that <Capture> means that when a city is captured... there is a possibility that the unit is capture too...
Also if a foreign city successfully revolts to your civ... you get some units of that civ, including some military units...
my questions are:
1) is this only when the city is captured? or can this be in open ground combat too? (not capturing cities)
2) a) Is there a percentage for it? or is it automatically captured if you are victorious in capturing a city or victorious in combat?
b) If it is a percentage, where is that data/script stored?
3) Where is the data/scripts for the city revolts action? Can that be applied in open (non-city) combat where there is a possibility to capture some units after a victorious combat?
4) a) What happens if you make ALL units capturable? (I noticed that military units are not capturable (<Capture>DATA</Capture>) yet they can be capturable if you capture a city by culture...
b) What does that <Capture> actually do?
Other Questions:
I noticed that in the CIV4BuildingInfos.XML File all buildings have a construction sound defined....
ex. <ConstructSound>AS2D_BUILD_WALLS</ConstructSound>
I also checked that this sound is defined in the AudioDefines.XML and Audio2DScripts.xml
For the Great People the sound is defined in the AudioDefines.XML
ex. SND_MOD_ENG_ACTIVATE (Sound for Using a Great Engineer I believe)
yet I could not find that sound defined for GP (engineer) in the CIV4UnitInfos.xml or its defined in the Audio2DScripts.xml or Audio3DScripts.xml
1) Is this sound hardcoded?
2) Does anyone know where this sound is referenced?
I am using fitchn's CivMore Mod which uses Great Generals and I am trying to add sounds when you "use" a GG...
Any help would be greatly appreciated!

NOTE: for the Capture questions:
I have tried to use Snaitf's Allegiance Mod which does exactly what I want it to do... but it doesnt work in MP

I am trying to do it myself (possibly just trying to edit XML files), that's why I am asking for any info, that is if it can be done...

and see if I am missing any Capture reference files...
Thanks again for any assistance you can provide!
