Skip to content

Instantly share code, notes, and snippets.

@sigsegv-mvm
Created October 2, 2015 22:17
Show Gist options
  • Save sigsegv-mvm/ad3aba220fb299db92c3 to your computer and use it in GitHub Desktop.
Save sigsegv-mvm/ad3aba220fb299db92c3 to your computer and use it in GitHub Desktop.
Mission that uses popfile entity IO triggers to only close the deathpit gate while a chief is active
#base robot_giant.pop
#base robot_standard.pop
WaveSchedule
{
StartingCurrency 5000
RespawnWaveTime 2
CanBotsAttackWhileInSpawnRoom no
AddSentryBusterWhenDamageDealtExceeds 1000000
AddSentryBusterWhenKillCountExceeds 10000
Advanced 1
Wave
{
Checkpoint Yes
StartWaveOutput
{
Target wave_start_relay
Action Trigger
}
DoneOutput
{
Target wave_finished_relay
Action trigger
}
WaveSpawn
{
Name "1a"
Where spawnbot
TotalCount 40
MaxActive 20
SpawnCount 10
WaitBeforeStarting 0
WaitBetweenSpawns 5
TotalCurrency 0
TFBot
{
Template T_TFBot_Scout_Fish
}
}
WaveSpawn
{
Name "1b"
WaitForAllDead "1a"
Where spawnbot
TotalCount 1
MaxActive 1
SpawnCount 1
WaitBeforeStarting 0
WaitBetweenSpawns 0
TotalCurrency 0
// when the chief spawns, enable the deathpit gate
FirstSpawnOutput
{
Target door_boss_relay_open
Action trigger
}
// when the chief is dead, disable the deathpit gate
DoneOutput
{
Target door_boss_relay_close
Action trigger
}
TFBot
{
Template T_TFBot_Chief_Pyro
}
}
WaveSpawn
{
Name "1c"
WaitForAllDead "1b"
Where spawnbot
TotalCount 80
MaxActive 20
SpawnCount 10
WaitBeforeStarting 0
WaitBetweenSpawns 5
TotalCurrency 0
// this would be another way to do it but the DoneOutput on the WaveSpawn for the chief was good enough
// StartWaveOutput
// {
// Target door_boss_relay_close
// Action trigger
// }
TFBot
{
Template T_TFBot_Scout_Fish
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment