Site:
 News/Home
 CNC Guild Forums
 Submissions
 Contact Staff
 
 Downloads:
 Voxels:
 Aircraft
 Ground
 Naval
 Voxel Comp ´06

 SHPs:
 Infantry
 Buildings
 Animation
 Other

 Icons:
 Packs
 Buildings
 Armored
 Infantry

 Maps:
 RA2 Mp maps
 RA2 Sp maps
 YR Mp maps
 YR Sp maps
 Other

 Other:
 paFileDB
 GFX Packs
 TSGFX Packs
 Tutorials
 Utilities
 Mods
 Sounds
 
 Recommended Downloads:
 Ares
 
RA2 Missions Argentina -English-

Make a subterrainean unit
Submitted by ArgCmdr


I know this is explained everywhere, but i need it here so i can refer people to this tut (which should be short enough for them to understand correctly). Plus, im bored to death.

What you need:

Dig Animation


Basically youll need to:

Add a DIG entry in art.ini
Make unit use subterrainean locomotor
Attach DIG animation to dig action

First off, lets suppose you have coded your unit. The only things you have to change, basically (others may be needed for certain purposes, but this just shows how to make a unit go underground...), are:

Locomotor={4A582743-9839-11d1-B709-00A024DDAFD1}
MovementZone=Subterranean

Then, hop to [AudioVisual], and change:

DigSound= ; to whatever sound you want to use. Include the old TS one if you see it fit.
Dig=DIG

Add DIG to the end of the animations list, i.e:

[Animations]
1500=DIG

Save & Close rulesmd.ini / rules.ini

Open artmd.ini / art.ini

Add this somewhere:

[DIG]

There you go, all you need to do is add DIG.SHP to a mix file, or in the launcher, and it should basically work.

*Notice that in RA2, the Nuke Siren is linked to the DigSound= and you have to work it around by giving animations a Report= line in art.ini*

> Back to Tutorials

Favourites: 
Ares 
Mental Omega 
raminator CnC 
Sleipnir's Stuff 
Wagnerma.de 
 
Webmaster: 
Nighthawk 
 
Affiliates: 
CNC Guild 
Project Perfect Mod 
CNC Source 
Sudden Strike 
C&C Reloaded 
Revora Frontpage 
Revora Hosting 

This site is best viewed at 1024x786  
Aqua Arg site design created by Mig Eater © 1999-2006 Team Revenge  
Should there be any problems with the site, please contact the current webmaster