Force blue team soldier on map spawn

Discussion in 'Mapping Questions & Discussion' started by DrGains, Dec 8, 2014.

  1. DrGains

    DrGains L1: Registered

    Messages:
    24
    Positive Ratings:
    1
    Hey guys I need another hand with something.
    OnMapSpawn:
    -Force Blue Team
    -Force Soldier
    -Cannot Join Red Team
    -Also the 'Delay' it takes for the player to start moving
     
  2. Fantasma

    aa Fantasma

    Messages:
    886
    Positive Ratings:
    981
    Typically just make a red spawn room with insta death, and make the exit rocket jump only.

    Or a filter of some kind. If that doesn't work post again!
     
  3. DrGains

    DrGains L1: Registered

    Messages:
    24
    Positive Ratings:
    1
    No I was looking for something that worked instantly, this map is for a single player jump story.
    I have this so far: cl_class soldier; mp_humans_must_join_team blue |Executed through point_servercommand, but all this does is prevent players from joining red.
     
  4. Izotope

    aa Izotope Never releases maps

    Messages:
    625
    Positive Ratings:
    590
    Let cl_class soldier be executed through point_clientcommand.

    Use a trigger for this
    OnStartTouch -> point_clientcommand -> Command
     
    • Thanks Thanks x 1
  5. henke37

    aa henke37

    Messages:
    1,926
    Positive Ratings:
    454
    Doesn't the training maps do exactly this?
     
  6. iiboharz

    aa iiboharz Meme Queen

    Messages:
    720
    Positive Ratings:
    1,052
    Yeah, true. But I don't think this will work for OP's situation as I'm sure that the way training mode does it is specific to that gamemode.
     
  7. DrGains

    DrGains L1: Registered

    Messages:
    24
    Positive Ratings:
    1
    Well I think I can live with what I got. Thanks izotope, still dont know when to use point_servercommand, point_clientcommand, and tf_gamerules. The whole point of this though is to get a better start time for the global timer I have made.

    [Edit] I thought of a simple work-around for the timer:
    -OnMapSpawn relay_start_time
    -Add env_global times
    -relay_stop_time
    -Have a trigger surrounding player where relay_start_timer OnStartTouch

    *If that doesnt work, then it looks like time-start will have to initiate for as fast as you can join..
     
    Last edited: Dec 8, 2014