animations.ddf

Stored in anims.ddf. Lump is DDFANIM. Names are descriptive (but should be unique).

Anims.ddf allows you to change floor, ceiling or wall animation sequences. You set up the animation sequence by specifying the first and last frames of the animation. You provide the name of either two flats (64x64 tiled graphics) or two textures.

The full animation sequence is made up of all the flats / textures between the start and end entry, in the order found in the WAD file.

You should make sure that you don't muddle up you flats / textures in the wad.

E.g
MYANIMA
MYANIMB
MYANIMC

rather than

MYANIMB
MYANIMA
MYANIMC

If you don't do your flats/ textures properly, EDGE will give you an error message.

COMMANDTYPEEXPLANATION
TYPE[special] Either 'FLAT' for a floor texture animation, or 'TEXTURE' for a wall texture animation.
FIRST[string] The first texture in the animation.
LAST[string] The last texture in the animation.
SPEED[time] The time to display each frame.

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.

A note about the tics value

	1T is super fast
	4T is twice normal DOOM animation speed
	8T is normal DOOM animation speed
	16T is half normal DOOM animation speed

Example:

[NUKAGE1]
TYPE = FLAT; // floor or ceiling animation
FIRST = "NUKAGE1";
LAST = "NUKAGE3";
SPEED = 8T;

[WALL_BLUE]
TYPE = TEXTURE; // wall animation
FIRST = "TEXTURE1";
LAST = "TEXTURE3";
SPEED = 8T;

back to top

DDF docs written by Andy Baker and Ziggy Gnarly, with updates by Andrew Apted.
Site design by Fanatic (with graphics and modifications by Ziggy Gnarly). Problems with the docs, errors and comments should be directed to the EDGE team.

© EDGE Team 1998, 1999, 2000.