For fans of C&C, BFME and Dune games, plus every game using one of the universes as its battleground.
this have took me 1 day to get it working, well almost the dead animation isnt working that great but mabye you guys know a way to fix this. Just place the Model name's and Animation name's on the right place and don't forget to change the "factionunittypeunitname" identification code.
Posted by Taxikiller on May 23rd, 2009
Basic Client Side Coding.
Object FACTIONUNITTYPEUNITNAME
; *** ART Parameters ***
SelectPortrait = IMAGE_LAYOUT
ButtonImage = IMAGE_LAYOUT
;UpgradeCameo1 = NONE
;UpgradeCameo2 = NONE
;UpgradeCameo3 = NONE
;UpgradeCameo4 = NONE
;UpgradeCameo5 = NONE
Draw = W3DTruckDraw ModuleTag_01
DefaultConditionState
Model = MODEL_NAME
AnimationMode = ONCE_BACKWARDS
Flags = START_FRAME_FIRST
Turret = Turret
WeaponFireFXBone = PRIMARY Turret
WeaponRecoilBone = PRIMARY Barrel
WeaponMuzzleFlash = PRIMARY TURRETFX
WeaponLaunchBone = PRIMARY Turret
End
ConditionState = ENEMYNEAR
Model = MODEL_NAME
Turret = Turret
WeaponFireFXBone = PRIMARY Turret
WeaponRecoilBone = PRIMARY Barrel
WeaponMuzzleFlash = PRIMARY TURRETFX
WeaponLaunchBone = PRIMARY Turret
End
ConditionState = MOVING
Model = MODEL_NAME
Animation = MODEL_NAME.MODEL_NAME
AnimationMode = LOOP
AnimationSpeedFactorRange = 1.5 1.5
HideSubObject = BOX
TransitionKey = TRANS_Move
End
ConditionState = REALLYDAMAGED
Model = GVTitan_D
Turret = Turret
WeaponFireFXBone = PRIMARY Turret
WeaponRecoilBone = PRIMARY Barrel
WeaponMuzzleFlash = PRIMARY TURRETFX
WeaponLaunchBone = PRIMARY Turret
End
ConditionState = MOVING REALLYDAMAGED
Model = MODEL_NAME
Animation = MODEL_NAME.MODEL_NAME
AnimationMode = LOOP
AnimationSpeedFactorRange = 1.5 1.5
HideSubObject = BOX
TransitionKey = TRANS_Move
End
ConditionState = RUBBLE
Model = MODEL_NAME
Turret = Turret
WeaponFireFXBone = PRIMARY Turret
WeaponRecoilBone = PRIMARY Barrel
WeaponMuzzleFlash = PRIMARY TURRETFX
WeaponLaunchBone = PRIMARY Turret
End
ConditionState = DYING
Model = MODEL_NAME
Animation = MODEL_NAME.MODEL_NAME
AnimationMode = ONCE
AnimationSpeedFactorRange = 1.5 1.5
End
TrackMarks = EXMechTrack.tga
Dust = TechnicalDust
OkToChangeModelColor = Yes
End
0.o code
jep code.