Newxog settings: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "[[File:newxog_settings.gif|frame|right|newxog_settings in [https://steamcommunity.com/sharedfiles/filedetails/?l=russian&id=894282258 Black Mesa: Improved Xen]. You can see he...")
 
No edit summary
 
(9 intermediate revisions by 4 users not shown)
Line 1: Line 1:
[[File:newxog_settings.gif|frame|right|newxog_settings in [https://steamcommunity.com/sharedfiles/filedetails/?l=russian&id=894282258 Black Mesa: Improved Xen]. You can see here how xog gradually turn green and more more intense.]]
{{This is a|logical entity|name=newxog_settings|game=Black Mesa|sprite=xog_settings.png}} This entity allows dynamically change some parameters for {{ent|newxog_global}} and {{ent|newxog_volume}} entities.
{{This is a|point|name=newxog_settings|game=Black Mesa|sprite=xog_settings.png}} This entity allows dynamically change some parameters for {{ent|newxog_global}} and {{ent|newxog_volume}} entities.
{{CDA|CNewXogGlobal|CBaseEntity|}}
{{back | Black Mesa Level Creation}}
[[File:newxog_settings.gif|thumb|right|newxog_settings in [https://steamcommunity.com/sharedfiles/filedetails/?l=russian&id=894282258 Black Mesa: Improved Xen]. You can see here how xog gradually turn green and more more intense.]]
{{todo|Rework page and replace .gif files with video links.}}


==Keyvalues==
 
{{KV Targetname}}
 
== Keyvalues ==
{{KV|TargetNewXOGEntity_Name|intn=targetnewlightentity|target_destination|
{{KV|TargetNewXOGEntity_Name|intn=targetnewlightentity|target_destination|
Target name of xog entity for which settings will be applied.
Target name of xog entity for which settings will be applied.
Line 11: Line 13:
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 19: Line 21:
Xog color in 2D skybox.
Xog color in 2D skybox.
}}
}}
{{expand|title=Examples|
:{{expand|title=Examples|
<br>
<br>
<gallery mode=nolines heights=500px widths=520px>
<gallery mode=nolines heights=500px widths=520px>
Line 33: Line 35:
Xog intensity in skybox. This is a float value from 0.0 to 1.0.
Xog intensity in skybox. This is a float value from 0.0 to 1.0.
}}
}}
{{expand|title=Examples|
:{{expand|title=Examples|
<br>
<br>
<gallery mode=nolines heights=500px widths=520px>
<gallery mode=nolines heights=500px widths=520px>
Line 44: Line 46:
Xog top color.
Xog top color.
}}
}}
{{expand|title=Examples|
:{{expand|title=Examples|
<br>
<br>
<gallery mode=nolines heights=500px widths=520px>
<gallery mode=nolines heights=500px widths=520px>
Line 54: Line 56:
{{KV|colorBottom|intn=colorbottom|color255|
{{KV|colorBottom|intn=colorbottom|color255|
Xog bottom color.
Xog bottom color.
{{note|Top and bottom colors blending in xog center, for example with red and green colors the center of xog will be yellow.}}
:{{note|Top and bottom colors blending in xog center, for example with red and green colors the center of xog will be yellow.}}
}}
}}
{{expand|title=Examples|
:{{expand|title=Examples|
<br>
<br>
<gallery mode=nolines heights=500px widths=520px>
<gallery mode=nolines heights=500px widths=520px>
Line 64: Line 66:
</gallery>
</gallery>
}}
}}
{{KV|distStart|intn=diststart|float|distStart
{{KV|distStart|intn=diststart|float|
Xog start draw distance.
Xog start draw distance.
}}
}}
{{expand|title=Examples|
:{{expand|title=Examples|
<br>
<br>
<gallery mode=nolines heights=500px widths=520px>
<gallery mode=nolines heights=500px widths=520px>
Line 75: Line 77:
</gallery>
</gallery>
}}
}}
{{KV|distEnd|intn=distend|float|distEnd
{{KV|distEnd|intn=distend|float|
Xog end draw distance.
Xog end draw distance.
}}
}}
{{expand|title=Examples|
:{{expand|title=Examples|
<br>
<br>
<gallery mode=nolines heights=500px widths=520px>
<gallery mode=nolines heights=500px widths=520px>
Line 86: Line 88:
</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.
}}
}}
{{expand|title=Examples|
:{{expand|title=Examples|
<br>
<br>
<gallery mode=nolines heights=500px widths=520px>
<gallery mode=nolines heights=500px widths=520px>
Line 97: Line 99:
</gallery>
</gallery>
}}
}}
{{KV|opacityOffsetTop|intn=opacityoffsettop|float|opacityOffsetTop
{{KV|opacityOffsetTop|intn=opacityoffsettop|float|
Offsets top color of xog.
Offsets top color of xog.
}}
}}
{{expand|title=Examples|
:{{expand|title=Examples|
<br>
<br>
<gallery mode=nolines heights=500px widths=520px>
<gallery mode=nolines heights=500px widths=520px>
Line 108: Line 110:
</gallery>
</gallery>
}}
}}
{{KV|opacityOffsetBottom|intn=opacityoffsetbottom|float|opacityOffsetBottom
{{KV|opacityOffsetBottom|intn=opacityoffsetbottom|float|
Offsets bottom color of xog.
Offsets bottom color of xog.
}}
}}
{{expand|title=Examples|
:{{expand|title=Examples|
<br>
<br>
<gallery mode=nolines heights=500px widths=520px>
<gallery mode=nolines heights=500px widths=520px>
Line 119: Line 121:
</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.
}}
}}
{{expand|title=Examples|
:{{expand|title=Examples|
<br>
<br>
<gallery mode=nolines heights=500px widths=520px>
<gallery mode=nolines heights=500px widths=520px>
Line 130: Line 132:
</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.
}}
}}
{{expand|title=Examples|
:{{expand|title=Examples|
<br>
<br>
<gallery mode=nolines heights=500px widths=520px>
<gallery mode=nolines heights=500px widths=520px>
Line 141: Line 143:
</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.
}}
}}
{{expand|title=Examples|
:{{expand|title=Examples|
<br>
<br>
<gallery mode=nolines heights=500px widths=520px>
<gallery mode=nolines heights=500px widths=520px>
Line 152: Line 154:
</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.
}}
}}
{{expand|title=Examples|
:{{expand|title=Examples|
<br>
<br>
<gallery mode=nolines heights=500px widths=520px>
<gallery mode=nolines heights=500px widths=520px>
Line 166: Line 168:
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|
:{{expand|title=Examples|
<br>
<br>
<gallery mode=packed heights=290px widths=320px>
<gallery mode=packed heights=290px widths=320px>
Line 177: Line 179:
Layer one, tiling speed at which noise moves trough xog volume (X Y Z).
Layer one, tiling speed at which noise moves trough xog volume (X Y Z).
}}
}}
{{expand|title=Examples|
:{{expand|title=Examples|
<br>
<br>
<gallery mode=nolines heights=500px widths=520px>
<gallery mode=nolines heights=500px widths=520px>
Line 188: Line 190:
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=Examples|
:{{expand|title=Examples|
<br>
<br>
<gallery mode=packed heights=290px widths=320px>
<gallery mode=packed heights=290px widths=320px>
Line 199: Line 201:
Layer two, tiling speed at which noise moves trough xog volume (X Y Z).
Layer two, tiling speed at which noise moves trough xog volume (X Y Z).
}}
}}
{{expand|title=Examples|
:{{expand|title=Examples|
<br>
<br>
<gallery mode=nolines heights=500px widths=520px>
<gallery mode=nolines heights=500px widths=520px>
Line 210: Line 212:
Contrast of xog.
Contrast of xog.
}}
}}
{{expand|title=Examples|
:{{expand|title=Examples|
<br>
<br>
<gallery mode=nolines heights=500px widths=520px>
<gallery mode=nolines heights=500px widths=520px>
Line 221: Line 223:
Multiplier of xog.
Multiplier of xog.
}}
}}
{{expand|title=Examples|
:{{expand|title=Examples|
<br>
<br>
<gallery mode=nolines heights=500px widths=520px>
<gallery mode=nolines heights=500px widths=520px>
Line 229: Line 231:
</gallery>
</gallery>
}}
}}
== Inputs ==
{{I|InputApplySettings|param=void|Trigger to apply settings.}}


== See also ==
== See also ==

Latest revision as of 06:31, 27 May 2025

Xog settings.png

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

C++ Class hierarchy
CNewXogGlobal
CBaseEntity
newxog_settings in Black Mesa: Improved Xen. You can see here how xog gradually turn green and more more intense.
Todo: Rework page and replace .gif files with video links.


Keyvalues

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