home *** CD-ROM | disk | FTP | other *** search
/ 1,001 Nights of Doom / 1001NightsOfDoom1995wickedSensations.iso / newstuff / dme40bt2.zip / LINETYPE.TXT < prev    next >
Text File  |  1995-01-05  |  6KB  |  120 lines

  1. Now, before I start to get into linetype actions and such, I'd just like 
  2. to make sure you understand how linetype actions work.  Almost all 
  3. linetypes produce an action.  All actions affect a sector.  Sometimes 
  4. the sector affected is determined by a fixed rule, such as some with doors.  
  5. The rest are determined through the use of a trigger id.
  6.  
  7. Both lines and sectors may have a trigger id.  The line is the source of 
  8. an action, while the sector is what actually performs the action.  In 
  9. order to know what line affects what sector, a common trigger id is given
  10. to both the line and the sector.  This id number can be any number of your
  11. choosing.  It doesn't have to be a certain number or anything.  It is 
  12. simply used to uniquely identify seperate actions.  It's like a serial
  13. number.
  14.  
  15. Because this trigger id method is used, instead of lines and sectors
  16. directly referencing each other, it is possible to have multiple lines
  17. tied to multiple sectors.  For example, having 3 different switches on a
  18. wall all do the same thing to the same sector.  Or, different things to
  19. the same sector.  Or, you can have a single switch open 10 different
  20. doors at once, etc.
  21.  
  22. Ok, all linetypes have a code that describes the characteristics of that 
  23. linetype.  This includes how a line is activated, if it is reusable or 
  24. only single-use, if a trigger id is required, and if this linetype is 
  25. new and only usable in Doom v1.4 or higher (Doom II started at v1.666, so
  26. it can use all these types).
  27.  
  28. The code is 4 characters long.  Each character describes something 
  29. different.
  30.  
  31.    a) The first character can be ' ' or '*'.  A '*' means it is only 
  32.       available in Doom v1.4 or above.  Using a linetype like this means 
  33.       that it can only be played on Doom v1.4 or higher.
  34.  
  35.    b) The second character can be ' ' or 'n'.  An 'n' means that it 
  36.       doesn't require a trigger id, and using a trigger id that isn't 
  37.       zero may cause problems.
  38.  
  39.    c) The third character can be 'S', 'W', 'G' or '-'.
  40.         
  41.         'S': Switch activated linetype.  This means that the spacebar 
  42.              (or open mouse button/joystick button, etc) needs to be 
  43.              pressed while standing in front of the line to activate it.
  44.  
  45.         'W': Walk over activated linetype.  A player, monster, or 
  46.              sometimes rocket/fireball will activate this linetype when it
  47.              crosses this line.
  48.  
  49.         'G': Gun or other weapon activated linetype.  You need to shoot 
  50.              this line to activate it.  Other weapons that will work 
  51.              include your fist, chainsaw, chaingun, rocket launcher, 
  52.              fireballs, etc.
  53.  
  54.         '-': This means that the line can't be activated.  Of course, no 
  55.              action ever occurs either.
  56.  
  57.    d) The fourth character can be 'R' or '1'.  'R' means it is a 
  58.       reusable linetype, and '1' means it can only be used once.
  59.  
  60. Note that most, if not all, linetypes are activated from the right 
  61. side.  Thus, switches on walls should be on the right side, and walk 
  62. over linetypes should be crossed over from the right side over to the 
  63. left side to activate.  Keep this in mind.  If a line only has textures 
  64. on one side, the textured side must be on the right side, and DMapEdit 
  65. will always flip the line to insure this.  This may interfere with your 
  66. line activation.  If you want to flip the line around in this case, put 
  67. texture on the other side in the upper or lower texture slot and you 
  68. should be able to flip it around then.
  69.  
  70. Door with a 'n' (no trigger id required) type will affect the sector on 
  71. the left side of the line.  These are used for door that you walk up to 
  72. and open manually with the spacebar.  Of course, this type should never 
  73. be used on a single sided line.
  74.  
  75. Teleport line types will teleport a player or monster elsewhere when 
  76. they cross the line.  These lines are usually arranged in a square shape 
  77. around a pentagon-style floored sector.  There should only be one sector 
  78. tied to line/lines.  Having multiple sector won't allow for 'random 
  79. destinations'.  When teleported, the player/moster arrives in the sector 
  80. tied to the line, and more specifically, at a teleporter arrival point, 
  81. which is a Thing.  If you forget to add one to the sector, or have more 
  82. than one, Doom will crash.  Also, the facing direction of this arrival 
  83. Thing is the direction the player/monster will be facing when they are 
  84. finsihed teleporting.
  85.  
  86. Linetype #9: 'Equalize donut sector floors', is a rather complex
  87. action.  It will actually effect 2 different sectors, and these
  88. sectors should normally be set up in a donut fashion, like so:
  89.  
  90.                 +-----------+
  91.                 |     2     |
  92.                 |  +-----+  | 3
  93.                 |  |     |  |
  94.                 | 2|  1  |2 |
  95.               3 |  |     |  |
  96.                 |  +-----+  |
  97.                 |     2     |
  98.                 +-----------+
  99.  
  100. The base sector (the one the line is tied to via trigger id) in this 
  101. case is sector #1.  It, and the next one out (sector #2) will change
  102. their floor heights to match the 3rd one out's (sector #3).  They can go 
  103. either direction, and can move in opposite directions even.  
  104. Furthermore, both sectors (1 & 2) will change their floor texture and 
  105. sector type to match the template sector's (sector #3).  Sounds 
  106. complicated, eh?  An example of this linetype is in E1M2, where you get 
  107. the chainsaw.  You flip a switch on the wall, and the pillar the 
  108. chainsaw is on comes down, while the donut sector around it raises and 
  109. changes texture.  
  110.  
  111. Linetype #49: Start normal crushing ceiling, works properly in Doom v1.6 
  112. and above.  However, before that, it acts like a crushing ceiling but 
  113. doesn't do any damage.  This was a bug that id fixed, apparently.
  114.  
  115. Lift always work work the same way.  They first lower to the next-lower 
  116. floor height, wait for about 2 seconds, and then raise back to their 
  117. original starting height and stay there until activated again.  You 
  118. cannot make a lift raise first and then lower.  Sorry, this is just a 
  119. limitation id created.  I can't do anything about it.
  120.