1. Hey there Guest,

    The game servers have moved to semi-dedicated hardware and IPs have changed. Please see front page server widget for up-to-date game server information.

Animated Moving floor/moving textures.

Discussion in 'Mapping Questions & Discussion' started by jahrain, Jan 10, 2008.

  1. jahrain

    jahrain L1: Registered

    Messages:
    39
    Positive Ratings:
    2
    Is there a way of creating the illusion that a map is always moving by making the ground texture animated to move? Or at least have the floor BSP model constantly moving, then looping after a while? I tried it using a giant func_door, but the problem is that it always has to reverse back into position. It would be much better if I could the texture to just move in a linear direction at all times, but then objects on the ground will not move with it. Any ideas?
     
  2. TheBladeRoden

    TheBladeRoden L7: Fancy Member

    Messages:
    491
    Positive Ratings:
    167
    You can make a texture scrolling by making a new VMT file for it but with the TextureScroll attribute like in this tutorial. http://developer.valvesoftware.com/wiki/Flowing_Water

    For moving objects you could try a func_train that loops outside of the map or maybe an env_entity_maker might help too.
     
  3. jahrain

    jahrain L1: Registered

    Messages:
    39
    Positive Ratings:
    2
    Thanks! That worked (using the animated texture). Also, I got it to move objects by setting it to a func_conveyer. But there is still one small issue. Bullet holes, and other decals applied to it doesn't move. Is their anyway to fix this so decals like bullet holes and blood splatters move with the texture?
     
  4. DrHaphazard

    DrHaphazard L5: Dapper Member

    Messages:
    249
    Positive Ratings:
    12
    Ya making a train map jahrain? I remember CS had on once (hell probably still does) that was fun to play. Would be kinda amusing seeing people get sticky/rocket shot off.
     
  5. Logo

    Logo L3: Member

    Messages:
    115
    Positive Ratings:
    26
    I don't know if you can get the bullet holes to move (don't think you can) but you can fake it to look a little nicer.

    Simply have your moving texture and assign it to a func_detail or other entity and make it not solid. Then 1-4 units below that place a brush with nodraw that will remain solid. Now when you shoot the ground the nodraw surface will be the one that causes the bullet to explode. You should end up with no bullet mark for your shots. Not as good as moving bullet marks but at least you won't be ruining the illusion of movement with the stationary marks.