// Use this Test file to test a timer/killbox #base robot_standard.pop #base robot_giant.pop #base robot_rainbowcustom.pop WaveSchedule { StartingCurrency 10000 RespawnWaveTime 0 CanBotsAttackWhileInSpawnRoom no Wave { InitWaveOutput { Target tf_gamerules Action RunScriptCode Param " IncludeScript(`popextensions_main`, getroottable()) MissionAttrs({ WaveStartCountdown = 1 })" } StartWaveOutput { Target wave_start_relay Action Trigger } DoneOutput { Target wave_finished_relay Action Trigger } Checkpoint Yes // This Map containt a premade killbox, surrounded by a trigger_hurt that deals 1 damage every half second. // Henceforth, give the bot the amount of health, double of how long your timer should last in seconds. // Along with that, don't forget to give them the Attribute IgnoreFlag WaveSpawn // !!! IMPORTANT !!! NO NEGATIVE HEALTH REGEN NEEDED !!! { Where spawnbot_killbox Name "TheTimerIsDead" TotalCount 1 MaxActive 1 SpawnCount 1 WaitBetweenSpawns 0 WaitBeforeStarting 0 TotalCurrency 0 TFBot { Name "Timer" Template T_TFBot_Giant_Soldier ClassIcon timer_lite WeaponRestrictions PrimaryOnly Attributes IgnoreFlag Attributes UseBossHealthBar Skill Expert Health 120 // 60s Scale 1.0 } } WaveSpawn { Where spawnbot_left_giant Name "balls" TotalCount 1 MaxActive 1 SpawnCount 1 WaitForAllDead TheTimerIsDead WaitBetweenSpawns 0 WaitBeforeStarting 0 TotalCurrency 0 TFBot { Name "Giant Crit Black Box Soldier" Template T_TFBot_Giant_Soldier_RocketShotgun WeaponRestrictions PrimaryOnly Attributes AlwaysCrit Skill Expert Health 45000 } } // Supports WaveSpawn { Where spawnbot_both Name "UwU" TotalCount 100 MaxActive 4 SpawnCount 1 WaitBetweenSpawns 1 WaitBeforeStarting 0 TotalCurrency 0 RandomSpawn 1 Support 1 TFBot { Name "Support Scout" Class Scout WeaponRestrictions PrimaryOnly Skill Expert } } WaveSpawn { Where spawnbot_both Name "UwU" TotalCount 100 MaxActive 4 SpawnCount 1 WaitBetweenSpawns 1 WaitBeforeStarting 0 TotalCurrency 0 RandomSpawn 1 Support 1 TFBot { Name "Support Pyro" Class Pyro WeaponRestrictions PrimaryOnly Skill Expert } } WaveSpawn { Where spawnbot_both Name "UwU" TotalCount 100 MaxActive 4 SpawnCount 1 WaitBetweenSpawns 1 WaitBeforeStarting 0 TotalCurrency 0 RandomSpawn 1 Support 1 TFBot { Name "Support Shotgun Heavy" Template T_TFBot_Heavyweapons_Shotgun WeaponRestrictions SecondaryOnly Skill Expert } } WaveSpawn { Where spawnbot_both Name "UwU" TotalCount 100 MaxActive 4 SpawnCount 1 WaitBetweenSpawns 1 WaitBeforeStarting 0 TotalCurrency 0 RandomSpawn 1 Support 1 TFBot { Name "Support Concheror Soldier" Template T_TFBot_Soldier_Concheror_Infinite Skill Expert } } WaveSpawn { Where spawnbot_both Name "UwU" TotalCount 100 MaxActive 4 SpawnCount 1 WaitBetweenSpawns 1 WaitBeforeStarting 0 TotalCurrency 0 RandomSpawn 1 Support 1 TFBot { Name "Support Crit Bowman" Template T_TFBot_Sniper_Huntsman WeaponRestrictions PrimaryOnly Attributes AlwaysCrit Skill Expert } } } }