stolenrays
Deity
- Joined
- Aug 2, 2009
- Messages
- 2,061
I just deleted them all. I was getting very strange errors such as paratroopers being born as great people. My python help text error went away as well.
"iAIWeight - The preference given by the AI to this unit, generally for Unique Units."
Al don't want build some units or build that unit much less, if i increase this value <iAIWeight>0</iAIWeight> in CIV4UnitInfos.xml, Al will build more this units. Which is the best value? To be balanced with other units, to build even as other units.
But i have new problem, i put corporations in mod (BTS Corporations with little changes) all works except UNITCLASS_EXECUTIVE_1,2,3...7. When i put Executives units in CIV4UnitInfos.xml and CIV4UnitClassInfos.xml i get Error with Don't Send. What to do?
I'm trying to remove all but 1 difficulty level, but I get an xml error saying tag HANDICAP_SETTLER in CIV4ForceControlInfos isn't working but there is no such tag in the CIV4ForceControlInfos file in BtS. (my mod doesn't have a modded version of that file)
What's the error exactly?
<UnitArtInfo>
<Type>ART_DEF_UNIT_CEO_1,2,3....7</Type>
<Button>,Art/Interface/Buttons/Units/ICBM.dds,Art/Interface/Buttons/Beyond_the_Sword_Atlas.dds,1,13</Button>
<fScale>0.46</fScale>
<fInterfaceScale>1.0</fInterfaceScale>
<bActAsLand>0</bActAsLand>
<bActAsAir>0</bActAsAir>
<NIF>Art/Units/CEO/Logos/CEO_Cereal.nif</NIF>
<KFM>Art/Units/CEO/CEO.kfm</KFM>
<SHADERNIF>Art/Units/CEO/Logos/CEO_Cereal_FX.nif</SHADERNIF>
<ShadowDef>
<ShadowNIF>Art/Units/01_UnitShadows/UnitShadow.nif</ShadowNIF>
<ShadowAttachNode>BIP Pelvis</ShadowAttachNode>
<fShadowScale>1.0</fShadowScale>
</ShadowDef>
<fBattleDistance>0.35</fBattleDistance>
<fRangedDeathTime>0.31</fRangedDeathTime>
<bActAsRanged>0</bActAsRanged>
<TrainSound>AS2D_UNIT_BUILD_UNIT</TrainSound>
<AudioRunSounds>
<AudioRunTypeLoop/>
<AudioRunTypeEnd/>
</AudioRunSounds>
</UnitArtInfo>
I wonder if you can help me on this problem (Is this in the right place?) I have a mod that has a bunch of custom leaderheads and civs (Not yet) like Civ Gold. Suddenly there's no first encounter text when you meet the leaders, even the non-modded ones.
I have the AI_DIPLO_FIRST_CONTACT_LEADER text on the custom leaders filled out and I have the AI_DIPLO_FIRST_CONTACT_LEADER filled in for the custom leaders CIV4DiplomacyInfos file. Do you know what's going on?
I guess this could help you. The general is not lost when the unit is reborn, but I think that should be not hard to remove (would have to take a look at the code again...).
mmhh...any modular leaders in there?
...wait...ah...to make the custom diplomacy texts work, you have to edit the GameInfo\DiplomacyInfos.xml! The game will not automatically grab the right text, it has to be defined there.
And one major disadvantage: IIRC this file cannot be made modular.
I guess this could help you. The general is not lost when the unit is reborn, but I think that should be not hard to remove (would have to take a look at the code again...).