Help with a moving platform?

Discussion in 'Mapping Questions & Discussion' started by Warjunkie, Jun 22, 2012.

  1. Warjunkie

    Warjunkie L1: Registered

    Messages:
    7
    Positive Ratings:
    0
    Working on my first map ever, and hoping to submit it into the KOTH contest. Not sure how that will turn out, but we'll see...

    This is what I've got so far: http://i.imgur.com/DU854.jpg

    Still learning about lights and textures (I know it's too dark, and I'm on the search for more metallic textures), but you can still see what I've got so far. The plan is to have a crashed UFO in the center of my map, with a military base surrounding it. Inside the UFO is the capture point, with this rotating bridge around it. I'm having problems with the bridge however.

    I did what 3kliksphilip's tutorial says, making the walkway a func_physbox with a motor above it. It works perfect for me apart from one little thing. There's no friction.

    If you stand on it, throw a sandvich, etc, the bridge 'slips' out from under you. Is there a way to have you move with the bridge? I added the walls along the side and got them moving with the bridge just fine, but that just adds another problem. They clip into you if the bridge moves them into your character, and you can't move until they pass.

    I tried func_rotate or whatever, but the bridge won't move because it clips into the wall a tiny bit.

    Also as an aside, is this too gimmicky? I thought it would make the map a little more dynamic, but I'm having doubts.

    Thanks!

    edit: Laying stickies on the bridge makes it stop dead, and mad milk and such bounces off of it. I can pull the rails back a bit on the outside edge so they don't get stuck there, but is there a property so they don't stick to the inside brush?
     
    Last edited: Jun 22, 2012
  2. tyler

    aa tyler snail prince, master of a ruined tower

    Messages:
    5,032
    Positive Ratings:
    3,979
    Not only is this a gimmick that won't play well, there is no way to actually do this and have it work 100% correctly. I might try a func_door_rotating or... momentary_rot_button (this one might be broken in TF2?). They all work a little different but none will really be like actual game geometry anymore. I recommend just not doing it and maybe using a different idea.
     
    • Thanks Thanks x 1
  3. Warjunkie

    Warjunkie L1: Registered

    Messages:
    7
    Positive Ratings:
    0
    Sounds good. I kind of broke my map anyway, trying to figure out how to fix it. :p Thanks!
     
  4. Mini Maracas

    Mini Maracas L1: Registered

    Messages:
    9
    Positive Ratings:
    0
    Nice! To fix the slipping off, you could have rails either side of the rotating walkway? So the players can't fall off. (Though it might be buggy)
    That's the only solution really, see how it works out! :)