"moving skybox"

Discussion in 'Mapping Questions & Discussion' started by AWESOME-O, Aug 22, 2008.

  1. AWESOME-O

    AWESOME-O L10: Glamorous Member

    Messages:
    782
    Positive Ratings:
    66
    Hey, long time no serious posted, but here it goes.

    You guys all know ctf_convoy i guess?
    Well, the walls are all moving, the cart doesnt move but the skybox moves.
    I decompiled the map to search how it worked (Sorry maker of ctf_convoy)
    But i still don't understand how to make these walls, i'm sure i've asked this before but when i searched for the topic i couldn't find it :(
    So, someone knows how to make these walls?
     
  2. samn

    samn L4: Comfortable Member

    Messages:
    158
    Positive Ratings:
    47
    The cliffs and floor all use animated textures to give the appearance that it is moving
     
    • Thanks Thanks x 1
  3. AWESOME-O

    AWESOME-O L10: Glamorous Member

    Messages:
    782
    Positive Ratings:
    66
    Yeah i know, but how do you make animated textures?
     
  4. YM

    aa YM LVL100 YM

    Messages:
    7,099
    Positive Ratings:
    5,739
    The VMT makes them scroll, run a search in the VDC
     
    • Thanks Thanks x 1
  5. AWESOME-O

    AWESOME-O L10: Glamorous Member

    Messages:
    782
    Positive Ratings:
    66
    hmm thanks, but still can't find anything in the VDC (Or i'm just blind)
     
  6. FaTony

    FaTony Banned

    Messages:
    902
    Positive Ratings:
    160
    my map - cp_train - has a broken moving skybox, based on sereval tracktrains.
     
    Last edited by a moderator: Aug 27, 2008
  7. AWESOME-O

    AWESOME-O L10: Glamorous Member

    Messages:
    782
    Positive Ratings:
    66
    explantion how you did it?
     
  8. samn

    samn L4: Comfortable Member

    Messages:
    158
    Positive Ratings:
    47
    Hmm, FaTony always seems to post 'I know how to do it' but never bothers to give an explanation.
     
  9. MangyCarface

    aa MangyCarface Mapper

    Messages:
    1,616
    Positive Ratings:
    1,275
    "Proxies"
    {
    "TextureScroll"
    {
    "texturescrollvar" "$baseTextureTransform"
    "texturescrollrate" .15
    "texturescrollangle" 270.00
    }
    }

    One example. As you can see it moves at a rate of .15/tick and moves in the direction specified, that is, down.
     
    • Thanks Thanks x 1
  10. FaTony

    FaTony Banned

    Messages:
    902
    Positive Ratings:
    160
    Learned most of the skills reading VDC. It's really a great resource. And I actually unveiled the key of my moving skybox -> func_tracktrain. I most likely will post a tutorial on that after the release of cp_train.
     
    Last edited by a moderator: Aug 27, 2008
  11. Nineaxis

    aa Nineaxis Quack Doctor

    Messages:
    1,767
    Positive Ratings:
    1,403
    Nothing is less helpful than saying "Smart people should know how to do it already".
     
  12. Shmitz

    aa Shmitz Old Hat

    Messages:
    1,129
    Positive Ratings:
    740
    Moving the entire skybox via func_tracktrain is a terrible idea, particularly when the original poster is asking about a map that just has movement in a straight line, where the animated textures work fine and don't have anywhere near the performance overhead of moving entities.

    Knowing why something is done is far more important than just knowing how.
     
  13. AWESOME-O

    AWESOME-O L10: Glamorous Member

    Messages:
    782
    Positive Ratings:
    66
    you got a thanks, i'll try out this weekend, gotta hurry for school now :)
     
  14. FaTony

    FaTony Banned

    Messages:
    902
    Positive Ratings:
    160
    Valve does not make maps crash, bad mapping practices do (I'm aware of the irony)
     
    Last edited by a moderator: Aug 27, 2008
  15. Nineaxis

    aa Nineaxis Quack Doctor

    Messages:
    1,767
    Positive Ratings:
    1,403
    Take it as an omen.
     
  16. Vander

    Vander L8: Fancy Shmancy Member

    Messages:
    507
    Positive Ratings:
    110
    Removed to lessen the drama
     
    Last edited by a moderator: Aug 27, 2008
  17. FaTony

    FaTony Banned

    Messages:
    902
    Positive Ratings:
    160
    Removed to lessen the drama
     
    Last edited by a moderator: Aug 27, 2008
  18. AWESOME-O

    AWESOME-O L10: Glamorous Member

    Messages:
    782
    Positive Ratings:
    66
    i just wonder, this is possible to do on a skybox 2?
    That the skybox stays on 1 place?

    PS: i know my schoolday is short :D
     
  19. Uriak

    Uriak L8: Fancy Shmancy Member

    Messages:
    543
    Positive Ratings:
    70
    You could try... but I highly doubt that the illusion would work. (I think of the transition between "front" and "back" sky faces and the "up" and "sides" face of your skybox.

    Maybe a 3d skybox with large cloud layers scrolling... and fog to help mix the whole thing at the "front" and "end" of your skybox...
     
    • Thanks Thanks x 1
  20. Zmathue

    Zmathue L2: Junior Member

    Messages:
    72
    Positive Ratings:
    14
    No I just tested 2d and 3d skybox's with this, it doesn't work because even though the texture shifts the "skycamera" always updates the area around it.
     
    Last edited: Aug 28, 2008