Skybox swapper: Difference between revisions
Jump to navigation
Jump to search
Note:Due the engine difference, this entity doesn't actually work in
Mapbase
No edit summary |
SirYodaJedi (talk | contribs) (→FGD Code: update manual cats 🐈⬛) |
||
Line 24: | Line 24: | ||
<!-- for cats not added by {{this is a}} template --> | <!-- for cats not added by {{this is a}} template --> | ||
[[Category:Mapbase entities]] | [[Category:Mapbase entities]] | ||
[[Category:Mapbase point entities]] | [[Category:Mapbase point entities]]> | ||
[[Category:Counter-Strike: Source entities]] | |||
[[Category:Counter-Strike: Source point entities]] | |||
[[Category:Day of Defeat: Source entities]] | |||
[[Category:Day of Defeat: Source point entities]] | |||
[[Category:Half-Life Deathmatch: Source entities]] | |||
[[Category:Half-Life Deathmatch: Source point entities]] | |||
[[Category:Half-Life 2: Deathmatch entities]] | |||
[[Category:Half-Life 2: Deathmatch point entities]] | |||
[[Category:Team Fortress 2 entities]] | [[Category:Team Fortress 2 entities]] | ||
[[Category:Team Fortress 2 point entities]] | [[Category:Team Fortress 2 point entities]] | ||
Revision as of 13:29, 11 March 2025
![]() |
---|
CSkyboxSwapper |
![]() |
skybox_swapper
is a point entity available in all Source games since
Alien Swarm. It is also available in
Team Fortress 2 branch and
Mapbase.
Precaches and replaces the current 2D skybox material with another. Functionally equivalent to sv_skyname, even using the command in its functionality.


Keyvalues
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
- Skybox Material Name (SkyboxName) <sky name>
- The name of the skybox to change to.
Inputs
- Trigger
- Triggers the skybox change.
FGD Code
@PointClass base(Targetname) iconsprite("editor/skybox_swapper.vmt") = skybox_swapper : "An entity that precaches skybox materials and swaps them on trigger." [ SkyboxName(string) : "Skybox Material Name" : "" input Trigger(void) : "Swap to this skybox." ]
>
Categories:
- CServerOnlyEntity
- Point entities
- Source base entities
- Mapbase entities
- Mapbase point entities
- Counter-Strike: Source entities
- Counter-Strike: Source point entities
- Day of Defeat: Source entities
- Day of Defeat: Source point entities
- Half-Life Deathmatch: Source entities
- Half-Life Deathmatch: Source point entities
- Half-Life 2: Deathmatch entities
- Half-Life 2: Deathmatch point entities
- Team Fortress 2 entities
- Team Fortress 2 point entities