Stored in the anims.ddf file or in the DDFANIM data lump.
Anims.ddf allows you to change floor and ceiling animation or wall animation sequences. Each entry consists of a unique name, enclosed in square brackets, plus a series of commands that specify the first and last frames of the animation, as well as how frequently it changes.
Names should be descriptive, but are used in the map editor when adding animations to your maps, so should be no longer than 8 characters (without spaces).
The commands used for animation entries are as follows:
Either 'FLAT' for a floor texture animation, or 'TEXTURE' for a wall texture animation.
The first texture in the animation -- Refer to name of entry in wadfile.
The last texture in the animation -- Refer to name of entry in wadfile.
The time to display each frame in tics(T). Where 8T is normal Doom speed and 4T is double normal speed.
Use it to specify the full animation sequence. Names cannot be used twice.
The full animation sequence consists of all the flats / textures in the WAD file between the first and last entry.
You should make sure that you don't muddle up your entries in the wad:
If you don't do your flats/ textures properly, 3DGE will give you an error message.
You can also use quotes around names with an underscore in it:
[MY_ANIM] TYPE = FLAT; FIRST = "MY_AN_1"; LAST = "MY_AN_2"; SPEED = 8T;
If you leave out the quotes, DDF converts an underscore to a space, so the name MY_AN_1 would be read as "MY AN 1". The other obvious solution is to never use an underscore in texture names you plan on animating.
| //Flat Animation Entry |
TYPE = FLAT;
LAST = "NUKAGE3";
| //Texture Animation Entry |
TYPE = TEXTURE;
LAST = "BLODGR4";
|Doom Definition Files|
|Current DDF Types|
|Abandoned DDF TYPES (DOSDoom & EDGE)|