Recreating rotating posters from HL:S/BM

Discussion in 'Mapping Questions & Discussion' started by Thanks4TheDiscordBanIibo, Aug 23, 2015.

  1. Thanks4TheDiscordBanIibo

    aa Thanks4TheDiscordBanIibo

    Messages:
    49
    Positive Ratings:
    49
    -snip, quitting-
     
    Last edited: Dec 31, 2018
  2. Ynders

    aa Ynders absolutely gormful

    Messages:
    406
    Positive Ratings:
    534
    If I remember correctly, func_rotating doesn't work in tf2. You could probably create a similar effect with a func_door_rotating, however.
     
    • Thanks Thanks x 1
  3. Pocket

    aa Pocket func_croc

    Messages:
    4,491
    Positive Ratings:
    2,381
    Does "poster" mean something completely different in non-American English or am I forgetting something significant about Half-Life?
     
  4. Crash

    aa Crash func_nerd

    Messages:
    3,193
    Positive Ratings:
    5,031
    • Thanks Thanks x 1
  5. spudboy

    spudboy L1: Registered

    Messages:
    37
    Positive Ratings:
    6
    Fun fact: the spinning speed symbols on pass_warehouse all use func_door_rotating. That's what I would try if I were you.
     
  6. Pocket

    aa Pocket func_croc

    Messages:
    4,491
    Positive Ratings:
    2,381
    Ah. Yeah, this is a rare case where using func_door_rotating instead should be no problem, because you'd want it to fire periodically on a loop anyway rather than just rotate continuously.

    Though this is the sort of thing that would probably just be a dynamic prop nowadays; betcha almost anything the ones in Black Mesa are.
     
  7. worMatty

    aa worMatty Repacking Evangelist

    Messages:
    1,072
    Positive Ratings:
    836
    If you make this part of a SourceMod plugin you'd have to distribute it with your map. Also I'm not sure you can really do what you need to, because the movement is built in to the game engine. It's 'Q Physics', or the basic physics engine (not VPhysics) that is responsible for the movement of brushes and player collision with them. I don't think you can manipulate it to such a degree using a server-side mod.

    Crash's link is the best built-in entity to use because you can send an input to the rotating brushes asking them to rotate to an exact position. If your poster segments are square, those positions would be 0.25, 0.5, 0.75 and 1/0. But steve is right, that kind of thing is typically seen in dynamic props because it's far more efficient, so if you can do that in a 3D program like Blender, that'd be the best solution.
     
  8. Pocket

    aa Pocket func_croc

    Messages:
    4,491
    Positive Ratings:
    2,381
    The other cool thing about doing it in an external modeling program is that you can use trilons and have it rotate between three posters instead of just two. (Four, to quote Monty Python, is right out, due to the pieces getting jammed up against each other when they try to turn.) Making perfect equilateral triangles in Hammer is impossible, but in a 3D modeling tool, it's one of the more stupidly simple things you can do.
     
  9. Tumbolisu

    aa Tumbolisu  I ⌄ I 

    Messages:
    966
    Positive Ratings:
    956
    I think triangular pieces would "jam up" exactly the same way.
     
  10. Pocket

    aa Pocket func_croc

    Messages:
    4,491
    Positive Ratings:
    2,381
    Nope. When a square turns so that one of its corners is pointing up, there's another one pointing down. Triangles don't, so there's nothing for it to snag on. (Wow, it took me forever to put into words what would have been clear with an animated diagram.)
     
  11. YM

    aa YM LVL100 YM

    Messages:
    7,099
    Positive Ratings:
    5,920
    U wot m8?

    [​IMG]

    This is as perfect as you're going to get out of any 3D package. Plus I even made a guide brush so you can line your origin up with the proper centre of the triangle rather than the centre of the bounding box.
     
    • Thanks Thanks x 1
    Last edited: Aug 25, 2015
  12. worMatty

    aa worMatty Repacking Evangelist

    Messages:
    1,072
    Positive Ratings:
    836
    Sounds good. I remember being told a while ago that HMX compiled some of their Deathrun maps without any entity data, and used a plugin to load it in to the server, so that if a map was ever taken, it would be useless. Good luck in your endeavour. And give any server organisation who steal your stuff a f*** you from me.
     
    • Thanks Thanks x 1
  13. Pocket

    aa Pocket func_croc

    Messages:
    4,491
    Positive Ratings:
    2,381
    Betcha almost anything it does something funny when you save and reload because it's off-grid. I can't even get it to hold on to a brush that snaps to a ½-HU grid because of some quirk of how it stores less-than-whole numbers.
     
  14. YM

    aa YM LVL100 YM

    Messages:
    7,099
    Positive Ratings:
    5,920
    Just tried. It's still absolutely the same, definitely as good as you'd get with any 3D package.
     
  15. Pocket

    aa Pocket func_croc

    Messages:
    4,491
    Positive Ratings:
    2,381
    Does it let you rotate the individual trilons and use that to apply the texture so it all lines up? That's the moment of truth.
     
  16. YM

    aa YM LVL100 YM

    Messages:
    7,099
    Positive Ratings:
    5,920
    As I said
    What's your beef with triangular prisms?
     
  17. Lain

    aa Lain heath ledger with some dreads

    Messages:
    748
    Positive Ratings:
    688
    This is the perfect thread for the tf2c dm map im planning, thanks everybody.