Newxog settings: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
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|Enable/Disable this Entity.
{{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|distStart
{{KV|distStart|intn=diststart|float|
Xog start draw distance.
Xog start draw distance.
}}
}}
Line 78: Line 78:
</gallery>
</gallery>
}}
}}
{{KV|distEnd|intn=distend|float|distEnd
{{KV|distEnd|intn=distend|float|
Xog end draw distance.
Xog end draw distance.
}}
}}
Line 89: Line 89:
</gallery>
</gallery>
}}
}}
{{KV|distDensity|intn=distdensity|float|distDensity
{{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|opacityOffsetTop
{{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|opacityOffsetBottom
{{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|htZStart
{{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|htZEnd
{{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|htZColStart
{{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|htZColEnd
{{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.
Xog settings.png

newxog_settings is a point entity available in Black Mesa Black Mesa. This entity allows dynamically change some parameters for newxog_global and newxog_volume entities.

Black Mesa Level Creation



Keyvalues

Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
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.
Examples


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.
Examples


colorTop (colortop) <color255>
Xog top color.
Examples


colorBottom (colorbottom) <color255>
Xog bottom color.
Note.pngNote:Top and bottom colors blending in xog center, for example with red and green colors the center of xog will be yellow.
Examples


distStart (diststart) <float>
Xog start draw distance.
Examples


distEnd (distend) <float>
Xog end draw distance.
Examples


distDensity (distdensity) <float>
Density of xog entity, only values from 0 to 1 works.
Examples


opacityOffsetTop (opacityoffsettop) <float>
Offsets top color of xog.
Examples


opacityOffsetBottom (opacityoffsetbottom) <float>
Offsets bottom color of xog.
Examples


htZStart (htzstart) <float>
Height that xog starts rendering at.
Examples


htZEnd (htzend) <float>
Height that xog stops rendering at.
Examples


htZColStart (htzcolstart) <float>
Height that xog color starts rendering at. Results depend on htZColEnd value.
Examples


htZColEnd (htzcolend) <float>
Height that xog color stops rendering at. Results depend on htZColStart value.
Examples


noise1ScrollSpeed (noise1scrollspeed) <vector>
Layer one, speed at which noise moves trough xog volume (X Y Z).
Examples


noise1Tiling (noise1tiling) <vector>
Layer one, tiling speed at which noise moves trough xog volume (X Y Z).
Examples


noise2ScrollSpeed (noise2scrollspeed) <vector>
Layer two, speed at which noise moves trough xog volume (X Y Z).
Examples


noise2Tiling (noise2tiling) <vector>
Layer two, tiling speed at which noise moves trough xog volume (X Y Z).
Examples


noiseContrast (noisecontrast) <float>
Contrast of xog.
Examples


noiseMultiplier (noisemultiplier) <float>
Multiplier of xog.
Examples


Inputs

InputApplySettings <void>
Trigger to apply settings.


See also