home *** CD-ROM | disk | FTP | other *** search
/ Phenomenon / Phenomenon.iso / quake / making / examples / maps / plat1 / plat1.map < prev    next >
Encoding:
Text File  |  1996-09-21  |  12.0 KB  |  290 lines

  1. //
  2. //  Simple test for a single moving platform
  3. //
  4. //  The room is a single L-shape with a pit down the middle with
  5. //  lava in it.  Its layout is not really important, but serves to
  6. //  help illustrate the use of moving objects.
  7. //
  8. //  The level contains one moving object:  A platform which floats
  9. //  over the pit and moves quickly from one end to the other.
  10. //
  11. {
  12.   //
  13.   // Define the actual room itself.  Basically a traditional inverted L.
  14.   //
  15.   "classname" "worldspawn"
  16.   "wad" "F:\QUAKEAPP\QUEST\GFX\MEDIEVAL.WAD"
  17.   "light" "200"
  18.   {
  19.     ( 1 1 128 ) ( 1 -1 128 ) ( -1 -1 128 ) city5_8 0 0 0 1.0000 1.0000
  20.     ( -1 -128 1 ) ( 1 -128 1 ) ( 1 -128 -1 ) city5_8 0 0 0 1.0000 1.0000
  21.     ( 676 -1 1 ) ( 676 1 1 ) ( 676 1 -1 ) city5_8 0 0 0 1.0000 1.0000
  22.     ( 1 128 1 ) ( -1 128 1 ) ( -1 128 -1 ) city5_8 0 0 0 1.0000 1.0000
  23.     ( 612 1 1 ) ( 612 -1 1 ) ( 612 -1 -1 ) city5_8 0 0 0 1.0000 1.0000
  24.     ( 1 -1 -128 ) ( 1 1 -128 ) ( -1 1 -128 ) city5_8 0 0 0 1.0000 1.0000
  25.   }
  26.   {
  27.     ( 1 1 128 ) ( 1 -1 128 ) ( -1 -1 128 ) city5_8 0 0 0 1.0000 1.0000
  28.     ( -1 -128 1 ) ( 1 -128 1 ) ( 1 -128 -1 ) city5_8 0 0 0 1.0000 1.0000
  29.     ( -412 -1 1 ) ( -412 1 1 ) ( -412 1 -1 ) city5_8 0 0 0 1.0000 1.0000
  30.     ( 1 128 1 ) ( -1 128 1 ) ( -1 128 -1 ) city5_8 0 0 0 1.0000 1.0000
  31.     ( -476 1 1 ) ( -476 -1 1 ) ( -476 -1 -1 ) city5_8 0 0 0 1.0000 1.0000
  32.     ( 1 -1 -128 ) ( 1 1 -128 ) ( -1 1 -128 ) city5_8 0 0 0 1.0000 1.0000
  33.   }
  34.   {
  35.     ( 1 1 128 ) ( 1 -1 128 ) ( -1 -1 128 ) city5_8 0 0 0 1.0000 1.0000
  36.     ( -1 128 1 ) ( 1 128 1 ) ( 1 128 -1 ) city5_8 0 0 0 1.0000 1.0000
  37.     ( 612 -1 1 ) ( 612 1 1 ) ( 612 1 -1 ) city5_8 0 0 0 1.0000 1.0000
  38.     ( 1 192 1 ) ( -1 192 1 ) ( -1 192 -1 ) city5_8 0 0 0 1.0000 1.0000
  39.     ( -412 1 1 ) ( -412 -1 1 ) ( -412 -1 -1 ) city5_8 0 0 0 1.0000 1.0000
  40.     ( 1 -1 -128 ) ( 1 1 -128 ) ( -1 1 -128 ) city5_8 0 0 0 1.0000 1.0000
  41.   }
  42.   {
  43.     ( 1 1 128 ) ( 1 -1 128 ) ( -1 -1 128 ) city5_8 0 0 0 1.0000 1.0000
  44.     ( -1 -192 1 ) ( 1 -192 1 ) ( 1 -192 -1 ) city5_8 0 0 0 1.0000 1.0000
  45.     ( 612 -1 1 ) ( 612 1 1 ) ( 612 1 -1 ) city5_8 0 0 0 1.0000 1.0000
  46.     ( 1 -128 1 ) ( -1 -128 1 ) ( -1 -128 -1 ) city5_8 0 0 0 1.0000 1.0000
  47.     ( -156 1 1 ) ( -156 -1 1 ) ( -156 -1 -1 ) city5_8 0 0 0 1.0000 1.0000
  48.     ( 1 -1 -128 ) ( 1 1 -128 ) ( -1 1 -128 ) city5_8 0 0 0 1.0000 1.0000
  49.   }
  50.   {
  51.     ( 1 1 192 ) ( 1 -1 192 ) ( -1 -1 192 ) city5_8 0 0 0 1.0000 1.0000
  52.     ( -1 -128 1 ) ( 1 -128 1 ) ( 1 -128 -1 ) city5_8 0 0 0 1.0000 1.0000
  53.     ( 612 -1 1 ) ( 612 1 1 ) ( 612 1 -1 ) city5_8 0 0 0 1.0000 1.0000
  54.     ( 1 128 1 ) ( -1 128 1 ) ( -1 128 -1 ) city5_8 0 0 0 1.0000 1.0000
  55.     ( -412 1 1 ) ( -412 -1 1 ) ( -412 -1 -1 ) city5_8 0 0 0 1.0000 1.0000
  56.     ( 1 -1 128 ) ( 1 1 128 ) ( -1 1 128 ) city5_8 0 0 0 1.0000 1.0000
  57.   }
  58.   {
  59.     ( 1 1 -128 ) ( 1 -1 -128 ) ( -1 -1 -128 ) city5_8 0 0 0 1.0000 1.0000
  60.     ( -1 -128 1 ) ( 1 -128 1 ) ( 1 -128 -1 ) city5_8 0 0 0 1.0000 1.0000
  61.     ( 612 -1 1 ) ( 612 1 1 ) ( 612 1 -1 ) city5_8 0 0 0 1.0000 1.0000
  62.     ( -200 1 1 ) ( -200 -1 1 ) ( -200 -1 -1 ) city5_8 0 0 0 1.0000 1.0000
  63.     ( 1 -1 -192 ) ( 1 1 -192 ) ( -1 1 -192 ) city5_8 0 0 0 1.0000 1.0000
  64.     ( 1 -64 1 ) ( -1 -64 1 ) ( -1 -64 -1 ) city5_8 0 0 0 1.0000 1.0000
  65.   }
  66.   {
  67.     ( 1 1 -128 ) ( 1 -1 -128 ) ( -1 -1 -128 ) city5_8 0 0 0 1.0000 1.0000
  68.     ( 612 -1 1 ) ( 612 1 1 ) ( 612 1 -1 ) city5_8 0 0 0 1.0000 1.0000
  69.     ( 1 128 1 ) ( -1 128 1 ) ( -1 128 -1 ) city5_8 0 0 0 1.0000 1.0000
  70.     ( 1 -1 -192 ) ( 1 1 -192 ) ( -1 1 -192 ) city5_8 0 0 0 1.0000 1.0000
  71.     ( -1 -64 1 ) ( 1 -64 1 ) ( 1 -64 -1 ) city5_8 0 0 0 1.0000 1.0000
  72.     ( 372 1 1 ) ( 372 -1 1 ) ( 372 -1 -1 ) city5_8 0 0 0 1.0000 1.0000
  73.   }
  74.   {
  75.     ( 1 1 -128 ) ( 1 -1 -128 ) ( -1 -1 -128 ) city5_8 0 0 0 1.0000 1.0000
  76.     ( 1 128 1 ) ( -1 128 1 ) ( -1 128 -1 ) city5_8 0 0 0 1.0000 1.0000
  77.     ( -412 1 1 ) ( -412 -1 1 ) ( -412 -1 -1 ) city5_8 0 0 0 1.0000 1.0000
  78.     ( 1 -1 -192 ) ( 1 1 -192 ) ( -1 1 -192 ) city5_8 0 0 0 1.0000 1.0000
  79.     ( 372 -1 1 ) ( 372 1 1 ) ( 372 1 -1 ) city5_8 0 0 0 1.0000 1.0000
  80.     ( -1 64 1 ) ( 1 64 1 ) ( 1 64 -1 ) city5_8 0 0 0 1.0000 1.0000
  81.   }
  82.   {
  83.     ( 1 1 -128 ) ( 1 -1 -128 ) ( -1 -1 -128 ) city5_8 0 0 0 1.0000 1.0000
  84.     ( -412 1 1 ) ( -412 -1 1 ) ( -412 -1 -1 ) city5_8 0 0 0 1.0000 1.0000
  85.     ( 1 -1 -192 ) ( 1 1 -192 ) ( -1 1 -192 ) city5_8 0 0 0 1.0000 1.0000
  86.     ( -1 -128 1 ) ( 1 -128 1 ) ( 1 -128 -1 ) city5_8 0 0 0 1.0000 1.0000
  87.     ( 1 64 1 ) ( -1 64 1 ) ( -1 64 -1 ) city5_8 0 0 0 1.0000 1.0000
  88.     ( -364 -1 1 ) ( -364 1 1 ) ( -364 1 -1 ) city5_8 0 0 0 1.0000 1.0000
  89.   }
  90.   {
  91.     ( 1 1 128 ) ( 1 -1 128 ) ( -1 -1 128 ) city5_8 0 0 0 1.0000 1.0000
  92.     ( -1 -1320 1 ) ( 1 -1320 1 ) ( 1 -1320 -1 ) city5_8 0 0 0 1.0000 1.0000
  93.     ( -140 -1 1 ) ( -140 1 1 ) ( -140 1 -1 ) city5_8 0 0 0 1.0000 1.0000
  94.     ( 1 -128 1 ) ( -1 -128 1 ) ( -1 -128 -1 ) city5_8 0 0 0 1.0000 1.0000
  95.     ( -156 1 1 ) ( -156 -1 1 ) ( -156 -1 -1 ) city5_8 0 0 0 1.0000 1.0000
  96.     ( 1 -1 -128 ) ( 1 1 -128 ) ( -1 1 -128 ) city5_8 0 0 0 1.0000 1.0000
  97.   }
  98.   {
  99.     ( 1 1 128 ) ( 1 -1 128 ) ( -1 -1 128 ) city5_8 0 0 0 1.0000 1.0000
  100.     ( -1 -1320 1 ) ( 1 -1320 1 ) ( 1 -1320 -1 ) city5_8 0 0 0 1.0000 1.0000
  101.     ( -412 -1 1 ) ( -412 1 1 ) ( -412 1 -1 ) city5_8 0 0 0 1.0000 1.0000
  102.     ( 1 -128 1 ) ( -1 -128 1 ) ( -1 -128 -1 ) city5_8 0 0 0 1.0000 1.0000
  103.     ( -484 1 1 ) ( -484 -1 1 ) ( -484 -1 -1 ) city5_8 0 0 0 1.0000 1.0000
  104.     ( 1 -1 -128 ) ( 1 1 -128 ) ( -1 1 -128 ) city5_8 0 0 0 1.0000 1.0000
  105.   }
  106.   {
  107.     ( 1 1 128 ) ( 1 -1 128 ) ( -1 -1 128 ) city5_8 0 0 0 1.0000 1.0000
  108.     ( -1 -1336 1 ) ( 1 -1336 1 ) ( 1 -1336 -1 ) city5_8 0 0 0 1.0000 1.0000
  109.     ( -156 -1 1 ) ( -156 1 1 ) ( -156 1 -1 ) city5_8 0 0 0 1.0000 1.0000
  110.     ( 1 -1320 1 ) ( -1 -1320 1 ) ( -1 -1320 -1 ) city5_8 0 0 0 1.0000 1.0000
  111.     ( -412 1 1 ) ( -412 -1 1 ) ( -412 -1 -1 ) city5_8 0 0 0 1.0000 1.0000
  112.     ( 1 -1 -128 ) ( 1 1 -128 ) ( -1 1 -128 ) city5_8 0 0 0 1.0000 1.0000
  113.   }
  114.   {
  115.     ( 1 1 144 ) ( 1 -1 144 ) ( -1 -1 144 ) city5_8 0 0 0 1.0000 1.0000
  116.     ( -1 -1320 1 ) ( 1 -1320 1 ) ( 1 -1320 -1 ) city5_8 0 0 0 1.0000 1.0000
  117.     ( -156 -1 1 ) ( -156 1 1 ) ( -156 1 -1 ) city5_8 0 0 0 1.0000 1.0000
  118.     ( 1 -128 1 ) ( -1 -128 1 ) ( -1 -128 -1 ) city5_8 0 0 0 1.0000 1.0000
  119.     ( -412 1 1 ) ( -412 -1 1 ) ( -412 -1 -1 ) city5_8 0 0 0 1.0000 1.0000
  120.     ( 1 -1 128 ) ( 1 1 128 ) ( -1 1 128 ) city5_8 0 0 0 1.0000 1.0000
  121.   }
  122.   {
  123.     ( 1 1 -128 ) ( 1 -1 -128 ) ( -1 -1 -128 ) city5_8 0 0 0 1.0000 1.0000
  124.     ( -1 -1320 1 ) ( 1 -1320 1 ) ( 1 -1320 -1 ) city5_8 0 0 0 1.0000 1.0000
  125.     ( 1 -128 1 ) ( -1 -128 1 ) ( -1 -128 -1 ) city5_8 0 0 0 1.0000 1.0000
  126.     ( -412 1 1 ) ( -412 -1 1 ) ( -412 -1 -1 ) city5_8 0 0 0 1.0000 1.0000
  127.     ( 1 -1 -192 ) ( 1 1 -192 ) ( -1 1 -192 ) city5_8 0 0 0 1.0000 1.0000
  128.     ( -364 -1 1 ) ( -364 1 1 ) ( -364 1 -1 ) city5_8 0 0 0 1.0000 1.0000
  129.   }
  130.   {
  131.     ( 1 1 -128 ) ( 1 -1 -128 ) ( -1 -1 -128 ) city5_8 0 0 0 1.0000 1.0000
  132.     ( -1 -1320 1 ) ( 1 -1320 1 ) ( 1 -1320 -1 ) city5_8 0 0 0 1.0000 1.0000
  133.     ( -156 -1 1 ) ( -156 1 1 ) ( -156 1 -1 ) city5_8 0 0 0 1.0000 1.0000
  134.     ( 1 -1 -192 ) ( 1 1 -192 ) ( -1 1 -192 ) city5_8 0 0 0 1.0000 1.0000
  135.     ( -364 1 1 ) ( -364 -1 1 ) ( -364 -1 -1 ) city5_8 0 0 0 1.0000 1.0000
  136.     ( 1 -1128 1 ) ( -1 -1128 1 ) ( -1 -1128 -1 ) city5_8 0 0 0 1.0000 1.0000
  137.   }
  138.   {
  139.     ( 1 1 -128 ) ( 1 -1 -128 ) ( -1 -1 -128 ) city5_8 0 0 0 1.0000 1.0000
  140.     ( -156 -1 1 ) ( -156 1 1 ) ( -156 1 -1 ) city5_8 0 0 0 1.0000 1.0000
  141.     ( 1 -128 1 ) ( -1 -128 1 ) ( -1 -128 -1 ) city5_8 0 0 0 1.0000 1.0000
  142.     ( 1 -1 -192 ) ( 1 1 -192 ) ( -1 1 -192 ) city5_8 0 0 0 1.0000 1.0000
  143.     ( -1 -1128 1 ) ( 1 -1128 1 ) ( 1 -1128 -1 ) city5_8 0 0 0 1.0000 1.0000
  144.     ( -200 1 1 ) ( -200 -1 1 ) ( -200 -1 -1 ) city5_8 0 0 0 1.0000 1.0000
  145.   }
  146.   //
  147.   // Fill in the bottom of the pit with metal
  148.   //
  149.   {
  150.     ( 1 1 -188 ) ( 1 -1 -188 ) ( -1 -1 -188 ) metal2_2 0 0 0 1.0000 1.0000
  151.     ( -1 -68 1 ) ( 1 -68 1 ) ( 1 -68 -1 ) metal2_2 0 0 0 1.0000 1.0000
  152.     ( 380 -1 1 ) ( 380 1 1 ) ( 380 1 -1 ) metal2_2 0 0 0 1.0000 1.0000
  153.     ( 1 68 1 ) ( -1 68 1 ) ( -1 68 -1 ) metal2_2 0 0 0 1.0000 1.0000
  154.     ( -368 1 1 ) ( -368 -1 1 ) ( -368 -1 -1 ) metal2_2 0 0 0 1.0000 1.0000
  155.     ( 1 -1 -196 ) ( 1 1 -196 ) ( -1 1 -196 ) metal2_2 0 0 0 1.0000 1.0000
  156.   }
  157.   {
  158.     ( 1 1 -188 ) ( 1 -1 -188 ) ( -1 -1 -188 ) metal2_2 0 0 0 1.0000 1.0000
  159.     ( -364 1 1 ) ( -364 -1 1 ) ( -364 -1 -1 ) metal2_2 0 0 0 1.0000 1.0000
  160.     ( 1 -1 -196 ) ( 1 1 -196 ) ( -1 1 -196 ) metal2_2 0 0 0 1.0000 1.0000
  161.     ( -1 -1128 1 ) ( 1 -1128 1 ) ( 1 -1128 -1 ) metal2_2 0 0 0 1.0000 1.0000
  162.     ( 1 64 1 ) ( -1 64 1 ) ( -1 64 -1 ) metal2_2 0 0 0 1.0000 1.0000
  163.     ( -200 -1 1 ) ( -200 1 1 ) ( -200 1 -1 ) metal2_2 0 0 0 1.0000 1.0000
  164.   }
  165.   //
  166.   //  Put lava on top of the metal
  167.   //
  168.   {
  169.     ( 1 -1 -192 ) ( 1 1 -192 ) ( -1 1 -192 ) *lava1 0 0 0 1.0000 1.0000
  170.     ( -1 -64 1 ) ( 1 -64 1 ) ( 1 -64 -1 ) *lava1 0 0 0 1.0000 1.0000
  171.     ( 372 -1 1 ) ( 372 1 1 ) ( 372 1 -1 ) *lava1 0 0 0 1.0000 1.0000
  172.     ( 1 64 1 ) ( -1 64 1 ) ( -1 64 -1 ) *lava1 0 0 0 1.0000 1.0000
  173.     ( -364 1 1 ) ( -364 -1 1 ) ( -364 -1 -1 ) *lava1 0 0 0 1.0000 1.0000
  174.     ( 1 1 -172 ) ( 1 -1 -172 ) ( -1 -1 -172 ) *lava1 0 0 0 1.0000 1.0000
  175.   }
  176.   {
  177.     ( 1 1 -172 ) ( 1 -1 -172 ) ( -1 -1 -172 ) *lava1 0 0 0 1.0000 1.0000
  178.     ( -364 1 1 ) ( -364 -1 1 ) ( -364 -1 -1 ) *lava1 0 0 0 1.0000 1.0000
  179.     ( 1 -1 -192 ) ( 1 1 -192 ) ( -1 1 -192 ) *lava1 0 0 0 1.0000 1.0000
  180.     ( -1 -1128 1 ) ( 1 -1128 1 ) ( 1 -1128 -1 ) *lava1 0 0 0 1.0000 1.0000
  181.     ( 1 64 1 ) ( -1 64 1 ) ( -1 64 -1 ) *lava1 0 0 0 1.0000 1.0000
  182.     ( -200 -1 1 ) ( -200 1 1 ) ( -200 1 -1 ) *lava1 0 0 0 1.0000 1.0000
  183.   }
  184. }
  185. //
  186. //  Position the player at the western end of the L room (the short end)
  187. //
  188. {
  189.   "classname" "info_player_start"
  190.   "origin" "420 0 -92"
  191.   "angle" "174"
  192. }
  193. //
  194. //  Add light so we can see all the cool stuff in here
  195. //
  196. {
  197.   "classname" "light"
  198.   "origin" "-308 -1136 0"
  199.   "light" "255"
  200. }
  201. {
  202.   "classname" "light"
  203.   "origin" "-308 -744 0"
  204.   "light" "255"
  205. }
  206. {
  207.   "classname" "light"
  208.   "origin" "-308 -360 0"
  209.   "light" "255"
  210. }
  211. {
  212.   "classname" "light"
  213.   "origin" "-308 0 0"
  214.   "light" "255"
  215. }
  216. {
  217.   "classname" "light"
  218.   "origin" "-188 0 0"
  219.   "light" "255"
  220. }
  221. {
  222.   "classname" "light"
  223.   "origin" "84 0 0"
  224.   "light" "255"
  225. }
  226. {
  227.   "classname" "light"
  228.   "origin" "428 0 0"
  229.   "light" "255"
  230. }
  231. //
  232. //  Define the single moving platform.  A cube of metal, it moves from
  233. //  one end of the L to the other, changing direction in the middle.
  234. //
  235. //  It moves rather quickly; 192 is about the same speed as a running
  236. //  player.
  237. //
  238. //  It starts initially at the west (short) end of the L, the same
  239. //  as where the player sits.
  240. //
  241. {
  242.   "classname" "func_train"
  243.   "target" "westpos"
  244.   "sounds" "0"
  245.   "speed" "192"
  246.   {
  247.     ( -244 1 1 ) ( -244 -1 1 ) ( -244 -1 -1 ) metal1_8 0 0 0 1.0000 1.0000
  248.     ( -132 -1 1 ) ( -132 1 1 ) ( -132 1 -1 ) metal1_8 0 0 0 1.0000 1.0000
  249.     ( -1 -60 1 ) ( 1 -60 1 ) ( 1 -60 -1 ) metal1_8 0 0 0 1.0000 1.0000
  250.     ( 1 60 1 ) ( -1 60 1 ) ( -1 60 -1 ) metal1_8 0 0 0 1.0000 1.0000
  251.     ( 1 -1 -144 ) ( 1 1 -144 ) ( -1 1 -144 ) metal1_8 0 0 0 1.0000 1.0000
  252.     ( 1 1 -132 ) ( 1 -1 -132 ) ( -1 -1 -132 ) metal1_8 0 0 0 1.0000 1.0000
  253.   }
  254. }
  255. //
  256. //  The rules are as follows:  The platform starts at the west end (westpos),
  257. //  moves to the center (centerpos1), then to the north end (northpos), and
  258. //  last to the center again (centerpos2).  There are two center positions
  259. //  because each position tells the platform where to go next, so one is
  260. //  needed to tell it to go north, and the other to tell it to go west.
  261. //
  262. //  If the platform path is defined to go through a wall, the platform
  263. //  WILL GO THROUGH THE WALL.  Unfortunately the player will not, which
  264. //  is often painful.  :)
  265. //
  266. {
  267.   "classname" "path_corner"
  268.   "origin" "-336 -64 -150"
  269.   "targetname" "centerpos1"
  270.   "target" "northpos"
  271. }
  272. {
  273.   "classname" "path_corner"
  274.   "origin" "-336 -64 -150"
  275.   "targetname" "centerpos2"
  276.   "target" "westpos"
  277. }
  278. {
  279.   "classname" "path_corner"
  280.   "origin" "256 -64 -150"
  281.   "targetname" "westpos"
  282.   "target" "centerpos1"
  283. }
  284. {
  285.   "classname" "path_corner"
  286.   "origin" "-336 -1120 -150"
  287.   "targetname" "northpos"
  288.   "target" "centerpos2"
  289. }
  290.