Hi all!
I create a unit that swaps model with the heavy armor upgrade instead of a retexture.
The problem is that this unit has the ability to change weapon that works well until i upgrade it.
To change the model i use:
Behavior = ModelConditionUpgrade ModuleTag_TurnHeavy
TriggeredBy = Upgrade_ElvenHeavyArmor
AddConditionFlags = USER_3
;Permanent = No
End
It works for the sword mode but while i try to change to the archer mode the model doesn't change while the animations and the weaponset work correctly.
The code i took for the models is that of the rohirrim with the user_3 added:
;-----Spear-----
DefaultModelConditionState
Model = EUMirkRider_SKN
End
ModelConditionState = SWAPPING_TO_WEAPONSET_1 ; swapping to bow
Model = EUMirkRider_SKN
End
ModelConditionState = USER_3
Model = EUMirkRdrHA_SKN
End
ModelConditionState = USER_3 SWAPPING_TO_WEAPONSET_1 ; swapping to bow
Model = EUMirkRdrHA_SKN
End
;-----Bow-----
ModelConditionState = SWAPPING_TO_WEAPONSET_2 ; swapping to spear
Model = EUMirkMArch_SKN
WeaponLaunchBone = SECONDARY FIREAROWTIP
End
ModelConditionState = WEAPONSET_TOGGLE_1
Model = EUMirkMArch_SKN
WeaponLaunchBone = SECONDARY FIREAROWTIP
End
ModelConditionState = USER_3 WEAPONSET_TOGGLE_1
Model = EUMrkMArcHA_SKN
WeaponLaunchBone = SECONDARY FIREAROWTIP
End
ModelConditionState = USER_3 SWAPPING_TO_WEAPONSET_2 ; swapping to spear
Model = EUMrkMArcHA_SKN
WeaponLaunchBone = SECONDARY FIREAROWTIP
End
Anyone knows how to make it work or a workaround or if I did something wrong?
Edited by Symonius, 08 September 2016 - 07:21 PM.