For fans of C&C, BFME and Dune games, plus every game using one of the universes as its battleground.

Post tutorial Report content RSS feed [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

Post comment 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

You are not logged in, your comment will be anonymous unless you join the community. Or sign in with your social account:

Established
Privacy
Public
Subscription
Open to all members
Contact
Send Message
Membership
Join group
Group watch
Start tracking
Tutorial
Browse
Tutorials
Share
Related Games
C&C Generals: Zero Hour
C&C Generals: Zero Hour Real Time Strategy
Related Groups
C&C Paradise
C&C Paradise Fans & Clans with 1,521 members
SAGE 2D & 3D fans
SAGE 2D & 3D fans Fans & Clans with 1,350 members