#base robot_standard.pop #base robot_giant.pop // WAVE 1 - 0$ + B(100$) // ------------------- // TOTAL - 0$ + B(100$) WaveSchedule { StartingCurrency 30000 RespawnWaveTime 0 CanBotsAttackWhileInSpawnRoom no RespawnWaveTime 0 WaveStartCountdown 1 FixWavespawnReserveSlotsOnDisabledSpawnbot 1 // Fix wavespawn reserving slots even when spawnbot is disabled, mandatory for this script Templates { } LuaScriptFile "scripts/medic_buster_controller.lua" LuaScriptFile "scripts/bot_med_hunter_sniper.lua" PointTemplates { MedBuster { logic_relay { "targetname" "MedBusterDisable" "ontrigger" "spawnbot_medBuster,Disable,,0,-1" } logic_relay { "targetname" "MedBusterEnable" "ontrigger" "spawnbot_medBuster,Enable,,0,-1" } OnSpawnOutput { Target "popscript" Action "$MedicBusterController" Delay 0.01 } } MedHunterSniper { OnSpawnOutput { Target "popscript" Action "$MedHunterSniper" Delay 0.01 } } } ExtraSpawnPoint //Example med spawn, here so the script can fire { Name "spawnbot_medBuster" TeamNum 2 X "1556.81" //One unit offset to z, might change Y "851.11" Z "16.33" } SpawnTemplate "MedBuster" // WAVE 1 [$0] Wave { StartWaveOutput { Target wave_start_relay Action Trigger } DoneOutput { Target wave_finished_relay Action Trigger } WaveSpawn { TotalCurrency 100 TotalCount 999 MaxActive 3 SpawnCount 1 WaitBeforeStarting 0 WaitBetweenSpawns 15 Where spawnbot //spawnbot_medBuster TFBot { Skill Expert Class Sniper Name "Medic Hunter Sniper" ClassIcon "sniper_med_hunter" Item "The Flamingo Kid" Item "The Doublecross-Comm" Item "Sniper's Snipin' Glass" MaxVisionRange 3000 ItemAttributes { ItemName "TF_WEAPON_SNIPERRIFLE" "special item description" "DROPSHIELDONHIT" "subtract victim medigun charge on hit" 50 } Action Sniper PreferClass Medic //stacking this on to further reinforce med preference SpawnTemplate { Name "MedHunterSniper" } FireInput { Target !self Action $PlaySound Param "mvm\mvm_tele_deliver.wav" Delay 0 Repeats 1 } } } WaveSpawn { TotalCurrency 100 TotalCount 999 MaxActive 1 SpawnCount 1 WaitBeforeStarting 0 WaitBetweenSpawns 25 Where spawnbot //spawnbot_medBuster TFBot { Template T_TFBot_Giant_Soldier_Spammer_Reload Action Mobber } } WaveSpawn { TotalCurrency 100 TotalCount 999 MaxActive 1 SpawnCount 1 WaitBeforeStarting 0 WaitBetweenSpawns 15 Where spawnbot_medBuster //spawnbot_medBuster TFBot { Template T_TFBot_SentryBuster PreferClass Medic Action SuicideBomber Attributes IgnoreEnemies } } WaveSpawn { TotalCurrency 100 TotalCount 999 MaxActive 7 SpawnCount 1 WaitBeforeStarting 0 WaitBetweenSpawns 0.35 Support 1 Where spawnbot_front TFBot { Class Heavy Skill Expert WeaponRestrictions MeleeOnly Action Mobber AddCond { Name TF_COND_REPROGRAMMED } } } WaveSpawn { TotalCurrency 100 TotalCount 999 MaxActive 5 SpawnCount 1 WaitBeforeStarting 0 WaitBetweenSpawns 0.4 Support 1 Where spawnbot TFBot { Class Heavy Skill Expert WeaponRestrictions MeleeOnly Action Mobber } } } }