Surfing air accelerate?

Discussion in 'Mapping Questions & Discussion' started by Afterglow375, Apr 29, 2013.

  1. Afterglow375

    Afterglow375 L1: Registered

    Messages:
    25
    Positive Ratings:
    0
    Is there a way to make a map have the same air acceleration as in surf servers? Or better yet, just sections of a map, maybe a trigger entity of some type?
     
  2. colacan

    colacan L5: Dapper Member

    Messages:
    235
    Positive Ratings:
    66
    trigger_push pushes things, so you might want to use that.
     
  3. Phraggah

    Phraggah L1: Registered

    Messages:
    1
    Positive Ratings:
    1

    As far as I know, the specific effect of sv_airaccelerate is a server variable. This variable is locked in normal tf2 and you need a mod like SourceMod to allow you to change it on your own server. This is also what surf servers do.

    As far as changing mid game, you can make triggers change the actual airaccelerate value using a point_servercommand, but this would not be a valid solution for a multiplayer map where you would have different clients in different areas all needing different values at the same time. To my knowledge, nothing like that is built into Source, so you would probably have to do some coding (meaning make your own mod at the very least. You may not be able to do this without the source to the actual engine.)

    The only thing I could really think of is using push triggers to simulate different values of airaccelerate, but that seems like it would be clumsy, innacurate and hard to quantify/test but YMMV.

    If you are willing to share, you could try to explain what you are going for and there may be another way of doing so.
     
    • Thanks Thanks x 1
  4. Mr. Happy

    Mr. Happy L6: Sharp Member

    Messages:
    320
    Positive Ratings:
    144