Skip to content

RTS Directives

Lobo edited this page Jul 5, 2024 · 2 revisions

Directives are lines which begin with a '#' character, immediately followed by the directive name. These are used to specify something very special about the script, e.g. the EDGE-Classic version which the script needs.

Directives should be placed at the beginning of your scripts, before everything else (e.g. start_map). It is OK though to have comments before the directives.

Commands


COMMAND ARGUMENTS DESCRIPTION DETAILS
#CLEAR_ALL It clears all scripts that are contained within the DOOM or DOOM2 game that might mess up your map and script. NOTE: if you put #CLEAR_ALL in the middle of your script, all scripts above this point will be cleared. For this reason it should be placed at the top of your script.
#CLEAR_MAP <MapName> It clears all scripts that are associated with a given map. For example, DOOM2 MAP07's functions that lower the four outer walls and raise the exit step being triggered by certain monsters deaths probably wouldn't be good to have if map07 in your TC doesn't need this effect.
#VERSION This entry specifies the version of EDGE that the RTS is for. It should be at the top of your script, but below #CLEAR_ALL (if used).
#DEFINE <identifier> <value> This is used to define things to use globally in your script. It should be at the top of your script, but below #CLEARALL (if used). The <identifier> is any name up to 80 characters long.
The <value> could be an offset value for your RTS tips.




_RTS docs written by many contributors. _

Home

EDGE-Classic Mod Downloads

COAL

DDF     Introduction
    Animations
    Attacks
    Colormaps
    Flats
    Fonts
    Games
    Images
    Languages
    Levels
    Lines and Sectors
    Playlist
    Sounds
    Styles
    Switches
    Things
    Weapons
RTS     Introduction
    Conditions
    Directives
    Flow Control
    Level Commands
    Maps and Triggers
    Properties
    Thing Commands
    Tips and Menus
Tutorials     Creating a Weapon
    Creating an Enemy
    Creating a Friendly Creature

Compiling EDGE-Classic

Clone this wiki locally