Animated skybox?

Discussion in 'Mapping Questions & Discussion' started by Trini8ed, Mar 26, 2010.

  1. Trini8ed

    Trini8ed L1: Registered

    Messages:
    28
    Positive Ratings:
    7
    Would it be possible to make the materials of the skybox to have animations?
     
  2. Firest0rm

    Firest0rm L4: Comfortable Member

    Messages:
    171
    Positive Ratings:
    33
    It may be possible with material proxies, but if not (I assume you would want clouds/sun to have animation) you might be able to get away with a func_movelinear or something that moves the thing you want animated around the sky
     
  3. l3eeron

    l3eeron L8: Fancy Shmancy Member

    Messages:
    594
    Positive Ratings:
    85
    I think the right way to do this is with skybox models parented to a tracktrain in the 3dskybox.

    There are cloud models and plane models...

    Use env_sun to place a static sun in the sky





    I'm pretty sure, the sky itself will be static no matter proxies you use. But that's just a hunch.
     
  4. grazr

    aa grazr Old Man Mutant Ninja Turtle

    Messages:
    5,436
    Positive Ratings:
    3,561
    I'd go into details about how to do this, but just take a look at 2fort's skybox. (sdk_ctf_2fort.vmf in your maps folder).

    The clouds are set up on "cards" and rotate 'around the map'.
     
  5. The Political Gamer

    aa The Political Gamer

    Messages:
    4,468
    Positive Ratings:
    1,682
    But that only works in g-mod. :E
     
  6. honorum646

    honorum646 L6: Sharp Member

    Messages:
    335
    Positive Ratings:
    66
    Ask Aly, she's got clouds that move in Cloudburst. >.>
     
  7. The Political Gamer

    aa The Political Gamer

    Messages:
    4,468
    Positive Ratings:
    1,682
    I think those are done with path_tracks or func_moveliners
     
  8. Terr

    aa Terr Cranky Coder

    Messages:
    1,591
    Positive Ratings:
    405
    The 2fort clouds are indeed worth looking at, as long as you remember that they don't work due to a not-yet-patched bug that breaks func_rotating in TF2.

    You can easily get them working again with a physics motor, just be sure to turn off all of the settings for dynamic shadows or physics collisions.
     
  9. Nutomic

    Nutomic L11: Posh Member

    Messages:
    888
    Positive Ratings:
    177
    I dont believe prop_physics will ever be fixed :O
     
  10. Terr

    aa Terr Cranky Coder

    Messages:
    1,591
    Positive Ratings:
    405
    Trini8ed: Perhaps you could be a bit more detailed on the kind of effect you want.
     
  11. Tapp

    Tapp L10: Glamorous Member

    Messages:
    776
    Positive Ratings:
    211
    Wait, the skybox materials are just vtf files. While I can't imagine it running smoothly or looking good is should be possible to use animating vtf files.