Skybox swapper: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Clarified the keyvalue)
No edit summary
Line 2: Line 2:
{{ent not in fgd}}
{{ent not in fgd}}
{{Point ent|skybox_swapper|since=Alien Swarm}}
{{Point ent|skybox_swapper|since=Alien Swarm}}
 
{{note| Also in {{tf2}}}}
== Entity description ==
== Entity description ==
Precaches and replaces the current 2D skybox material with another. Functionally equivalent to sv_skyname, even using the command in its functionality.
Precaches and replaces the current 2D skybox material with another. Functionally equivalent to sv_skyname, even using the command in its functionality.

Revision as of 00:13, 2 December 2022

Stub

This article or section is a stub. You can help by expanding it.

Icon-NotInFGD.png
This entity is not in the Alien SwarmPortal 2 FGD by default.
See below for instructions on making it available.

Template:Point ent

Note.pngNote: Also in Team Fortress 2

Entity description

Precaches and replaces the current 2D skybox material with another. Functionally equivalent to sv_skyname, even using the command in its functionality.

Keyvalues

Skybox Material Name (SkyboxName) ([todo internal name (i)]) <string>
The name of the skybox to change to.
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

Inputs

Trigger
Triggers the skybox change.


Outputs