PDA

View Full Version : {Research} Unit models and and respective Textures



liger
02-20-2003, 09:06 PM
Decided to get a little busy today and look into the texture filenames with reference to their models. Heres what I came up with.

As you know the game has 3 states for units.

1. New / Little Damaged
2. Damaged
3. Destroyed

The first two models for textures are pretty much self explanitory, 1 model file for 1 texture. The last one is a little differnt because when a unit die in the game, its main pieces blow up and and scattered. Therefore they need to be seperate models so the physics engine can manipulate them individually. However only 1 texture file is needed and the pieces can be deformed in any way you wish.

DeeZire
02-21-2003, 06:24 AM
Useful thanks! The _d1 state is always used for the 'hulk' of the unit when destroyed. Every unit has another declaration in the FactionUnit.INI file - in the Crusader case its DeadCrusaderHulk. When the unit is destroyed, one of the things ObjectCreationList.INI does is crate that object while removing the Crusader itself.