User Tools

Site Tools


ded:include

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

ded:include [2017-03-16 09:23] (current)
skyjake
Line 1: Line 1:
 +====== Include directive ======
 +
 +===== Syntax =====
 +
 +  Include "​filepath"​
 +  ​
 +  IncludeIf [Not] -option|gamemode "​filepath"​
 +
 +The Include directive causes the parser to read the specified DED file. The contents of the included file are read immediately after the directive has been parsed.
 +
 +
 +===== Examples =====
 +
 +  Include "​Other.ded"​
 +
 +Include if the command line option ''​-texcomp''​ is not found on the command line:
 +  IncludeIf Not -texcomp "​skin1.ded"​
 +
 +Include if the ID of the current game matches ''​doom1-ultimate'':​
 +  IncludeIf doom1-ultimate "​udoomlights.ded"​
 +
  
ded/include.txt ยท Last modified: 2017-03-16 09:23 by skyjake