Newxog settings: 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.
MyGamepedia (talk | contribs) No edit summary |
MyGamepedia (talk | contribs) |
||
Line 14: | Line 14: | ||
Transition time in seconds ( 0 for instant ) to transition into new settings. Its a lerp operation A + (B-A)*TimeFactor. | Transition time in seconds ( 0 for instant ) to transition into new settings. Its a lerp operation A + (B-A)*TimeFactor. | ||
}} | }} | ||
{{KV|Enabled|intn=Enabled|Choices| | {{KV|Enabled|intn=Enabled|Choices| | ||
Determines whether target will be turned on or turned off after TransitionTime. | Determines whether target will be turned on or turned off after TransitionTime. | ||
*0: Enabled | *0: Enabled | ||
Line 67: | Line 67: | ||
</gallery> | </gallery> | ||
}} | }} | ||
{{KV|distStart|intn=diststart|float| | {{KV|distStart|intn=diststart|float| | ||
Xog start draw distance. | Xog start draw distance. | ||
}} | }} | ||
Line 78: | Line 78: | ||
</gallery> | </gallery> | ||
}} | }} | ||
{{KV|distEnd|intn=distend|float| | {{KV|distEnd|intn=distend|float| | ||
Xog end draw distance. | Xog end draw distance. | ||
}} | }} | ||
Line 89: | Line 89: | ||
</gallery> | </gallery> | ||
}} | }} | ||
{{KV|distDensity|intn=distdensity|float| | {{KV|distDensity|intn=distdensity|float| | ||
Density of xog entity, only values from 0 to 1 works. | Density of xog entity, only values from 0 to 1 works. | ||
}} | }} | ||
Line 100: | Line 100: | ||
</gallery> | </gallery> | ||
}} | }} | ||
{{KV|opacityOffsetTop|intn=opacityoffsettop|float| | {{KV|opacityOffsetTop|intn=opacityoffsettop|float| | ||
Offsets top color of xog. | Offsets top color of xog. | ||
}} | }} | ||
Line 111: | Line 111: | ||
</gallery> | </gallery> | ||
}} | }} | ||
{{KV|opacityOffsetBottom|intn=opacityoffsetbottom|float| | {{KV|opacityOffsetBottom|intn=opacityoffsetbottom|float| | ||
Offsets bottom color of xog. | Offsets bottom color of xog. | ||
}} | }} | ||
Line 122: | Line 122: | ||
</gallery> | </gallery> | ||
}} | }} | ||
{{KV|htZStart|intn=htzstart|float| | {{KV|htZStart|intn=htzstart|float| | ||
Height that xog starts rendering at. | Height that xog starts rendering at. | ||
}} | }} | ||
Line 133: | Line 133: | ||
</gallery> | </gallery> | ||
}} | }} | ||
{{KV|htZEnd|intn=htzend|float| | {{KV|htZEnd|intn=htzend|float| | ||
Height that xog stops rendering at. | Height that xog stops rendering at. | ||
}} | }} | ||
Line 144: | Line 144: | ||
</gallery> | </gallery> | ||
}} | }} | ||
{{KV|htZColStart|intn=htzcolstart|float| | {{KV|htZColStart|intn=htzcolstart|float| | ||
Height that xog color starts rendering at. Results depend on <code>htZColEnd</code> value. | Height that xog color starts rendering at. Results depend on <code>htZColEnd</code> value. | ||
}} | }} | ||
Line 155: | Line 155: | ||
</gallery> | </gallery> | ||
}} | }} | ||
{{KV|htZColEnd|intn=htzcolend|float| | {{KV|htZColEnd|intn=htzcolend|float| | ||
Height that xog color stops rendering at. Results depend on <code>htZColStart</code> value. | Height that xog color stops rendering at. Results depend on <code>htZColStart</code> value. | ||
}} | }} |
Revision as of 11:39, 26 October 2024

newxog_settings in Black Mesa: Improved Xen. You can see here how xog gradually turn green and more more intense.

newxog_settings
is a point entity available in Black Mesa. This entity allows dynamically change some parameters for newxog_global and newxog_volume entities.
Keyvalues
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
- TargetNewXOGEntity_Name (targetnewlightentity) <targetname>
- Target name of xog entity for which settings will be applied.
- TransitionTime (transitiontime) <integer>
- Transition time in seconds ( 0 for instant ) to transition into new settings. Its a lerp operation A + (B-A)*TimeFactor.
- Enabled (Enabled) <choices>
- Determines whether target will be turned on or turned off after TransitionTime.
- 0: Enabled
- 1: Disabled
- skyColor (skycolor) <color255>
- Xog color in 2D skybox.
|
- skyBlendType (skyblendtype) <integer>
- Non-working property, perhaps at some moment was planned different types of xog blend in skybox. Not being used at the moment.
- skyBlendFactor (skyblendfactor) <float>
- Xog intensity in skybox. This is a float value from 0.0 to 1.0.
|
- colorTop (colortop) <color255>
- Xog top color.
|
- colorBottom (colorbottom) <color255>
- Xog bottom color.

|
- distStart (diststart) <float>
- Xog start draw distance.
|
- distEnd (distend) <float>
- Xog end draw distance.
|
- distDensity (distdensity) <float>
- Density of xog entity, only values from 0 to 1 works.
|
- opacityOffsetTop (opacityoffsettop) <float>
- Offsets top color of xog.
|
- opacityOffsetBottom (opacityoffsetbottom) <float>
- Offsets bottom color of xog.
|
- htZStart (htzstart) <float>
- Height that xog starts rendering at.
|
- htZEnd (htzend) <float>
- Height that xog stops rendering at.
|
- htZColStart (htzcolstart) <float>
- Height that xog color starts rendering at. Results depend on
htZColEnd
value.
|
- htZColEnd (htzcolend) <float>
- 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.
|
Inputs
- InputApplySettings <void>
- Trigger to apply settings.
See also
- Xog Editor - the console-based xog editor.
- newxog_global - global xog, similar to env_fog_controller.
- newxog_volume - xog volume brush entity with ellipsoid and box shapes support.
- env_fog_controller
- fog_volume
- Fog tutorial
- Fog Basics
- Dust, Fog, & Smoke
- Color Correction
- color_correction (entity)
- BlackMesa XenEngine: Part2 – How a Frame is Rendered (page from Black Mesa developer about how a frame rendered and xog.)
- BlackMesa XenEngine: Part1 – Heavily Modified Source Engine (page from Black Mesa developer about Black Mesa engine, better known as Xengine)