home *** CD-ROM | disk | FTP | other *** search
/ Doom Game Editor / DoomGameEditorTheu.bin / renegade / teleport.tut < prev    next >
Text File  |  1995-02-21  |  2KB  |  73 lines

  1. Make a Teleporter
  2. SECTOR,-256, 128,-64,-64
  3. ZOOMLEVEL, 100
  4. SECTOR,-256,-192,-64,-384
  5. SECTOR,-176,-48,-176,-80
  6. SECTOR,-192,-64,-128,-192
  7. INSERTTHING,-160,-288, 1
  8. SECTOR, 0, 128, 256,-64
  9. CENTER,-164, 31
  10. ms, "A teleporter pad is going to be added to the top room.  It will go to the separated room on the right."
  11. SECTOR,-192, 64,-128, 0
  12. SETHEIGHT, 16, 100
  13. zoomlevel, 150
  14. ms, "This sector will be the teleporter pad.  A teleporter is simply a line that you can cross, it does not have to be a sector."
  15. PICKPOINT,-158, 62, 11
  16. SETLINESPECIAL, 97
  17. SETLINETAG, 0
  18. PICKPOINT,-158, 62, 11
  19. zoomlevel, 100
  20. ms, "Each line of the sector is selected and assigned an appropriate line special, in this case 97 (Teleporter, Re-Trigger)."
  21. PICKPOINT,-193, 35, 11
  22. SETLINESPECIAL, 97
  23. SETLINETAG, 0
  24. PICKPOINT,-159, 4, 11
  25. SETLINESPECIAL, 97
  26. SETLINETAG, 0
  27. PICKPOINT,-131, 30, 11
  28. SETLINESPECIAL, 97
  29. SETLINETAG, 0
  30. PICKPOINT,-111, 23, 11
  31. ms, "Notice all the lines are now blue, indicating that they have special values.  The mark on the lines indicates the first side.  Since teleporters are activated by walking through the first side, these lines must be flipped"
  32. PICKPOINT,-155, 69, 11
  33. FLIP
  34. msplus, "Each line is selected and the Flip Line button is clicked"
  35. PICKPOINT,-194, 28, 11
  36. FLIP
  37. PICKPOINT,-166,-1, 11
  38. FLIP
  39. PICKPOINT,-125, 33, 11
  40. FLIP
  41. PICKPOINT,-28,-24, 11
  42. CENTER, 37, 31
  43. PICKPOINT, 135, 38, 11
  44. SETSECTTAG,1
  45. PICKPOINT, 135, 38, 11
  46. ms, "The destination sector has to have a tag value and it must match the tag value of the teleporting lines that you want to go to it"
  47. PICKPOINT, 92, 38, 11
  48. CENTER,-153, 27
  49. PICKPOINT,-156, 63, 11
  50. SETLINESPECIAL, 97
  51. SETLINETAG, 1
  52. PICKPOINT,-156, 63, 11
  53. msplus, "Each line is now assigned the matching tag value.  In this case we are using 1 since there aren't any other tags in use yet."
  54. PICKPOINT,-188, 29, 11
  55. SETLINESPECIAL, 97
  56. SETLINETAG, 1
  57. PICKPOINT,-169, 4, 11
  58. SETLINESPECIAL, 97
  59. SETLINETAG, 1
  60. PICKPOINT,-129, 34, 11
  61. SETLINESPECIAL, 97
  62. SETLINETAG, 1
  63. PICKPOINT,-102, 37, 11
  64. CENTER,-29, 31
  65. ms, "The last thing needed for the teleporter to work is a teleporter destination object"
  66. zoomlevel, 150
  67. INSERTTHING, 64, 16, 14
  68. center, 64, 16
  69. msplus, "The Teleporter Destination tells Doom exactly where to place the teleporting player or monster.  Set the direction arrow of this object to set the facing when you teleport."
  70. ZOOMLEVEL, 34
  71. ms_end, "That's it!  You can save and run this now."
  72. END
  73.