switch.ddf

Stored in switch.ddf. Lump is DDFSWTH. Names are descriptive (but should be unique).

This file allows you to define switch textures.

COMMANDTYPEEXPLANATION
ON_TEXTURE[string] The texture shown when the switch is 'on'
OFF_TEXTURE[string] The texture shown when the switch is 'off'
SOUND[sound] The sound the switch makes when you use it.

* Note that exit-level switches always use the [SWTCHX] sound.

Example:

[SW1BRCOM]
ON_TEXTURE = "SW1BRCOM";
OFF_TEXTURE = "SW2BRCOM";
SOUND = SWTCHN;

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.