Skybox switching?

Discussion in 'Mapping Questions & Discussion' started by ParanoidPan, Nov 1, 2012.

  1. ParanoidPan

    ParanoidPan L1: Registered

    Messages:
    12
    Positive Ratings:
    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?
     
  2. Freyja

    aa Freyja ¯\_(ツ)_/¯

    Messages:
    2,819
    Positive Ratings:
    4,661
    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.
     
    • Thanks Thanks x 1
  3. ParanoidPan

    ParanoidPan L1: Registered

    Messages:
    12
    Positive Ratings:
    0
    Oh well, thanks for the answer.
     
  4. henke37

    aa henke37

    Messages:
    1,837
    Positive Ratings:
    420
    It is however easy to fake. Just put an inverted cube around the 3d skybox and reskin that at runtime.
     
  5. Micnax

    aa Micnax I maek map

    Messages:
    2,021
    Positive Ratings:
    1,339
    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.
     
  6. Beetle

    Beetle L9: Fashionable Member

    Messages:
    627
    Positive Ratings:
    141
    Doesn't that red train map do something like this? I forgot the name of the map, and I feel stupid for forgetting it.
     
  7. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,769
    Positive Ratings:
    5,521
    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.