Newxog settings: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
  
		
	
MyGamepedia (talk | contribs) No edit summary  | 
				MyGamepedia (talk | contribs)  No edit summary  | 
				||
| (8 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
[[File:newxog_settings.gif|  | {{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.  | ||
{{  | {{CDA|CNewXogGlobal|CBaseEntity|}}  | ||
[[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 ==  | |||
==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 14: | 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|  | {{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 22: | 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 36: | 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 47: | 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 57: | 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 67: | Line 66: | ||
</gallery>  | </gallery>  | ||
}}  | }}  | ||
{{KV|distStart|intn=diststart|float|  | {{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 78: | Line 77: | ||
</gallery>  | </gallery>  | ||
}}  | }}  | ||
{{KV|distEnd|intn=distend|float|  | {{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 89: | Line 88: | ||
</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.  | ||
}}  | }}  | ||
{{expand|title=Examples|  | :{{expand|title=Examples|  | ||
<br>  | <br>  | ||
<gallery mode=nolines heights=500px widths=520px>  | <gallery mode=nolines heights=500px widths=520px>  | ||
| Line 100: | Line 99: | ||
</gallery>  | </gallery>  | ||
}}  | }}  | ||
{{KV|opacityOffsetTop|intn=opacityoffsettop|float|  | {{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 111: | Line 110: | ||
</gallery>  | </gallery>  | ||
}}  | }}  | ||
{{KV|opacityOffsetBottom|intn=opacityoffsetbottom|float|  | {{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 122: | Line 121: | ||
</gallery>  | </gallery>  | ||
}}  | }}  | ||
{{KV|htZStart|intn=htzstart|float|  | {{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 133: | Line 132: | ||
</gallery>  | </gallery>  | ||
}}  | }}  | ||
{{KV|htZEnd|intn=htzend|float|  | {{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 144: | Line 143: | ||
</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.  | ||
}}  | }}  | ||
{{expand|title=Examples|  | :{{expand|title=Examples|  | ||
<br>  | <br>  | ||
<gallery mode=nolines heights=500px widths=520px>  | <gallery mode=nolines heights=500px widths=520px>  | ||
| Line 155: | Line 154: | ||
</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.  | ||
}}  | }}  | ||
{{expand|title=Examples|  | :{{expand|title=Examples|  | ||
<br>  | <br>  | ||
<gallery mode=nolines heights=500px widths=520px>  | <gallery mode=nolines heights=500px widths=520px>  | ||
| Line 169: | 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 180: | 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 191: | 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 202: | 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 213: | 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 224: | 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 232: | Line 231: | ||
</gallery>  | </gallery>  | ||
}}  | }}  | ||
== Inputs ==  | |||
{{I|InputApplySettings|param=void|Trigger to apply settings.}}  | |||
== See also ==  | == See also ==  | ||
Latest revision as of 05:31, 27 May 2025
newxog_settings  is a   logical entity  available in 
 Black Mesa. This entity allows dynamically change some parameters for newxog_global and newxog_volume entities.
| CNewXogGlobal | 
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: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 
htZColEndvalue. 
Examples 
- htZColEnd (htzcolend) <float>
 - Height that xog color stops rendering at. Results depend on 
htZColStartvalue. 
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
- 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)
 





