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.
Bug:Numbers lower than 1 cause xog graphics issues.
[todo tested in ?]
Bug:Numbers lower than 1 cause xog graphics issues.
[todo tested in ?]
Note:The difference in values of distStart and distEnd should be not too big, otherwise the fog will be unsmooth.
MyGamepedia (talk | contribs) |
MyGamepedia (talk | contribs) |
||
Line 60: | Line 60: | ||
File:diststart3.jpg| thumb | left | 510px | distStart - 200. distEnd - 100. | File:diststart3.jpg| thumb | left | 510px | distStart - 200. distEnd - 100. | ||
</gallery> | </gallery> | ||
}} | |||
{{bug|Numbers lower than 1 cause xog graphics issues. | |||
{{expand|title=Bug examples| | |||
<br> | |||
<gallery mode=packed heights=290px> | |||
File:XogdistBug1.jpg| thumb | left | 510px | Black Mesa - <code>bm_c1a2c</code>. As you can see, the fog is drawn through the geometry and models (with exception of [[viewmodel]]). | |||
File:XogdistBug2.jpg| thumb | left | 510px | Black Mesa - <code>bm_c1a2c</code>. As you can see, the fog is drawn through the geometry and models (with exception of [[viewmodel]]). | |||
</gallery> | |||
}} | |||
}} | }} | ||
{{KV|distEnd|intn=distend|float|distEnd | {{KV|distEnd|intn=distend|float|distEnd | ||
Line 71: | Line 80: | ||
File:distend3.jpg| thumb | left | 510px | distStart - 10. distEnd - 2000. | File:distend3.jpg| thumb | left | 510px | distStart - 10. distEnd - 2000. | ||
</gallery> | </gallery> | ||
}} | |||
{{bug|Numbers lower than 1 cause xog graphics issues. | |||
{{expand|title=Bug examples| | |||
<br> | |||
<gallery mode=packed heights=290px> | |||
File:XogdistBug1.jpg| thumb | left | 510px | Black Mesa - <code>bm_c1a2c</code>. As you can see, the fog is drawn through the geometry and models (with exception of [[viewmodel]]). | |||
File:XogdistBug2.jpg| thumb | left | 510px | Black Mesa - <code>bm_c1a2c</code>. As you can see, the fog is drawn through the geometry and models (with exception of [[viewmodel]]). | |||
</gallery> | |||
}} | |||
}} | }} | ||
{{note|The difference in values of distStart and distEnd should be not too big, otherwise the fog will be unsmooth.}} | {{note|The difference in values of distStart and distEnd should be not too big, otherwise the fog will be unsmooth.}} |
Revision as of 05:35, 30 January 2024


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, only values from 0 to 1 works.
|
- 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. Results depend on htZColEnd
value.
|
- htZColEnd (htzcolend) <float>
- htZColEnd
Height that xog color stops rendering at. Results depend on htZColStart
value.
|
- 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
|