home *** CD-ROM | disk | FTP | other *** search
/ Home Edutainment Collection 4: Games & Extensions / Aztech-HomeEdutainmentCollection-Vol4-3DGamesExtensions.iso / dck / dck.adf < prev    next >
Text File  |  1994-08-01  |  7KB  |  279 lines

  1. DCK automation definition file.
  2. Defines motifs and sector objects.
  3.  
  4. All lines in this file are ignored except those between and including lines
  5. starting with [.
  6.  
  7. Use DCKADF to compile this file.
  8.  
  9. *****************************************************************************
  10. * Motifs                                                                    *
  11. *****************************************************************************
  12.  
  13. DCK uses motifs as default textures and light values when creating new
  14. lines and sectors.  To set a motif, press Alt+M from the map editor.
  15.  
  16. When DCK looks for defaults in the motif, it will search the currently set
  17. motif and if it can't find what it's looking for, it will search the
  18. Default Motif (which MUST be the first motif here.)
  19.  
  20. No error-checking is done on this file (for valid textures, etc.)
  21.  
  22. [Motif]         Default
  23.  
  24.     TexNormal   STARTAN3
  25.     TexUpper    STARTAN3
  26.     TexLower    STARTAN3
  27.  
  28.     DoorBig     BIGDOOR2
  29.     DoorSmall   DOOR1
  30.     DoorTrak    DOORTRAK
  31.  
  32.     FloorTex    FLOOR4_8
  33.     CeilTex     CEIL3_5
  34.  
  35.     LightNormal 200
  36.     LightDarker 140
  37.     LightBrighter 230
  38.  
  39.     ; Optional -- Not used by DCK internally, but some of the sector
  40.     ; objects look for "TeleFloor" and "HurtFloor".
  41.  
  42.     TeleFloor   GATE1
  43.     HurtFloor   NUKAGE3
  44.  
  45. [End]
  46.  
  47. [Motif]         Medieval
  48.  
  49.     TexNormal   GSTONE1
  50.     TexUpper    GSTONE1
  51.     TexLower    GSTONE1
  52.  
  53.     DoorBig     BIGDOOR7
  54.     DoorSmall   DOOR3
  55.     DoorTrak    SUPPORT3
  56.  
  57.     FloorTex    DEM1_5
  58.     CeilTex     CEIL3_5
  59.  
  60.     LightNormal 180
  61.     LightDarker 120
  62.     LightBrighter   220
  63.  
  64. [End]
  65.  
  66. [Motif]         Grey_Modern
  67.  
  68.     TexNormal   GRAY7
  69.     TexUpper    GRAY7
  70.     TexLower    GRAY7
  71.  
  72.     DoorBig     BIGDOOR2
  73.     DoorSmall   BIGDOOR4
  74.     DoorTrak    DOORTRAK
  75.  
  76.     FloorTex    FLOOR0_5
  77.     CeilTex     FLAT18
  78.  
  79.     LightNormal 220
  80.     LightDarker 200
  81.     LightBrighter   230
  82.  
  83. [End]
  84.  
  85. [Motif]         Hot_Stuph
  86.  
  87.     TexNormal   ROCKRED1
  88.     TexUpper    ROCKRED1
  89.     TexLower    ROCKRED1
  90.  
  91.     DoorBig     BIGDOOR5
  92.     DoorSmall   DOOR3
  93.     DoorTrak    DOORTRAK
  94.  
  95.     FloorTex    FLOOR6_1
  96.     CeilTex     FLOOR7_1
  97.  
  98.     LightNormal 140
  99.     LightDarker 120
  100.     LightBrighter   165
  101.  
  102. [End]
  103.  
  104. [Motif]         Ocean
  105.  
  106.     TexNormal   SP_ROCK1
  107.     TexUpper    SP_ROCK1
  108.     TexLower    SP_ROCK1
  109.  
  110.     FloorTex    FWATER1
  111.     CeilTex     FLOOR6_2
  112.  
  113.     LightNormal 200
  114.  
  115. [End]
  116.  
  117. [Motif]         HELL
  118.  
  119.     TexNormal   FIREWALL
  120.     TexUpper    SUPPORT3
  121.     TexLower    SUPPORT3
  122.  
  123.     DoorBig     BIGDOOR7
  124.     DoorSmall   DOOR3
  125.     DoorTrak    SUPPORT3
  126.  
  127.     FloorTex    FLOOR6_1
  128.     CeilTex     BLOOD1
  129.  
  130.     LightNormal 140
  131.  
  132. [End]
  133.  
  134. [Motif]         Brown
  135.  
  136.     TexNormal   BROWNHUG
  137.     TexUpper    METAL
  138.     TexLower    METAL
  139.  
  140.     DoorBig     BIGDOOR5
  141.     DoorSmall   DOOR3
  142.     DoorTrak    SUPPORT3
  143.  
  144.     FloorTex    FLOOR7_1
  145.     CeilTex     FLOOR7_1
  146.  
  147.     LightNormal 180
  148.  
  149. [End]
  150.  
  151. [Motif]         Metal1
  152.  
  153.     TexNormal   METAL1
  154.     TexUpper    METAL1
  155.     TexLower    METAL1
  156.  
  157.     DoorBig     BIGDOOR2
  158.     DoorSmall   DOOR3
  159.     DoorTrak    DOORTRAK
  160.  
  161.     FloorTex    MFLR8_1
  162.     CeilTex     MFLR8_1
  163.  
  164.     LightNormal 180
  165.  
  166. [End]
  167.  
  168. *****************************************************************************
  169. * Sector objects                                                            *
  170. *****************************************************************************
  171.  
  172. Can be accessed in DCK with Alt+O.  Each object is applied "top-down" to
  173. the sector.  Following is a command reference:
  174.  
  175.  Command   <Parameter 1>   <Parameter 2>
  176.  
  177. Each parameter is one of:
  178.  
  179.  1) A string, ie: STARTAN3.  Case does not matter.  You can also use the
  180.     values of the current motif with 'variables': Use $M_xxx, where xxx is
  181.     the name of one of the commands in the motif.  For example:
  182.  
  183.       FloorTex $M_HurtFloor
  184.  
  185.     Would look for the command "HurtFloor" in the motif and replace it with
  186.     the value of the command.
  187.  
  188.  2) An integer, ie: 97, -24.
  189.  
  190.  3) A relativity command, which means "add the value of this to the second
  191.     parameter."  Valid relativities are:
  192.  
  193.       Ceil : Add the value of the sector's ceiling
  194.       Floor: Add the value of the sector's floor
  195.       Adjac: Add the value of the appropriate parent sector value.  eg:
  196.              Floor Adjac +8   Would set the floor to [parent's value]+8
  197.              Light Adjac -50  Would set the light to [parent's value]-50
  198.       Real : Don't add anything.
  199.  
  200.  4) None means the command doesn't take any parameters.
  201.  
  202. Here are the commands:
  203.  
  204.  Floor         Relativity     Integer
  205.     Sets the floor height of the sector.
  206.  
  207.  FloorTex      String
  208.     Sets the floor texture of the sector.
  209.  
  210.  Ceil          Relativity     Integer
  211.     Sets the ceiling height of the sector.
  212.  
  213.  CeilTex       Relativity     Integer
  214.     Sets the ceiling texture of the sector.
  215.  
  216.  Light         Relativity     Integer
  217.     Sets the light value of the sector.
  218.  
  219.  SecType       Integer
  220.     Sets the sector's type.
  221.  
  222.  BLineType     Integer
  223.     Sets all of the sector's borderlines to the supplied type.
  224.  
  225.  BLineLTex     String
  226.     Sets the lower texture of all sidedefs bordering the sector.
  227.  
  228.  BLineUTex     String
  229.     Sets the upper texture of all sidedefs bordering the sector.
  230.  
  231.  BLineFTex     String
  232.     Sets the full texture of all sidedefs bordering the sector.
  233.  
  234.  SecFindTag    None
  235.     Finds a new sector tag and gives it to the sector.
  236.  
  237.  BLineSetTag   None
  238.     Sets all borderlines to have the same tag as the sector.
  239.  
  240.  ObjInsert     Integer
  241.     Inserts the specified THING in the center of the sector.
  242.  
  243. *****************************************************************************
  244. * Sector objects begin here                                                 *
  245. *****************************************************************************
  246.  
  247. [SectObject]    Teleporter
  248.  
  249.     Floor       Adjac   8       ; Relative height
  250.     FloorTex    $M_TeleFloor    ; Use the current motif's teleport floor
  251.     Light       Adjac   25      ; Relative light value
  252.     BLineType   97              ; Borderline type (WR teleporter)
  253.     ObjInsert   14              ; Inserts this at the center of the sector
  254.     BLineLTex   $M_TexLower
  255.     SecFindTag                  ; Find a sector tag
  256.     BLineSetTag                 ; That'll set THAT tag to the borderlines
  257.     SecFindTag                  ; Find *another* tag to make this a
  258.                                 ; destination
  259.  
  260. [End]
  261.  
  262. [SectObject]    Acid_Pool
  263.  
  264.     Floor       Adjac   -24
  265.     FloorTex    $M_HurtFloor
  266.     SecType     7
  267.     BLineLTex   NUKE24
  268.  
  269. [End]
  270.  
  271. [SectObject]    Crushing_Block
  272.  
  273.     SecFindTag                  ; Find a sector tag
  274.     BLineSetTag                 ; Set all the surrounding lines to the tag
  275.     BLineUTex   $M_TexUpper
  276.     BLineType   77              ; Fast crush, slow damage (WR)
  277.  
  278. [End]
  279.