ericw_tools.fgd 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  1. @BaseClass = EWT_base_Worldspawn
  2. [
  3. light(float) : "Ambient light" : "0" : "Set a global minimum light level of 'n' across the whole map. This is an easy way to eliminate completely dark areas of the level, however you may lose some contrast as a result, so use with care. Default 0"
  4. _minlight_color(color) : "Minlight color R G B" : "255 255 255" : "Specify red(r), green(g) and blue(b) components for the colour of the minunlight. RGB component values are between 0 and 255 (between 0 and 1 is also accepted). Default is white light (255 255 255)"
  5. _minlightMottle(choices) : "Use mottle effect on minlight surfaces" : 1 =
  6. [
  7. 0 : "Off"
  8. 1 : "On"
  9. ]
  10. _dist(float) : "Global light scale" : "1" : "Scales the fade distance of all lights by a factor of n. If n is more than 1 lights fade more quickly with distance and if n is less than 1, lights fade more slowly with distance and light reaches further"
  11. _range(float) : "Global light range" : "0.5" : "Scales the brightness range of all lights without affecting their fade discance. Values of n more than 0.5 makes lights brighter and n less than 0.5 makes lights less bright. The same effect can be achieved on individual lights by adjusting both the 'light' and 'wait' attributes"
  12. _gamma(float) : "Lightmap gamma" : "1" : "Adjust brightness of final lightmap. Default 1, >1 is brighter, <1 is darker"
  13. _anglescale(float) : "Light angle scale" : "0.5" : "Sets a scaling factor for how much influence the angle of incidence of sunlight on a surface has on the brightness of the surface. n must be between 0.0 and 1.0. Smaller values mean less attenuation, with zero meaning that angle of incidence has no effect at all on the brightness. Default 0.5"
  14. _sunlight(float) : "Sunlight" : "0" : "Set the brightness of the sunlight coming from an unseen sun in the sky. Sky brushes (or more accurately bsp leafs with sky contents) will emit sunlight at an angle specified by the _sun_mangle key. Default 0"
  15. _sun_mangle(string) : "Sun mangle (Yaw pitch roll)" : "0 -90 0" : "Specifies the direction of sunlight using yaw(x), pitch(y) and roll(z) in degrees. Yaw specifies the angle around the Z-axis from 0 to 359 degrees and pitch specifies the angle from 90 (straight up) to -90 (straight down). Roll has no effect, so use any value (e.g. 0). Default is straight down (0 -90 0)"
  16. _sunlight_penumbra(float) : "Sunlight penumbra in degrees" : "0" : "Specifies the penumbra width, in degrees, of sunlight. Useful values are 3-4 for a gentle soft edge, or 10-20+ for more diffuse sunlight. Default is 0"
  17. _sunlight_color(color) : "Sunlight color R G B" : "255 255 255" : "Specify red(r), green(g) and blue(b) components for the colour of the sunlight. RGB component values are between 0 and 255 (between 0 and 1 is also accepted). Default is white light (255 255 255)"
  18. _sunlight2(float) : "Sunlight hemisphere brightness" : "0" : "Set the brightness of a large dome of lights positioned around the map (16K unit radius). Useful for simulating higly diffused light (e.g. cloudy skies) in outdoor areas. Default 0"
  19. _sunlight2_color(color) : "Sunlight hemisphere color R G B" : "255 255 255" : "Specifies the colour of _sunlight2, same format as _sunlight_color. Default is white light (255 255 255)"
  20. _sunlight3(float) : "Sunlight ground brightness" : "0" : "Set the brightness of a large dome of lights positioned around the map (16K unit radius). Useful for simulating higly diffused light (e.g. cloudy skies) in outdoor areas. Default 0"
  21. _sunlight3_color(color) : "Sunlight ground color R G B" : "255 255 255" : "Specifies the colour of _sunlight2, same format as _sunlight_color. Default is white light (255 255 255)"
  22. _dirt(choices) : "Dirt mapping (AO)" : 0 : "1 enables dirtmapping (ambient occlusion) on all lights, borrowed from q3map2. This adds shadows to corners and crevices. You can override the global setting for specific lights with the _dirt light entity key or _sunlight_dirt, _sunlight2_dirt, and _minlight_dirt worldspawn keys. Default is no dirtmapping (-1)" =
  23. [
  24. -1 : "Force off"
  25. 0 : "Compiler settings"
  26. 1 : "Force on"
  27. ]
  28. _sunlight_dirt(choices) : "Sunlight dirt" : 0 : "1 enables dirtmapping (ambient occlusion) on sunlight, -1 to disable (making it illuminate the dirtmapping shadows). Default is to use the value of '_dirt'" =
  29. [
  30. -1 : "Force off"
  31. 0 : "Compiler settings"
  32. 1 : "Force on"
  33. ]
  34. _sunlight2_dirt(choices) : "Sunlight 2 dirt" : 0 : "1 enables dirtmapping (ambient occlusion) on sunlight2, -1 to disable. Default is to use the value of '_dirt'" =
  35. [
  36. -1 : "Force off"
  37. 0 : "Compiler settings"
  38. 1 : "Force on"
  39. ]
  40. _minlight_dirt(choices) : "Minlight dirt" : 0 : "1 enables dirtmapping (ambient occlusion) on minlight, -1 to disable. Default is to use the value of '_dirt'" =
  41. [
  42. -1 : "Force off"
  43. 0 : "Compiler settings"
  44. 1 : "Force on"
  45. ]
  46. _dirtmode(choices) : "Dirt mode" : 0 : "Choose between ordered (0, default) and randomized (1) dirtmapping." =
  47. [
  48. 0 : "Ordered"
  49. 1 : "Random"
  50. ]
  51. _dirtdepth(float) : "Dirt depth" : "128" : "Maximum depth of occlusion checking for dirtmapping, default 128."
  52. _dirtscale(float) : "Dirt scale" : "1" : "Scale factor used in dirt calculations, default 1. Lower values (e.g. 0.5) make the dirt fainter, 2.0 would create much darker shadows"
  53. _dirtgain(float) : "Dirt gain" : "1" : "Exponent used in dirt calculation, default 1. Lower values (e.g. 0.5) make the shadows darker and stretch further away from corners"
  54. _bounce(float) : "Light bounce" : "0"
  55. _bouncescale(float) : "Light bounce scale" : "1" : "Scales brightness of bounce lighting."
  56. _bouncecolorscale(float) : "Light bounce color scale" : "0" : "Weight for bounce lighting to use texture colors from the map: 0=ignore map textures (default), 1=multiply bounce light color by texture color."
  57. ]
  58. @BaseClass = EWT_base_PointLight
  59. [
  60. light(float) : "Brightness" : "300" : "Set the light intensity. Negative values are also allowed and will cause the entity to subtract light cast by other entities."
  61. _color(color) : "Light color"
  62. wait(float) : "Fade distance multiplier" : "1" : "Scale the fade distance of the light by 'n'. Values of n more than 1 make the light fade more quickly with distance, and values less than 1 make the light fade more slowly (and thus reach further)."
  63. delay(choices) : "Attenuation" : : "Select an attenuation formula for the light" = [
  64. 0 : "Linear falloff (Default)"
  65. 1 : "Inverse distance falloff"
  66. 2 : "Inverse distance squared"
  67. 3 : "No falloff"
  68. 4 : "Local minlight"
  69. 5 : "Inverse distance 2"
  70. ]
  71. mangle(string) : "Spotlight direction" : "0 -90 0" : "Turns the light into a spotlight and specifies the direction of light using yaw(x), pitch(y) and roll(z) in degrees. Yaw specifies the angle around the Z-axis from 0 to 359 degrees and pitch specifies the angle from 90 (straight up) to -90 (straight down). Roll has no effect, so use any value (e.g. 0). Often easier than the 'target' method"
  72. angle(float) : "Spotlight cone angle" : "40" : "Specifies the angle in degrees for a spotlight cone."
  73. _dirt(choices) : "Ambient occlusion (override)" : 0 : "Overrides the worldspawn setting of '_dirt' for this particular light." = [
  74. 0 : "Worldspawn decides"
  75. -1 : "Force off"
  76. 1 : "Force on"
  77. ]
  78. _dirtscale(float) : "AO scale (override)" : "1.0" : "Override the global '_dirtscale' or '_dirtgain' settings to change how this light is affected by dirtmapping (ambient occlusion). See descriptions of these keys in the worldspawn section"
  79. _deviance(float) : "Deviance" : "0" : "Split up the light into a sphere of randomly positioned lights within radius 'n' (in world units). Useful to give shadows a wider penumbra. '_samples' specifies the number of lights in the sphere. The 'light' value is automatically scaled down for most lighting formulas (except linear and non-additive minlight) to attempt to keep the brightness equal. Default is 0, do not split up lights"
  80. _samples(float) : "No. of Deviance lights" : "16" : "Number of lights to use for '_deviance'. Default 16 (only used if '_deviance' is set)"
  81. _surface(string) : "Surface light texture name" : : "Makes surfaces with the given texture name emit light, by using this light as a template which is copied across those surfaces. Lights are spaced about 128 units (though possibly closer due to bsp splitting) apart and positioned 2 units above the surfaces"
  82. _surface_spotlight(choices) : "Surface spotlight" : 0 : "Is this surface light a spotlight? If so, orient it so it points away from the surface normal" = [
  83. 0 : "No"
  84. 1 : "Yes"
  85. ]
  86. _surface_offset(float) : "Surface light offset" : "2" : "Controls the offset lights are placed above surfaces for '_surface'. Default 2"
  87. _softangle(float) : "Spotlight soft angle" : : "Specifies the angle in degrees for an inner spotlight cone (must be less than the 'angle' cone. Creates a softer transition between the full brightness of the inner cone to the edge of the outer cone. Default 0 (disabled)"
  88. _anglescale(float) : "Light angle scale" : : "Sets a scaling factor for how much influence the angle of incidence of light on a surface has on the brightness of the surface. n must be between 0.0 and 1.0. Smaller values mean less attenuation, with zero meaning that angle of incidence has no effect at all on the brightness. Default 0.5"
  89. _project_texture(string) : "Project a texture"
  90. _project_mangle(string) : "Projection texture direction"
  91. _project_fov(float) : "Projection texture FOV" : "90"
  92. _light_channel_mask(flags) = [
  93. 0 : "Legacy Behavior" : 1
  94. 1 : "Channel 1"
  95. 2 : "Channel 2"
  96. 4 : "Channel 3"
  97. 8 : "Channel 4"
  98. 16 : "Channel 5"
  99. 32 : "Channel 6"
  100. 64 : "Channel 7"
  101. 128 : "Channel 8"
  102. 256 : "Channel 9"
  103. 512 : "Channel 10"
  104. 1024 : "Channel 11"
  105. 2048 : "Channel 12"
  106. 4096 : "Channel 13"
  107. 8192 : "Channel 14"
  108. 16384 : "Channel 15"
  109. 32768 : "Channel 16"
  110. 65536 : "Channel 17"
  111. 131072 : "Channel 18"
  112. 262144 : "Channel 19"
  113. 524288 : "Channel 20"
  114. 1048576 : "Channel 21"
  115. 2097152 : "Channel 22"
  116. 4194304 : "Channel 23"
  117. 8388608 : "Channel 24"
  118. ]
  119. _shadow_channel_mask(flags) = [
  120. 0 : "Legacy Behavior" : 1
  121. 1 : "Channel 1"
  122. 2 : "Channel 2"
  123. 4 : "Channel 3"
  124. 8 : "Channel 4"
  125. 16 : "Channel 5"
  126. 32 : "Channel 6"
  127. 64 : "Channel 7"
  128. 128 : "Channel 8"
  129. 256 : "Channel 9"
  130. 512 : "Channel 10"
  131. 1024 : "Channel 11"
  132. 2048 : "Channel 12"
  133. 4096 : "Channel 13"
  134. 8192 : "Channel 14"
  135. 16384 : "Channel 15"
  136. 32768 : "Channel 16"
  137. 65536 : "Channel 17"
  138. 131072 : "Channel 18"
  139. 262144 : "Channel 19"
  140. 524288 : "Channel 20"
  141. 1048576 : "Channel 21"
  142. 2097152 : "Channel 22"
  143. 4194304 : "Channel 23"
  144. 8388608 : "Channel 24"
  145. ]
  146. ]
  147. @BaseClass = EWT_base_BModel
  148. [
  149. _dirt(float) : "Dirt mapping (override)"
  150. _minlight(float) : "Min light for all surface"
  151. _minlight_exclude(string) : "Exclude texture from minlight"
  152. _mincolor(color) : "Min light color"
  153. _shadow(choices) : "Cast Shadows" = [
  154. 0 : "Do Nothing"
  155. 1 : "Cast shadows"
  156. ]
  157. _shadowself(choices) : "Self Shadow" = [
  158. 0 : "Do Nothing"
  159. 1 : "Cast shadows on Self"
  160. ]
  161. _phong(choices) : "Phong shading" = [
  162. 0 : "Disabled"
  163. 1 : "Smooth shading"
  164. ]
  165. _phong_angle(float) : "Phong smoothing angle" : "89"
  166. _mirrorinside(choices) : "Double sided faces" = [
  167. 0 : "Disabled"
  168. 1 : "Double sided"
  169. ]
  170. _object_channel_mask(flags) = [
  171. 0 : "Legacy Behavior" : 1
  172. 1 : "Channel 1"
  173. 2 : "Channel 2"
  174. 4 : "Channel 3"
  175. 8 : "Channel 4"
  176. 16 : "Channel 5"
  177. 32 : "Channel 6"
  178. 64 : "Channel 7"
  179. 128 : "Channel 8"
  180. 256 : "Channel 9"
  181. 512 : "Channel 10"
  182. 1024 : "Channel 11"
  183. 2048 : "Channel 12"
  184. 4096 : "Channel 13"
  185. 8192 : "Channel 14"
  186. 16384 : "Channel 15"
  187. 32768 : "Channel 16"
  188. 65536 : "Channel 17"
  189. 131072 : "Channel 18"
  190. 262144 : "Channel 19"
  191. 524288 : "Channel 20"
  192. 1048576 : "Channel 21"
  193. 2097152 : "Channel 22"
  194. 4194304 : "Channel 23"
  195. 8388608 : "Channel 24"
  196. ]
  197. ]
  198. @SolidClass base(EWT_base_BModel) color(0 128 204) = func_detail : "func_detail" []
  199. @SolidClass base(EWT_base_BModel) color(0 128 204) = func_detail_wall : "func_detail_wall" []
  200. @SolidClass base(EWT_base_BModel) color(0 128 204) = func_detail_illusionary : "func_detail_illusionary" []