Post tutorial RSS [GEN - ZH] Mech's working

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 on - 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

Comments
BigCheese256
BigCheese256

0.o code

Reply Good karma Bad karma+1 vote
MrTimm Author
MrTimm

jep code.

Reply Good karma+3 votes
Post a comment
Sign in or join with:

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.