You are saying the DLL is sending those and python isn't recieving, or somethimg else?
Yes, pretty much. Well, python is receiving but with no handler assigned it isn't doing anything.
You are saying the DLL is sending those and python isn't recieving, or somethimg else?
OK, the nif files do not seem so easy to manipulate. How do you select the "changed parts" to copy back into the original ? Which software are you using (hex editor ?) ?
Also, is there a python method to check whether or not a unit is currently enraged. ie, out of the player's control.
I'm not actually wanting to check for the Enraged promotion, because there are multiple different promotions that have that effect. Rather, I want to check if the unit is under the effect that Enraged, Frenzy, Freelancer, etc, cause.
---------------------------
XML Error
---------------------------
Tag: UNIT_DRUID_HAWK in Info class was incorrect
Current XML file is: modules\NormalModules\Druids\druid_CIV4SpellInfos.xml
---------------------------
OK
---------------------------
<SpellInfo> <!-- Hawk Form -->
<Type>SPELL_HAWK_FORM</Type>
<Description>TXT_KEY_HAWK_FORM</Description>
<Civilopedia>TXT_KEY_WILD_SHAPE_PEDIA</Civilopedia>
<Help>TXT_KEY_BEAR_FORM_HELP</Help>
<PromotionPrereq1>PROMOTION_WILD_SHAPE</PromotionPrereq1>
<bAllowAI>1</bAllowAI>
<iCasterMinLevel>4</iCasterMinLevel>
<iAIWeight>50</iAIWeight>
<bAbility>1</bAbility>
<ConvertUnitType>UNIT_DRUID_HAWK</ConvertUnitType>
<AddPromotionType1>PROMOTION_CLOUDED_MIND</AddPromotionType1>
<PyRequirement>reqWildShape(pCaster)</PyRequirement>
<Effect>EFFECT_SPELL1</Effect>
<Sound>AS3D_SPELL_TRAIN</Sound>
<Button>Art/Interface/Buttons/Units/Hawk.dds</Button>
</SpellInfo>
<UnitInfo> <!-- Druid - Hawk Form -->
<Class>UNITCLASS_DRUID</Class>
<Type>UNIT_DRUID_HAWK</Type>
<Combat>UNITCOMBAT_BEAST</Combat>
<DefaultUnitAI>UNITAI_ATTACK</DefaultUnitAI>
<Description>TXT_KEY_UNIT_HAWK_FORM</Description>
<Civilopedia>TXT_KEY_WILD_SHAPE_PEDIA</Civilopedia>
<bMilitarySupport>1</bMilitarySupport>
<bMilitaryProduction>1</bMilitaryProduction>
<UnitAIs>
<UnitAI>
<UnitAIType>UNITAI_ATTACK</UnitAIType>
<bUnitAI>1</bUnitAI>
</UnitAI>
</UnitAIs>
<iMoves>1</iMoves>
<iCombat>8</iCombat>
<iCityAttack>-20</iCityAttack>
<iAsset>0</iAsset>
<iPower>32</iPower>
<UnitMeshGroups>
<iGroupSize>1</iGroupSize>
<fMaxSpeed>10</fMaxSpeed>
<iMeleeWaveSize>1</iMeleeWaveSize>
<iRangedWaveSize>1</iRangedWaveSize>
<UnitMeshGroup>
<iRequired>1</iRequired>
<EarlyArtDefineTag>ART_DEF_UNIT_HAWK</EarlyArtDefineTag>
</UnitMeshGroup>
</UnitMeshGroups>
<FreePromotions>
<FreePromotion>
<PromotionType>PROMOTION_HAWK_FORM</PromotionType>
<bFreePromotion>1</bFreePromotion>
</FreePromotion>
<FreePromotion>
<PromotionType>PROMOTION_POLYMORPHED</PromotionType>
<bFreePromotion>1</bFreePromotion>
</FreePromotion>
</FreePromotions>
</UnitInfo>