Skip to content

RTS Directives

dashodanger edited this page Dec 15, 2021 · 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.
#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. Original RTS Docs from EDGE Engine Home Page. EDGE Classic updates by Yamato. Problems with the docs, errors and comments should be directed to the Yamato at DoomWorld Forums or Arcades3d.net forum.

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