Skybox switching?

ParanoidPan

L1: Registered
Sep 28, 2012
12
0
Is there anyway to add in a button to the map that, when shot, changes the skybox? Not sure whether or not this is a noob question, but a quick scan of the search results showed nothing, so why not?
 

Freyja

aa
Jul 31, 2009
2,994
5,813
It's not possible through mapping. The skybox is set on compile.

It might be possible through a server plugin that dynamically replaces the texture, but I have no idea if there's one that does that or if it's possible.
 

henke37

aa
Sep 23, 2011
2,075
515
It is however easy to fake. Just put an inverted cube around the 3d skybox and reskin that at runtime.
 

Micnax

Back from the dead (again)
aa
Apr 25, 2009
2,109
1,585
It is however easy to fake. Just put an inverted cube around the 3d skybox and reskin that at runtime.

Or an inverted dome, which some UDK games do (and I think there's a skydome for TF2 as well? I know 2fort uses a circular clouds props to get rotaing clouds in 2fort but I'm unsure if there was an actual dome)

It's pretty easy to make, just create an internal dome in a modelling program, set different skins to it, place it in the 3D skybox and then you can dynamically change the skin depending on the button state. Should be noted that skybox lighting wouldn't change, and would be pretty impossible to have change dynamically.
 

Beetle

L9: Fashionable Member
Aug 17, 2008
627
178
Doesn't that red train map do something like this? I forgot the name of the map, and I feel stupid for forgetting it.
 

A Boojum Snark

Toraipoddodezain Mazahabado
aa
Nov 2, 2007
4,775
7,669
Using the sky-in-the-3Dsky method won't look the same, and is generally noticeable. The real skybox is always rendered at a set distance from the player so you never see parallaxing, which will occur using an object-based sky.