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 151: | Line 151: | ||
{{KV|noise1ScrollSpeed|intn=noise1scrollspeed|vector| | {{KV|noise1ScrollSpeed|intn=noise1scrollspeed|vector| | ||
Layer one, speed at which noise moves trough xog volume (X Y Z). | Layer one, speed at which noise moves trough xog volume (X Y Z). | ||
}} | |||
{{expand|title=Examples| | |||
<br> | |||
<gallery mode=packed heights=290px> | |||
File:noise1ScrollSpeed1.gif| thumb | left | 510px | noise1ScrollSpeed - 1 0 0. | |||
File:noise1ScrollSpeed2.gif| thumb | left | 510px | noise1ScrollSpeed - 0 1 0. | |||
File:noise1ScrollSpeed3.gif| thumb | left | 510px | noise1ScrollSpeed - 0 0 1. | |||
</gallery> | |||
}} | }} | ||
{{KV|noise1Tiling|intn=noise1tiling|vector| | {{KV|noise1Tiling|intn=noise1tiling|vector| | ||
Line 157: | Line 165: | ||
{{KV|noise2ScrollSpeed|intn=noise2scrollspeed|vector| | {{KV|noise2ScrollSpeed|intn=noise2scrollspeed|vector| | ||
Layer two, speed at which noise moves trough xog volume (X Y Z). | Layer two, speed at which noise moves trough xog volume (X Y Z). | ||
}} | |||
{{expand|title=Examples2| | |||
<br> | |||
<gallery mode=packed heights=290px> | |||
File:noise2ScrollSpeed1.gif| thumb | left | 510px | noise2ScrollSpeed - 1 0 0. | |||
File:noise2ScrollSpeed2.gif| thumb | left | 510px | noise2ScrollSpeed - 0 1 0. | |||
File:noise2ScrollSpeed3.gif| thumb | left | 510px | noise2ScrollSpeed - 0 0 1. | |||
</gallery> | |||
}} | }} | ||
{{KV|noise2Tiling|intn=noise2tiling|vector| | {{KV|noise2Tiling|intn=noise2tiling|vector| |
Revision as of 02:19, 28 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
|