Question about Surf maps

Discussion in 'Mapping Questions & Discussion' started by combatfetus, Dec 15, 2009.

  1. combatfetus

    combatfetus L1: Registered

    Messages:
    18
    Positive Ratings:
    1
    Hey guys, just have a quick question for a surf map I'm making.
    Is there a way to have a trigger enter a server command into the console when a map is loaded/game is started? I know that sv_airaccelerate 100 needs to be entered in order to surf (are there any others?), and I am guessing that there must be a way for the map to load this command and do it. Or is this only server-based, meaning surf servers would already have this command done?
    Thanks.
     
  2. FaTony

    FaTony Banned

    Messages:
    902
    Positive Ratings:
    160
    logic_auto -> OnMultiRoundStart -> point_servercommand -> Command -> sv_airaccelerate 100
     
  3. NovaSilisko

    aa NovaSilisko L42: Life, the Universe and Everything

    Messages:
    502
    Positive Ratings:
    129
    SURF MAPS? IN MY TEAM FORTRESS 2 MAPPING SITE?

    [​IMG]
     
    • Thanks Thanks x 1
  4. combatfetus

    combatfetus L1: Registered

    Messages:
    18
    Positive Ratings:
    1
    Thanks fatony. That's what I thought, but wasn't sure. Although the game gives me the error: "unknown command air_acc..."

    @nova: ?
     
  5. Kelao

    Kelao L1: Registered

    Messages:
    1
    Positive Ratings:
    0
    Sv_airaccelerate is a "hidden" command in TF2, meaning you'll need the Sourcemod plugin to change the value.

    This is done using the command "sm_cvar sv_airaccelerate ###".
    Normal values are 100 for normal maps and 150 for the skillmaps.

    So ultimately, you cannot make a surfmap work for everyone.