Newxog volume: Difference between revisions
Jump to navigation
Jump to search
Note:Top and bottom colors blending in xog center, for example with red and green colors the center of xog will be yellow.
Note:The difference in values of distStart and distEnd should not be too big, otherwise the fog will be unsmooth.
MyGamepedia (talk | contribs) |
MyGamepedia (talk | contribs) |
||
Line 42: | Line 42: | ||
<br> | <br> | ||
<gallery mode=packed heights=290px> | <gallery mode=packed heights=290px> | ||
File:cdiststart1.jpg| thumb | left | 510px | 10 | File:cdiststart1.jpg| thumb | left | 510px | distStart - 10. distEnd - 100. | ||
File:diststart2.jpg| thumb | left | 510px | 70 | File:diststart2.jpg| thumb | left | 510px | distStart - 70. distEnd - 100. | ||
File:diststart3.jpg| thumb | left | 510px | 200 | File:diststart3.jpg| thumb | left | 510px | distStart - 200. distEnd - 100. | ||
</gallery> | </gallery> | ||
}} | }} | ||
{{KV|distEnd|intn= | {{KV|distEnd|intn=distend|float|distEnd | ||
Xog end draw distance. | Xog end draw distance. | ||
}} | }} | ||
{{expand|title=Examples| | |||
<br> | |||
<gallery mode=packed heights=290px> | |||
File:distend1.jpg| thumb | left | 510px | distStart - 10. distEnd - 100. | |||
File:distend2.jpg| thumb | left | 510px | distStart - 10. distEnd - 700. | |||
File:distend3.jpg| thumb | left | 510px | distStart - 10. distEnd - 2000. | |||
</gallery> | |||
}} | |||
{{note|The difference in values of distStart and distEnd should not be too big, otherwise the fog will be unsmooth.}} | |||
{{KV|distDensity|intn=distdensity|float|distDensity | {{KV|distDensity|intn=distdensity|float|distDensity | ||
Density of xog entity (seems bugged, only 0 and 1 works). | Density of xog entity (seems bugged, only 0 and 1 works). |
Revision as of 02:05, 27 January 2024
newxog_volume
is an e0 available in Black Mesa. This is volumetric xog (Xen Fog) brush entity that creates a fog transition, making spaces appear deeper than they are.
Keyvalues
- Enabled (Enabled) <choices>
- Enable/Disable this Entity.
Determines is this entity enabled or disabled on spawn.
- 0: Enabled
- 1: Disabled
- 0:0: LocalVolume BBOX
- 1:1: LocalVolume Ellipsoid
|
- colorMode (colormode) <choices>
- Determines color mode.
- 0:0:StaticColor
- 1:1:1DGradTexture
- 2:2: CubeGradTexture
- Texture name Grad Texture (texname) <string>
- Xog gradient texture name. The default is
xen/effects/xen_sky_6_blurred_32
.
- colorTop (colortop) <color255>
- Xog top color. This is the main color of xog that uses if
Enable Height Blend
KV is disabled.
- colorBottom (colorbottom) <color255>
- Xog bottom color. Requires enabled
Enable Height Blend
to be working.

- distStart (diststart) <float>
- distStart
Xog start draw distance.
|
- distEnd (distend) <float>
- distEnd
Xog end draw distance.
|

- distDensity (distdensity) <float>
- distDensity
Density of xog entity (seems bugged, only 0 and 1 works).
Todo: Confirm the developer note.
- opacityOffsetTop (opacityoffsettop) <float>
- opacityOffsetTop
Offsets top color of xog.
- opacityOffsetBottom (opacityoffsetbottom) <float>
- opacityOffsetBottom
Offsets bottom color of xog.
- htZStart (htzstart) <float>
- htZStart
Height that xog starts rendering at.
- htZEnd (htzend) <float>
- htZEnd
Height that xog stops rendering at.
- htZColStart (htzcolstart) <float>
- htZColStart
Height that xog color starts rendering at.
- htZColEnd (htzcolend) <float>
- htZColEnd
Height that xog color stops rendering at.
- noise1ScrollSpeed (noise1scrollspeed) <vector>
- Layer one, speed at which noise moves trough xog volume (X Y Z).
- noise1Tiling (noise1tiling) <vector>
- Layer one, tiling speed at which noise moves trough xog volume (X Y Z).
- noise2ScrollSpeed (noise2scrollspeed) <vector>
- Layer two, speed at which noise moves trough xog volume (X Y Z).
- noise2Tiling (noise2tiling) <vector>
- Layer two, tiling speed at which noise moves trough xog volume (X Y Z).
- noiseContrast (noisecontrast) <float>
- Contrast of xog.
- noiseMultiplier (noisemultiplier) <float>
- Multiplier of xog.
- Enable Height Blend (enablevol_height) <choices>
- Enable/Disable this heightbased xog.
Determines top color and blending is disabled or enabled.
- 0: Disabled
- 1: Enabled
|
Flags
|
Inputs
- TurnOn <void>
- Turn xog on.
- TurnOff <void>
- Turn xog off.
|
Outputs
|