Skip to content

Instantly share code, notes, and snippets.

@sigsegv-mvm
Created February 9, 2017 22:01
Show Gist options
  • Save sigsegv-mvm/9ddb920516f469b5fb86d3bf4b5003d1 to your computer and use it in GitHub Desktop.
Save sigsegv-mvm/9ddb920516f469b5fb86d3bf4b5003d1 to your computer and use it in GitHub Desktop.
Did you know: pop templates aren't just for TFBot blocks
WaveSchedule
{
Templates
{
T_TFBot_SquadLeader
{
// (TFBot stuff)
}
T_TFBot_SquadMember
{
// (TFBot stuff)
}
T_WaveSpawn_NeatoSquad
{
Where spawnbot
TotalCount 20
MaxActive 10
SpawnCount 5
Squad
{
TFBot
{
Template T_TFBot_SquadLeader
}
TFBot
{
Template T_TFBot_SquadMember
}
TFBot
{
Template T_TFBot_SquadMember
}
TFBot
{
Template T_TFBot_SquadMember
}
TFBot
{
Template T_TFBot_SquadMember
}
}
}
}
Wave
{
WaveSpawn
{
Template T_WaveSpawn_NeatoSquad
Name "neato_a"
// stuff that's unique to "neato_a" compared to the base template:
WaitBeforeStarting 0
WaitBetweenSpawns 5
TotalCurrency 200
}
WaveSpawn
{
Template T_WaveSpawn_NeatoSquad
Name "neato_b"
// stuff that's unique to "neato_b" compared to the base template:
WaitForAllDead "neato_a"
WaitBeforeStarting 45
WaitBetweenSpawns 10
TotalCurrency 150
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment