WaveSchedule { StartingCurrency 10000 RespawnWaveTime 1 SpawnTemplate "altspells" PointTemplates { temp_spells_flag_2 { game_text { "targetname" "uniquespelltext" "channel" "4" "fadeout" "0.5" "holdtime" "9.5" "x" "-1" "y" "0.25" "origin" "1836 -8460 1424" } item_teamflag { "targetname" "flag_spells_teamflag" "flag_icon" "../hud/objectives_ticketcase" "flag_model" "models/props_halloween/hwn_spellbook_upright_major_noparticle.mdl" "gametype" "1" "neutraltype" "1" "returntime" "30" "tags" "spell_carrier" "teamnum" "3" "trail_effect" "3" "visiblewhendisabled" "1" "origin" "1836 -8460 1424" "OnDrop" "flag_spells_teamflag,Kill,,30,-1" "OnDrop" "flag_spells_trigger_touch,Enable,,0,-1" "OnPickupTeam2" "flag_spells_teamflag,SetTeam,2,0,-1" "OnDrop" "flag_spells_teamflag,ShowTimer,30,0,-1" "OnDrop" "flag_spells_teamflag,AddOutput,renderfx 10,25,-1" "OnPickupTeam2" "flag_spells_relay,CancelPending,,0,-1" "OnPickupTeam2" "flag_spells_relay,Kill,,0.1,-1" "OnDrop" "flag_spells_trigger_touch_cond,Kill,,30,-1" "OnDrop" "flag_spells_trigger_touch_cond,Enable,,0,-1" "OnDrop" "flag_spells_trigger_touch_underworld,Kill,,30,-1" "OnDrop" "flag_spells_trigger_touch_underworld,Enable,,0,-1" "OnDrop" "flag_spells_rot_sound,Open,,0,-1" } trigger_once { "targetname" "flag_spells_trigger_touch" "filtername" "filter_redteam" "parentname" "flag_spells_teamflag" "spawnflags" "1" "startdisabled" "1" "origin" "1836 -8460 1424" "mins" "-20 -20 -16" "maxs" "20 20 16" "OnStartTouch" "flag_spells_teamflag,ForceResetAndDisableSilent,,0,-1" "OnStartTouch" "flag_spells_teamflag,Kill,,0.5,-1" "OnStartTouch" "flag_spells_rot_sound,Kill,,0.02,-1" } filter_tf_bot_has_tag { "targetname" "flag_spell_filter_underworld" "require_all_tags" "1" "tags" "spell_underworld" "origin" "1836 -8460 1424" "OnPass" "flag_spells_trigger_touch_cond,Kill,,0,-1" "OnPass" "uniquespelltext,addoutput,message Underworld Spell,0,-1" "OnPass" "uniquespelltext,addoutput,color 127 0 255,0,-1" } filter_tf_bot_has_tag { "targetname" "flag_spell_filter_crits" "require_all_tags" "1" "tags" "spell_crits" "origin" "1836 -8460 1424" "OnPass" "flag_spells_trigger_touch_cond,AddOutput,condition 34,0,-1" "OnPass" "flag_spells_trigger_touch_underworld,Kill,,0,-1" "OnPass" "uniquespelltext,addoutput,message Critical Spell,0,-1" "OnPass" "uniquespelltext,addoutput,color 255 75 75,0,-1" } filter_tf_bot_has_tag { "targetname" "flag_spell_filter_haste" "require_all_tags" "1" "tags" "spell_haste" "origin" "1836 -8460 1424" "OnPass" "flag_spells_trigger_touch_cond,AddOutput,condition 113,0,-1" "OnPass" "flag_spells_trigger_touch_underworld,Kill,,0,-1" "OnPass" "uniquespelltext,addoutput,message Haste Spell,0,-1" "OnPass" "uniquespelltext,addoutput,color 255 127 0,0,-1" } filter_tf_bot_has_tag { "targetname" "flag_spell_filter_regen" "require_all_tags" "1" "tags" "spell_regen" "origin" "1836 -8460 1424" "OnPass" "flag_spells_trigger_touch_cond,AddOutput,condition 73,0,-1" "OnPass" "flag_spells_trigger_touch_underworld,Kill,,0,-1" "OnPass" "uniquespelltext,addoutput,message Regen Spell,0,-1" "OnPass" "uniquespelltext,addoutput,color 75 255 75,0,-1" } filter_tf_bot_has_tag { "targetname" "flag_spell_filter_vacc_b" "require_all_tags" "1" "tags" "spell_vacc_b" "origin" "1836 -8460 1424" "OnPass" "flag_spells_trigger_touch_cond,AddOutput,condition 67,0,-1" "OnPass" "flag_spells_trigger_touch_underworld,Kill,,0,-1" "OnPass" "uniquespelltext,addoutput,message Bullet Immunity Spell,0,-1" "OnPass" "uniquespelltext,addoutput,color 100 127 255,0,-1" } filter_tf_bot_has_tag { "targetname" "flag_spell_filter_vacc_e" "require_all_tags" "1" "tags" "spell_vacc_e" "origin" "1836 -8460 1424" "OnPass" "flag_spells_trigger_touch_cond,AddOutput,condition 68,0,-1" "OnPass" "flag_spells_trigger_touch_underworld,Kill,,0,-1" "OnPass" "uniquespelltext,addoutput,message Blast Immunity Spell,0,-1" "OnPass" "uniquespelltext,addoutput,color 75 200 75,0,-1" } filter_tf_bot_has_tag { "targetname" "flag_spell_filter_vacc_f" "require_all_tags" "1" "tags" "spell_vacc_f" "origin" "1836 -8460 1424" "OnPass" "flag_spells_trigger_touch_cond,AddOutput,condition 69,0,-1" "OnPass" "flag_spells_trigger_touch_underworld,Kill,,0,-1" "OnPass" "uniquespelltext,addoutput,message Fire Immunity Spell,0,-1" "OnPass" "uniquespelltext,addoutput,color 255 150 50,0,-1" } trigger_once { "targetname" "flag_spells_trigger_touch_blu" "filtername" "filter_blueteam" "spawnflags" "1" "origin" "1836 -8460 1424" "mins" "-20 -20 -16" "maxs" "20 20 16" "OnStartTouch" "flag_spell_filter_crits,TestActivator,,0,-1" "OnStartTouch" "flag_spell_filter_haste,TestActivator,,0,-1" "OnStartTouch" "flag_spell_filter_regen,TestActivator,,0,-1" "OnStartTouch" "flag_spell_filter_underworld,TestActivator,,0,-1" "OnStartTouch" "flag_spell_filter_vacc_b,TestActivator,,0,-1" "OnStartTouch" "flag_spell_filter_vacc_e,TestActivator,,0,-1" "OnStartTouch" "flag_spell_filter_vacc_f,TestActivator,,0,-1" "OnStartTouch" "flag_spell_filter_vacc_f,Kill,,0.1,-1" "OnStartTouch" "flag_spell_filter_vacc_e,Kill,,0.1,-1" "OnStartTouch" "flag_spell_filter_vacc_b,Kill,,0.1,-1" "OnStartTouch" "flag_spell_filter_underworld,Kill,,0.1,-1" "OnStartTouch" "flag_spell_filter_regen,Kill,,0.1,-1" "OnStartTouch" "flag_spell_filter_haste,Kill,,0.1,-1" "OnStartTouch" "flag_spell_filter_crits,Kill,,0.1,-1" } trigger_add_tf_player_condition { "targetname" "flag_spells_trigger_touch_cond" "condition" "-1" "duration" "10" "filtername" "filter_redteam" "parentname" "flag_spells_teamflag" "spawnflags" "1" "startdisabled" "1" "origin" "1836 -8460 1424" "mins" "-20 -20 -16" "maxs" "20 20 16" "OnStartTouch" "flag_spells_trigger_touch_cond,Kill,,0.02,-1" "OnStartTouch" "uniquespelltext,Display,,0,-1" } trigger_teleport { "targetname" "flag_spells_trigger_touch_underworld" "filtername" "filter_redteam" "parentname" "flag_spells_teamflag" "spawnflags" "1" "startdisabled" "1" "target" "spawn_loot" "origin" "1836 -8460 1424" "mins" "-20 -20 -16" "maxs" "20 20 16" "OnStartTouch" "flag_spells_trigger_touch_underworld,Kill,,0.02,-1" } func_door_rotating { "targetname" "flag_spells_rot_sound" "disablereceiveshadows" "1" "disableshadows" "1" "distance" "360" "noise1" "Halloween.Merasmus_Float" "noise2" "Halloween.Merasmus_TP_Out" "parentname" "flag_spells_teamflag" "spawnflags" "8" "speed" "12.4" "wait" "4" "origin" "1824 -8448 1452" "mins" "-8 -8 -12" "maxs" "8 8 12" } } altspells { logic_relay { "onspawn" "temp_spells_flag,kill,,0,-1" "onspawn" "spelltext,kill,,0,-1" "onspawn" "temp_spells_flag_2,addoutput,targetname temp_spells_flag,0.02,-1" "onspawn" "!self,kill,,0.05,-1" } } } Wave { StartWaveOutput { Target wave_start_relay Action Trigger } DoneOutput { Target wave_finished_relay Action Trigger } WaveSpawn { Where spawnbot TotalCount 1 WaitBeforeStarting 9999 TFBot { Class Scout ClassIcon hellmet_blank } } WaveSpawn { Where spawnbot_spell MaxActive 1 Support 1 WaitBeforeStarting 1 TFBot { Scale 1.5 Class Soldier Tag spell_haste NoBombUpgrades 1 SuppressTimedFetchFlag 1 Skill Expert Attributes SuppressFire Attributes DisableDodge } } WaveSpawn { Where spawnbot MaxActive 1 Support 1 TFBot { Class Soldier Tag spell_crits NoBombUpgrades 1 SuppressTimedFetchFlag 1 Skill Expert Attributes SuppressFire Attributes DisableDodge } } } }