home *** CD-ROM | disk | FTP | other *** search
/ 1,001 Nights of Doom / 1001NightsOfDoom1995wickedSensations.iso / text / dmtexr.zip / TEXREF.DOC < prev   
Text File  |  1994-05-08  |  4KB  |  101 lines

  1.  
  2.  
  3. TEXREF  v1.0
  4.  
  5. THE Texture to Pname cross reference.
  6.  
  7.  
  8. DISCLAIMERS
  9. ===========
  10. THIS DOCUMENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND.
  11. In addition, MDC Development specifically disclaims all warranties,
  12. expressed or implied, including but not limited to implied warranties
  13. of merchantability and fitness for a particular purpose with respect to
  14. defects in the program license granted herein in particular, and without
  15. limiting operation of the program license with respect to any particular
  16. application, use, or purpose.  In no event shall MDC Development be
  17. liable for any claims for lost profits or any other commercial damage,
  18. including but not limited to special, incidental, consequential or other
  19. damage.
  20.  
  21. id Software cannot and will not provide support for TEXREF.
  22.  
  23. id Software will not provide support for ANY file that has been modified
  24. or created by TEXREF.
  25.  
  26. It is illegal to distribute the registered version of the DOOM.WAD file in
  27. any form, original or modified.
  28.  
  29. COPYRIGHT NOTICES
  30. =================
  31.  
  32. TEXREF - Copyright 1994 by MDC Development
  33.          TEXREF is NOT an id Software product.
  34.  
  35. DOOM is a trademark of id Software.
  36.  
  37.  
  38. PURPOSE
  39. =======
  40.  
  41. The purpose of this document is to help all you fellow PWAD creators.
  42. As many of you have discovered while designing new levels for DOOM, even
  43. though there are over 300 different TEXTURES available they may not fit
  44. your theme.  So what do you do to change the TEXTURE??  You pull your
  45. hair out!!  Later in the document I will tell you why.  This TEXREF
  46. should speed up the process of changing those TEXTURES.
  47.  
  48.  
  49. WHAT IS A PNAME?
  50. ================
  51. A pname stand for patch name.  Pnames are found in the PNAME lookup
  52. table in the WAD file.  This table is a list of names used by TEXTURE1
  53. and TEXTURE2 to build the wall textures.  Each entry in the PNAME table
  54. is the name of a graphic RESOURCE in the WAD file.  I originally thought
  55. the name PATCH was for "FIX" like patching a program, but after tearing
  56. the WAD apart I discovered it was more like a "PATCH" of wallpaper.
  57.  
  58. WHAT IS A TEXTURE?
  59. ==================
  60. Textures are what you see when you see when you look at a wall in DOOM.
  61. These are the values you assign to the SIDEDEFs of a LINE when building
  62. your own level with DEU, DOOMCAD, DOOMVB... and all the other level editors
  63. out there.  A texture is made up from 1 to any number of PATCHES.   For
  64. instance the texture BIGDOOR2 has only 1 patch, DOOR2_4, but BIGDOOR1
  65. has 5; W13_1,W13_1,DOOR2_1,W13_1,W13_1.  Notice that 4 of the patches
  66. are the same.  That's because each of them has a different x y offset
  67. into the texture.  BIGDOOR1 is 126x28, the 1 patch start at 0,0 , the
  68. 2nd at 0,24 ,3rd at 17,0 , 4th at 113,0 ,and 5th at 113,25.  Each patch
  69. will over lay the next, and CAN have transparent areas.  Unfortunately I
  70. can't figure out why in BIGDOOR1 patches 4&5 seem to be overlaid by
  71. patch 3.  I would thing they would stack one on top of the other like
  72. cards!  If you know, TELL ME!!  Also if you know why some of the x,y
  73. offsets are HUGE let me know.
  74.  
  75. MAJOR WARNING!
  76. ==============
  77. So you've decided to build you own level and you want some unique wall
  78. textures.  Using this Xref and tools like DMGRAPH, and DEU, you pull out
  79. the wall patch you want to alter, change it, then replace it.   Cool
  80. your done.  Now lets run that level... YUCK some of the wall look like
  81. crap!  WHY!!  Well its because since textures are made up of patches a
  82. change you make to one texture could affect others! (This is one of the
  83. many hair pulling reasons).  For instance if you change patch WILTC0 you
  84. would change the way 38 different textures looks.  SO BECARFULL!
  85.  
  86.  
  87. ADDITIONAL READING/RESOUCES
  88. ===========================
  89. Everyone should real the UNOFFICIAL DOOM SPECS by Matt Fell.  I believe
  90. the latest version is 1.3.  Without this document it would have taken me
  91. weeks to figure this stuff out, then right the TEXREF.  With it, it took
  92. about 4 hours.
  93.  
  94. DEU 5.1 by Brendon Wyber and Raphaël Quinet, this is the DOOM level editor
  95. that I use. Version 5.1 allows you to include your own replacement textures.
  96.  
  97. DMGRAPH 1.0 by Bill Neisius.  This will allow you to extract the patch
  98. in GIF format then replace you modified version in the WAD file.
  99.  
  100.  
  101.