This article's documentation is for Source 2. Click here for more information.

Env sky: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(You know if somebody proposed that {{infotable}} isn't the best idea for entities, I wouldn't be opposed (Multipage template))
Line 1: Line 1:
[[File:Env sky.png|256px|thumb|right|The env_sky entity]]
{{infotable
{{This is a|name=env_sky|e0|engine=source2|game = SteamVR Home|game1 = Half-Life: Alyx|game2=Counter-Strike 2}} Entity that controls the skies texture as well as its fog.
|env_sky
 
|img=[[File:env sky.png]]
==Keyvalues==
|type=e0
{{KV|Sky Material (skyname)|resource:material|}}
|engine=3
{{KV|Skybox Tint Color (tint_color)|color255|Tint the skybox.}}
|in={{hla|4}} & {{cs2|4}} & {{VRHome|4}}
{{KV|Fog Type (fog_type)|choices|}}
}}
:{| class=standard-table
{{This is a|name=env_sky|e0|engine=source2|game = SteamVR Home|game1 = Half-Life: Alyx|game2=Counter-Strike 2}}
! Value || Description
{{Multipage}}
|-
| <code>0</code> || None
|-
| <code>1</code> || Distance Based
|-
| <code>2</code> || Angular
|}
 
 
{{KV|Fog Max Angle End (angular_fog_max_end)|float|}}
{{KV|Fog Max Angle Start (angular_fog_max_start)|float|}}
{{KV|Fog Min Angle Start (angular_fog_min_start)|float|}}
{{KV|Fog Min Angle End (angular_fog_min_end)|float|}}
 
 
{{KV Source 2 Targetname}}
 
{{KV Source 2 Hierarchy}}
 
{{KV Source 2 Transform}}
 
==Inputs==
 
{{I Targetname}}
 
== Outputs ==
 
{{O Targetname}}

Revision as of 08:56, 29 December 2023

env_sky
Env sky.png
TypePoint entity
EngineSource 2 Source 2
AvailabilityHalf-Life: Alyx Half-Life: Alyx & Counter-Strike 2 Counter-Strike 2 & SteamVR Home SteamVR Home
 

env_sky is an e0 available in SteamVR Home SteamVR Home, Half-Life: Alyx Half-Life: Alyx, and Counter-Strike 2 Counter-Strike 2.

Warning.pngWarning:
  • The {{{engine}}} parameter is inconsistent with the name defined by the {{source2}} template. This can most likely be fixed by setting the value of the {{{engine}}} parameter to Source 2.
    If a parameter is consistent but you're still seeing this warning, it may be an issue with the template itself. Please discuss it on the template's talk page.

Template:Multipage