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

Report article 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 MrTaxikiller 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

Post comment Comments
BigCheese256
BigCheese256 May 26 2009, 4:39pm says:

0.o code

+1 vote     reply to comment
MrTaxikiller
MrTaxikiller May 26 2009, 6:01pm replied:

jep code.

+3 votes     reply to comment
Post a Comment
click to sign in

You are not logged in, your comment will be anonymous unless you join the community today (totally free - or sign in with your social account on the right) which we encourage all contributors to do.

2000 characters limit; HTML formatting and smileys are not supported - text only

Established
Oct 5, 2009
Privacy
Public
Subscription
Open to all members
Contact
Send Message
Email
Members Only
Membership
Join this group
Group Watch
Track this group
Tutorial
Browse
Tutorials
Report Abuse
Report article
Related Mods
Command & Conquer Generals Version 2.0 (C&C Generals: Zero Hour)
Command & Conquer Generals Version 2.0 C&C Generals: Zero Hour - Single & Multiplayer Real Time Strategy
Related Games
C&C Generals: Zero Hour
C&C Generals: Zero Hour Single & Multiplayer Real Time Strategy
Related Groups
C&C Paradise
C&C Paradise Fans & Clans group with 1,451 members
SAGE 2D & 3D fans
SAGE 2D & 3D fans Fans & Clans group with 1,332 members