Instant respawn

Discussion in 'Mapping Questions & Discussion' started by That's the plan, Sep 24, 2018.

  1. That's the plan

    That's the plan L4: Comfortable Member

    Messages:
    183
    Positive Ratings:
    37
    How do I make it so that when the player dies they instantly respawn? is there a entity for that?
     
  2. Narpas

    aa Narpas Takes way to long to make and update maps

    Messages:
    428
    Positive Ratings:
    409
    tf_gamerules is the entity that controls respawn wave times. To have a respawn wave time of zero (instant respawn after deathcam plays), create a tf_gamerules entity and a logic_auto entity, then add the output "OnMapSpawn" (or "OnMultiNewRound" for a multi staged map) targeting your gamerules entity with the input "Set[Red/Blue]TeamRespawnWaveTime" with a parameter override of respawn wave time you want, in this case 0. I'd also recommend reading up on the wiki how respawn waves work to get a better understanding of how TF2 handles respawning. You can also pass a game_forcespawn entity the input "ForceTeamRespawn" with a parameter override of either 2 or 3 to instantly respawn everybody on either Red or Blue respectively
     
    • Agree Agree x 2
    • Like Like x 1
  3. That's the plan

    That's the plan L4: Comfortable Member

    Messages:
    183
    Positive Ratings:
    37
    Thanks man, appreciate the help. Problem solved :)
     
  4. Dr. Orange

    Dr. Orange L6: Sharp Member

    Messages:
    388
    Positive Ratings:
    292