User:Rustiznotch/TF2 Simple Instant Spawn Tutorial
Solution from joe at joe.to forums
logic_auto
- Create / edit a logic_auto entity on the map.
- In the outputs tab of the entity's properties, duplicate the following:
- OnMultiNewRound, tf_gamerules, setblueteamrespawnwavetime, 0
- OnMultiNewRound, tf_gamerules, setredteamrespawnwavetime, 0
- OnMultiNewMap, tf_gamerules, setblueteamrespawnwavetime, 0
- OnMultiNewMap, tf_gamerules, setredteamrespawnwavetime, 0
- OnMapSpawn, tf_gamerules, setblueteamrespawnwavetime, 0
- OnMapSpawn, tf_gamerules, setredteamrespawnwavetime, 0
- Done, unless the map is multi-phase.
- If the map is multi-phase, create / edit a team_round_timer entity on the map.
- In the outputs tab of the entity's properties, duplicate the following:
- On4MinRemain, tf_gamerules, addblueteamrespawnwavetime, 0
- On3MinRemain, tf_gamerules, addblueteamrespawnwavetime, 0
- On2MinRemain, tf_gamerules, addblueteamrespawnwavetime, 0
- On4MinRemain, tf_gamerules, addredteamrespawnwavetime, 0
- On3MinRemain, tf_gamerules, addredteamrespawnwavetime, 0
- On2MinRemain, tf_gamerules, addredteamrespawnwavetime, 0
- OnRoundStart, tf_gamerules, setredteamrespawnwavetime, 0
- OnRoundStart, tf_gamerules, setblueteamrespawnwavetime, 0