WaveSchedule { //LuaScriptFile "scripts/shortcircuit_airblast.lua" PointTemplates { giant_intel { //main flag NoFixup 1 item_teamflag { "angles" "0 0 0" "flag_icon" "../hud/objectives_flagpanel_carried" "flag_model" "models/props_td/atom_bomb.mdl" "flag_paper" "player_intel_papertrail" "flag_trail" "flagtrail" "GameType" "1" "NeutralType" "1" "PointValue" "0" "ReturnBetweenWaves" "1" "ReturnTime" "10" "ScoringType" "0" "ShotClockMode" "0" "targetname" "become_giant" "TeamNum" "3" "trail_effect" "1" "VisibleWhenDisabled" "0" "origin" "-832 -5872 -97.3283" //pickup "OnPickup1" "!activator,$AddCond,32,0,-1" //"OnPickup1" "!activator,$RemoveCond,32,10,-1" "OnPickup1" "!activator,$AddCond,65,0,-1" "OnPickup1" "!activator,$Regenerate,,0,-1" "OnPickup1" "disp_test_bound,Enable,,0,-1" "OnPickup1" "!activator,$DisplayTextCenter,You have 60 seconds before you automatically die!,5,-1" "OnPickup1" "secondhand2,SetValue,60,1,-1" "OnPickup1" "realtimer2,Trigger,,1,-1" "OnPickup1" "is_scout,TestActivator,!activator,0,-1" "OnPickup1" "is_soldier,TestActivator,!activator,0,-1" "OnPickup1" "is_pyro,TestActivator,!activator,0,-1" "OnPickup1" "is_demo,TestActivator,!activator,0,-1" "OnPickup1" "is_heavy,TestActivator,!activator,0,-1" "OnPickup1" "is_medic,TestActivator,!activator,0,-1" //drop "OnDrop1" "!self,ForceReset,,0,-1" "OnDrop1" "disp_test_bound,Disable,,0,-1" "OnDrop1" "return,Show,,0,-1" "OnDrop1" "generic_killgiant,Hurt,,0.01,-1" "OnDrop1" "is_scout_modelset,TestActivator,!activator,0,-1" "OnDrop1" "is_soldier_modelset,TestActivator,!activator,0,-1" "OnDrop1" "is_pyro_modelset,TestActivator,!activator,0,-1" "OnDrop1" "is_demo_modelset,TestActivator,!activator,0,-1" "OnDrop1" "is_heavy_modelset,TestActivator,!activator,0,-1" "OnDrop1" "is_medic_modelset,TestActivator,!activator,0,-1" "OnDrop1" "generic_killgiant,FireUser1,,1,-1" //"OnDrop1" "!activator,$RemoveCond,65,0,-1" } //filters //scout filter_tf_class { "Negated" "0" "targetname" "is_scout" "tfclass" "1" //player "OnPass" "!activator,$AddPlayerAttribute,max health additive bonus|1475,0,-1" "OnPass" "!activator,$AddPlayerAttribute,ammo regen|1,0,-1" "OnPass" "!activator,$AddPlayerAttribute,damage force reduction|0.7,0,-1" "OnPass" "!activator,$AddPlayerAttribute,airblast vulnerability multiplier|0.7,0,-1" "OnPass" "!activator,$AddPlayerAttribute,is miniboss|1,0,-1" "OnPass" "!activator,$AddPlayerAttribute,cannot upgrade|1,0,-1" "OnPass" "!activator,$AddPlayerAttribute,patient overheal penalty|0,0,-1" "OnPass" "!activator,$AddPlayerAttribute,health from packs decreased|0.5,0,-1" "OnPass" "!activator,$AddPlayerAttribute,cancel falling damage|1,0,-1" "OnPass" "!activator,$AddPlayerAttribute,no resupply|1,0,-1" "OnPass" "!activator,SetCustomModelWithClassAnimations,models\bots\scout_boss\bot_scout_boss.mdl,,0,-1" //weps "OnPass" "random_scout_weapon_grant,PickRandom,,0,-1" } //soldier filter_tf_class { "Negated" "0" "targetname" "is_soldier" "tfclass" "3" //player "OnPass" "!activator,$AddPlayerAttribute,max health additive bonus|3800,0,-1" "OnPass" "!activator,$AddPlayerAttribute,ammo regen|1,0,-1" "OnPass" "!activator,$AddPlayerAttribute,move speed penalty|0.5,0,-1" "OnPass" "!activator,$AddPlayerAttribute,damage force reduction|0.3,0,-1" "OnPass" "!activator,$AddPlayerAttribute,airblast vulnerability multiplier|0.3,0,-1" "OnPass" "!activator,$AddPlayerAttribute,is miniboss|1,0,-1" "OnPass" "!activator,$AddPlayerAttribute,cannot upgrade|1,0,-1" "OnPass" "!activator,$AddPlayerAttribute,patient overheal penalty|0,0,-1" "OnPass" "!activator,$AddPlayerAttribute,no resupply|1,0,-1" "OnPass" "!activator,$AddPlayerAttribute,health from packs decreased|0.5,0,-1" "OnPass" "!activator,$AddPlayerAttribute,cancel falling damage|1,0,-1" "OnPass" "!activator,SetCustomModelWithClassAnimations,models\bots\soldier_boss\bot_soldier_boss.mdl,,0,-1" //weps "OnPass" "random_soldier_weapon_grant,PickRandom,,0,-1" } //pyro filter_tf_class { "Negated" "0" "targetname" "is_pyro" "tfclass" "7" //player "OnPass" "!activator,$AddPlayerAttribute,max health additive bonus|2825,0,-1" "OnPass" "!activator,$AddPlayerAttribute,ammo regen|1,0,-1" "OnPass" "!activator,$AddPlayerAttribute,move speed penalty|0.5,0,-1" "OnPass" "!activator,$AddPlayerAttribute,damage force reduction|0.55,0,-1" "OnPass" "!activator,$AddPlayerAttribute,airblast vulnerability multiplier|0.55,0,-1" "OnPass" "!activator,$AddPlayerAttribute,is miniboss|1,0,-1" "OnPass" "!activator,$AddPlayerAttribute,cannot upgrade|1,0,-1" "OnPass" "!activator,$AddPlayerAttribute,no resupply|1,0,-1" "OnPass" "!activator,$AddPlayerAttribute,patient overheal penalty|0,0,-1" "OnPass" "!activator,$AddPlayerAttribute,health from packs decreased|0.5,0,-1" "OnPass" "!activator,$AddPlayerAttribute,cancel falling damage|1,0,-1" "OnPass" "!activator,SetCustomModelWithClassAnimations,models\bots\pyro_boss\bot_pyro_boss.mdl,,0,-1" //weps "OnPass" "random_pyro_weapon_grant,PickRandom,,0,-1" } //demo filter_tf_class { "Negated" "0" "targetname" "is_demo" "tfclass" "4" //player "OnPass" "!activator,$AddPlayerAttribute,max health additive bonus|2825,0,-1" "OnPass" "!activator,$AddPlayerAttribute,ammo regen|1,0,-1" "OnPass" "!activator,$AddPlayerAttribute,move speed penalty|0.5,0,-1" "OnPass" "!activator,$AddPlayerAttribute,damage force reduction|0.4,0,-1" "OnPass" "!activator,$AddPlayerAttribute,airblast vulnerability multiplier|0.4,0,-1" "OnPass" "!activator,$AddPlayerAttribute,is miniboss|1,0,-1" "OnPass" "!activator,$AddPlayerAttribute,cannot upgrade|1,0,-1" "OnPass" "!activator,$AddPlayerAttribute,no resupply|1,0,-1" "OnPass" "!activator,$AddPlayerAttribute,patient overheal penalty|0,0,-1" "OnPass" "!activator,$AddPlayerAttribute,health from packs decreased|0.5,0,-1" "OnPass" "!activator,$AddPlayerAttribute,cancel falling damage|1,0,-1" "OnPass" "!activator,SetCustomModelWithClassAnimations,models\bots\demo_boss\bot_demo_boss.mdl,,0,-1" //weps "OnPass" "random_demo_weapon_grant,PickRandom,,0,-1" } filter_tf_class { "Negated" "0" "targetname" "is_heavy" "tfclass" "6" //player "OnPass" "!activator,$AddPlayerAttribute,max health additive bonus|4700,0,-1" "OnPass" "!activator,$AddPlayerAttribute,ammo regen|1,0,-1" "OnPass" "!activator,$AddPlayerAttribute,move speed penalty|0.5,0,-1" "OnPass" "!activator,$AddPlayerAttribute,damage force reduction|0.2,0,-1" "OnPass" "!activator,$AddPlayerAttribute,airblast vulnerability multiplier|0.2,0,-1" "OnPass" "!activator,$AddPlayerAttribute,is miniboss|1,0,-1" "OnPass" "!activator,$AddPlayerAttribute,no resupply|1,0,-1" "OnPass" "!activator,$AddPlayerAttribute,cannot upgrade|1,0,-1" "OnPass" "!activator,$AddPlayerAttribute,patient overheal penalty|0,0,-1" "OnPass" "!activator,$AddPlayerAttribute,health from packs decreased|0.5,0,-1" "OnPass" "!activator,$AddPlayerAttribute,cancel falling damage|1,0,-1" "OnPass" "!activator,SetCustomModelWithClassAnimations,models\bots\heavy_boss\bot_heavy_boss.mdl,,0,-1" //weps "OnPass" "random_heavy_weapon_grant,PickRandom,,0,-1" } filter_tf_class { "Negated" "0" "targetname" "is_medic" "tfclass" "5" //player "OnPass" "!activator,$AddPlayerAttribute,max health additive bonus|4350,0,-1" "OnPass" "!activator,$AddPlayerAttribute,ammo regen|1,0,-1" "OnPass" "!activator,$AddPlayerAttribute,move speed penalty|0.5,0,-1" "OnPass" "!activator,$AddPlayerAttribute,damage force reduction|0.55,0,-1" "OnPass" "!activator,$AddPlayerAttribute,airblast vulnerability multiplier|0.55,0,-1" "OnPass" "!activator,$AddPlayerAttribute,is miniboss|1,0,-1" "OnPass" "!activator,$AddPlayerAttribute,cannot upgrade|1,0,-1" "OnPass" "!activator,$AddPlayerAttribute,no resupply|1,0,-1" "OnPass" "!activator,$AddPlayerAttribute,patient overheal penalty|0,0,-1" "OnPass" "!activator,$AddPlayerAttribute,health from packs decreased|0.5,0,-1" "OnPass" "!activator,$AddPlayerAttribute,cancel falling damage|1,0,-1" "OnPass" "!activator,SetCustomModelWithClassAnimations,models\bots\medic\bot_medic.mdl,,0,-1" //weps "OnPass" "random_medic_weapon_grant,PickRandom,,0,-1" } //resetmodels NoFixup 1 //scout filter_tf_class { "Negated" "0" "targetname" "is_scout_modelset" "tfclass" "1" "OnPass" "!activator,SetCustomModelWithClassAnimations,models\player\scout.mdl,,0,-1" } //soldier filter_tf_class { "Negated" "0" "targetname" "is_soldier_modelset" "tfclass" "3" "OnPass" "!activator,SetCustomModelWithClassAnimations,models\player\soldier.mdl,,0,-1" } //pyro filter_tf_class { "Negated" "0" "targetname" "is_pyro_modelset" "tfclass" "7" //player "OnPass" "!activator,SetCustomModelWithClassAnimations,models\player\pyro.mdl,,0,-1" } //demo filter_tf_class { "Negated" "0" "targetname" "is_demo_modelset" "tfclass" "4" "OnPass" "!activator,SetCustomModelWithClassAnimations,models\player\demo.mdl,,0,-1" } filter_tf_class { "Negated" "0" "targetname" "is_heavy_modelset" "tfclass" "6" "OnPass" "!activator,SetCustomModelWithClassAnimations,models\player\heavy.mdl,,0,-1" } //med filter_tf_class { "Negated" "0" "targetname" "is_medic_modelset" "tfclass" "5" "OnPass" "!activator,SetCustomModelWithClassAnimations,models\player\medic.mdl,,0,-1" } logic_case { "Case01" "1" "Case02" "2" "Case03" "3" "Case04" "4" "Case05" "5" "targetname" "random_scout_weapon_grant" "OnCase01" "!activator,$GiveItem,Spammer Scout,0,-1" "OnCase01" "!activator,$DisplayTextCenter,You are Giant Spammer Scout!,0,-1" "OnCase02" "!activator,$GiveItem,FAN Scout,0,-1" "OnCase02" "!activator,$DisplayTextCenter,You are Giant FAN Scout!,0,-1" "OnCase03" "!activator,$GiveItem,Cleaver Combo,0,-1" "OnCase03" "!activator,$GiveItem,Armored Sandman Scout,0,-1" "OnCase03" "!activator,$WeaponStripSlot,0,0,-1" "OnCase03" "!activator,$AddPlayerAttribute,health regen|3000,0,-1" "OnCase03" "!activator,$RemovePlayerAttribute,health regen,1.5,-1" "OnCase03" "!activator,$WeaponSwitchSlot,2,0.5,-1" "OnCase03" "!activator,$DisplayTextCenter,You are Giant Armored Combo Scout!,0,-1" "OnCase04" "!activator,$GiveItem,Shortstop Scout,0,-1" "OnCase04" "!activator,$DisplayTextCenter,You are Giant Shortstop Scout!,0,-1" "OnCase04" "!activator,$AddPlayerAttribute,health regen|400,0,-1" "OnCase04" "!activator,$RemovePlayerAttribute,health regen,1.5,-1" "OnCase05" "!activator,$GiveItem,Pistol Scout,0,-1" "OnCase05" "!activator,$DisplayTextCenter,You are Giant Pistol Scout!,0,-1" "OnCase05" "!activator,$WeaponSwitchSlot,1,0,-1" } logic_case { "Case01" "1" "Case02" "2" "Case03" "3" "Case04" "4" "Case04" "5" "targetname" "random_soldier_weapon_grant" "OnCase01" "!activator,$GiveItem,Spammer Soldier,0,-1" "OnCase01" "!activator,$DisplayTextCenter,You are Giant Spammer Soldier!,0,-1" "OnCase02" "!activator,$GiveItem,Burst Soldier,0,-1" "OnCase02" "!activator,$DisplayTextCenter,You are Giant Burst Fire Soldier!,0,-1" "OnCase03" "!activator,$GiveItem,Black Box Soldier,0,-1" "OnCase03" "!activator,$DisplayTextCenter,You are Giant Black Box Soldier!,0,-1" "OnCase04" "!activator,$GiveItem,Crit Soldier,0,-1" "OnCase04" "!activator,$DisplayTextCenter,You are Giant Crit Soldier!,0,-1" "OnCase05" "!activator,$GiveItem,Homing Soldier,0,-1" "OnCase05" "!activator,$DisplayTextCenter,You are Giant Homing Soldier!,0,-1" } logic_case { "Case01" "1" "Case02" "2" "Case03" "3" "Case04" "4" //"Case04" "5" "targetname" "random_pyro_weapon_grant" "OnCase01" "!activator,$GiveItem,Flare Pyro,0,-1" "OnCase01" "!activator,$DisplayTextCenter,You are Giant Flare Spammer Pyro!,0,-1" "OnCase02" "!activator,$GiveItem,Burst Flare Pyro,0,-1" "OnCase02" "!activator,$DisplayTextCenter,You are Giant Burst Flare Pyro!,0,-1" "OnCase03" "!activator,$GiveItem,Nuker Pyro,0,-1" "OnCase03" "!activator,$DisplayTextCenter,You are Giant Nuker Pyro!,0,-1" //"OnCase05" "!activator,$GiveItem,Rocket Pyro,0,-1" //"OnCase05" "!activator,$DisplayTextCenter,You are Circuit Pyro! Fire Orbs that delete projectiles on airblast!,0,-1" "OnCase04" "!activator,$GiveItem,monkey's carry,0,-1" "OnCase04" "!activator,$GiveItem,Giant Pyro,0,-1" "OnCase04" "!activator,$DisplayTextCenter,You are Explosive Gas Pyro!,0,-1" } logic_case { "Case01" "1" "Case02" "2" "Case03" "3" "Case04" "4" "Case05" "5" "Case06" "6" "targetname" "random_demo_weapon_grant" "OnCase01" "!activator,$GiveItem,Spammer Demo,0,-1" "OnCase01" "!activator,$DisplayTextCenter,You are Giant Demo Spammer!,0,-1" "OnCase02" "!activator,$GiveItem,Burst Demo,0,-1" "OnCase02" "!activator,$DisplayTextCenter,You are Giant Burst Demo!,0,-1" "OnCase03" "!activator,$GiveItem,Demoknight,0,-1" //"OnCase03" "!activator,$GiveItem,The Chargin' Targe,0,-1" "OnCase03" "!activator,$GiveItem,Ali Baba's Wee Booties,0,-1" "OnCase03" "!activator,$GiveItem,Demotarge,0,-1" "OnCase03" "!activator,$DisplayTextCenter,You are Demoknight!,0,-1" "OnCase04" "!activator,$GiveItem,Sir Nukesalot,0,-1" "OnCase04" "!activator,$DisplayTextCenter,You are Sir Nukesalot!,0,-1" "OnCase05" "!activator,$GiveItem,Burst Sticky Demo,0,-1" "OnCase05" "!activator,$WeaponSwitchSlot,1,0.5,-1" "OnCase05" "!activator,$DisplayTextCenter,You are Burst Sticky Demo!,0,-1" "OnCase06" "!activator,$GiveItem,Spammer Sticky Demo,0,-1" "OnCase06" "!activator,$WeaponSwitchSlot,1,0.5,-1" "OnCase06" "!activator,$DisplayTextCenter,You are Spamming Sticky Demo!,0,-1" } logic_case { "Case01" "1" "Case02" "2" "Case03" "3" "Case04" "4" "targetname" "random_heavy_weapon_grant" "OnCase01" "!activator,$GiveItem,Giant Deflector Heavy,0,-1" "OnCase01" "!activator,$DisplayTextCenter,You are Giant Deflector Heavy!,0,-1" "OnCase02" "!activator,$GiveItem,Giant Shotgun,0,-1" "OnCase02" "!activator,$WeaponSwitchSlot,1,0,-1" "OnCase02" "!activator,$DisplayTextCenter,You are Giant Shotgun Heavy!,0,-1" "OnCase03" "!activator,$GiveItem,Heater Heavy,0,-1" "OnCase03" "!activator,$DisplayTextCenter,You are Giant Heater Heavy!,0,-1" "OnCase04" "!activator,$GiveItem,Captain Punch,0,-1" "OnCase04" "!activator,$DisplayTextCenter,You are Captain Punch!,0,-1" "OnCase04" "!activator,$AddPlayerAttribute,health regen|7500,0.5,-1" "OnCase04" "!activator,$AddPlayerAttribute,$WeaponSwitchSlot|2,0,-1" "OnCase04" "!activator,$RemovePlayerAttribute,health regen,1.5,-1" } logic_case { "Case01" "1" "Case02" "2" "Case03" "3" //"Case04" "4" "targetname" "random_medic_weapon_grant" "OnCase01" "!activator,$GiveItem,Giant Medic,0,-1" "OnCase01" "!activator,$DisplayTextCenter,You are Giant Medic!,0,-1" "OnCase02" "!activator,$GiveItem,Quick-Uber Medic,0,-1" "OnCase02" "!activator,$DisplayTextCenter,You are Giant Quick-Uber!,0,-1" "OnCase03" "!activator,$GiveItem,Shield Medic,0,-1" "OnCase03" "!activator,$DisplayTextCenter,You are Giant Shield Medic!,0,-1" //"OnCase04" "!activator,$GiveItem,XBow Medic,0,-1" //"OnCase04" "!activator,$DisplayTextCenter,You are Xbow Medic!,0,-1" } //timer (courtesy of lite) OnParentKilledOutput { Target realtimer2 Action $cancelpending } logic_relay { "targetname" "giant_relay" "startdisabled" "1" "ontrigger" "generic_killgiant,Hurt,,1,-1" "ontrigger" "generic_killgiant,FireUser1,,1,-1" "ontrigger" "realtimer2,$cancelpending,,2,-1" //"onspawn" "wave_start*,addoutput,ontrigger realtimer:trigger::0:-1,0,-1" //"onspawn" "wave_finish*,addoutput,ontrigger realtimer:cancelpending::0:-1,0,-1" //"onspawn" "wave_finish*,addoutput,ontrigger loserelay:cancelpending::0:-1,0,-1" } math_counter { "targetname" "minutehand2" "max" "9999" "outvalue" "timerformat2,$setkey$case01,,0,-1" "onhitmin" "giant_relay,enable,,1,-1" } math_counter { "targetname" "secondhand2" "max" "60" "outvalue" "timerformat2,$setkey$case02,,0,-1" "outvalue" "zerocompare,setvaluecompare,,0,-1" "onhitmin" "giant_relay,trigger,,1,-1" "onhitmin" "giant_relay,enable,,0,-1" //"onhitmin" "!self,setvalue,60,1,-1" //"onhitmin" "minutehand22,subtract,1,1,-1" } logic_compare { "targetname" "zerocompare" "comparevalue" "9" "onequalto" "timerformat2,$setkey$case16,%:0%,0,-1" "ongreaterthan" "timerformat2,$setkey$case16,%:%,0,-1" } logic_case { "targetname" "timerformat2" "case16" "%:%" "ondefault" "timertext2,$setkey$message,,0,-1" "ondefault" "timertext2,display,0,0,-1" } game_text { "targetname" "timertext2" "color" "65 155 255" "holdtime" "2" "spawnflags" "0" "channel" "3" "x" "0.48" "y" "-0.65" } logic_relay { "targetname" "realtimer2" "spawnflags" "2" "ontrigger" "timerformat2,$format,,0.01,-1" "ontrigger" "secondhand2,subtract,1,0,-1" "ontrigger" "!self,trigger,,1,-1" } //training annotation OnSpawnOutput { Target info_relay Action Trigger } logic_relay { "targetname" "info_relay" "spawnflags" "2" "OnTrigger" "greeting,Show,,0,-1" "OnTrigger" "warning,Show,,5,-1" "OnTrigger" "nopickup,Show,,10,-1" "OnTrigger" "teleport,Show,,15,-1" "OnTrigger" "!self,Trigger,,50,-1" } logic_auto { "targetname" "autothing" "OnMapSpawn" "wave_start_relay,AddOutput,OnTrigger info_relay*:Disable:0:-1" "OnMapSpawn" "wave_finished_relay,AddOutput,OnTrigger info_relay*:Enable:0:-1" //"OnMapSpawn" "wave_start_relay,AddOutput,OnTrigger dispenserpocket*:SetTeam:3:-1" //"OnMapSpawn" "wave_finished_relay,AddOutput,OnTrigger dispenserpocket*:SetTeam:2:-1" "OnMapSpawn" "Ironman_Mode_Intel,Kill,,0,-1" "OnMapSpawn" "Classic_Mode_Intel,Kill,,0,-1" } training_annotation { "display_text" "The bomb will transform you into a Giant!" "lifetime" "5" "offset" "0" "targetname" "greeting" "origin" "-832 -5872 -97.3283" } training_annotation { "display_text" "If you drop it you will die!" "lifetime" "5" "offset" "0" "targetname" "warning" "origin" "-832 -5872 -97.3283" } training_annotation { "display_text" "Some classes cannot pick it up." "lifetime" "5" "offset" "0" "targetname" "nopickup" "origin" "-832 -5872 -97.3283" } //training_annotation //{ // "display_text" "As a Giant, you can use the teleporter located to your left." // "lifetime" "5" // "offset" "0" // "targetname" "teleport" // "origin" "-806.806 -5964.64 -97.3283" // } training_annotation { "display_text" "Bomb has returned! Pick it up!" "lifetime" "5" "offset" "0" "targetname" "return" "origin" "-832 -5872 -97.3283" } //misc point_hurt { "origin" "-32 0 -824" "targetname" "generic_killgiant" "spawnflags" "2" "damagetype" "64" "DamageTarget" "!activator" "DamageRadius" "256" "DamageDelay" "0" "Damage" "99999" "OnUser1" "realtimer2,$CancelPending,,0,-1" } } dispenserthing { NoFixup 1 //KeepAlive 1 dispenser_touch_trigger { "targetname" "disp_test_bound" "origin" "0 0 0" "StartDisabled" "1" "mins" "-288 -288 -228" "maxs" "288 288 228" "spawnflags" "1" } mapobj_cart_dispenser { "targetname" "dispenserpocket" "touch_trigger" "disp_test_bound" "origin" "0 -12 0" "teamnum" "3" "spawnflags" "12" } OnSpawnOutput { Target dispenserpocket Action SetHealth Param 9999 } } CircuitBlast { OnSpawnOutput { Target "popscript" Action "$CircuitBlast" } } flagdetschizo { NoFixup 1 OnSpawnOutput { Target func_flagdetectionzone Action Disable } trigger_multiple { "origin" "5944 -880 432" "filtername" "check_for_blu_and_bomb" "spawnflags" "1" "StartDisabled" "0" "targetname" "trigger_thingy" "mins" "-1304 -1088 -368" "maxs" "1304 1088 368" "OnStartTouch" "func_flagdetectionzone,Enable,,0,-1" "OnEndTouch" "func_flagdetectionzone,Disable,,0,-1" } filter_multi { "Filter01" "filter_bluteam" // on map "Filter02" "bomb_carrier_filter" // spawned below "filtertype" "0" "Negated" "0" "targetname" "check_for_blu_and_bomb" "origin" "5516 -1036 417" } filter_tf_bot_has_tag { "Negated" "0" "require_all_tags" "1" "tags" "bomb_carrier" "targetname" "bomb_carrier_filter" "origin" "5388 -1207 433" } } teleredgiant { NoFixup 1 trigger_teleport { "filtername" "onlygiant" "origin" "5318.5 -1792 501.5" "spawnflags" "1" "StartDisabled" "0" "target" "red_giant_teleport_dest" "targetname" "teleport_intel" //"OnStartTouch" "player,$DisplayTextCenter,teleported,0,-1" "mins" "-61 -45 -86" "maxs" "61 45 86" } info_teleport_destination { "angles" "0 270 0" "targetname" "red_giant_teleport_dest" "origin" "775 2454 190.077" } filter_tf_condition { "condition" "65" "Negated" "0" "targetname" "onlygiant" "origin" "5376 -1664 553.778" } prop_dynamic { "angles" "0 0 0" "model" "models/buildables/teleporter_light.mdl" "modelscale" "1.0" "skin" "0" "solid" "0" "spawnflags" "0" "DefaultAnim" "running" "targetname" "teleporter" "origin" "5321 -1815 401" } } } PlayerItemEquipSpawnTemplate { Name "CircuitBlast" ItemName "Rocket Pyro" } //PlayerSpawnTemplate //{ // Name "dispenserthing" // Class Medic // Bone "prp_backpack" //} //SpawnTemplate tank_fix CustomWeapon { //Scout "Spammer Scout" { OriginalItemName "TF_WEAPON_SCATTERGUN" "fire rate bonus" 0.75 "mod max primary clip override" -1 "no double jump" 1 "mod no reload display only" 1 "damage bonus" 1.5 "provide on active" 1 "crit mod disabled" 0 "disable weapon switch" 1 } "FAN Scout" { OriginalItemName "The Force-a-Nature" // burst scout "bullets per shot bonus" 2 "clip size bonus" 2 "reload time increased" 1.7 "scattergun knockback mult" 6 "damage penalty" 0.75 "weapon spread bonus" 0.4 "crit mod disabled" 0 "no double jump" 1 "provide on active" 1 "disable weapon switch" 1 } "Shortstop Scout" { OriginalItemName "The Shortstop" "always crit" 1 "damage bonus" 1.5 "move speed bonus" 1.15 "max health additive bonus" 400 //"projectile penetration" 1 "no double jump" 1 "crit mod disabled" 0 } "Armored Sandman Scout" { OriginalItemName "The Sandman" "no double jump" 1 "always crit" 1 "damage penalty" 0.05 "dmg penalty vs players" 5 "max health additive bonus" 1400 "effect bar recharge rate increased" 0.1 "switch from wep deploy time decreased" 0.5 "max health additive penalty" 0 //"provide on active" 1 //"disable weapon switch" 1 "crit mod disabled" 0 } "Cleaver Combo" // given alongside Armored Sandman Scout { OriginalItemName "The Flying Guillotine" "crit vs burning players" 65536 "damage bonus" 3 "dmg penalty vs players" 3 "effect bar recharge rate increased" 0.1 "switch from wep deploy time decreased" 0.5 } "Pistol Scout" { OriginalItemName "TF_WEAPON_PISTOL" "bullets per shot bonus" 3 "clip size bonus" 2 "fire rate bonus" 0.8 "damage bonus" 1.5 "maxammo secondary increased" 2 "provide on active" 1 "disable weapon switch" 1 //"disable weapon switch" 1 //"provide on active" 1 } //soldier "Spammer Soldier" { OriginalItemName "TF_WEAPON_ROCKETLAUNCHER" "fire rate bonus" 0.5 "mod max primary clip override" -1 "crit mod disabled" 0 "mod no reload display only" 1 "projectile speed decreased" 0.65 } "Burst Soldier" { OriginalItemName "TF_WEAPON_ROCKETLAUNCHER" "faster reload rate" 0.6 "fire rate bonus" 0.1 "clip size upgrade atomic" 5.0 "Projectile speed decreased" 0.65 "crit mod disabled" 0 } "Black Box Soldier" { OriginalItemName "The Black Box" "fire rate bonus" 0.001 "clip size upgrade atomic" 0 "faster reload rate" 1.6 "blast radius increased" 1.25 "projectile spread angle penalty" 2 "crit mod disabled" 0 "max health additive bonus" 200 "heal on hit for rapidfire" 550 } "Crit Soldier" { OriginalItemName "The Original" "always crit" 1 "damage bonus" 1.5 "rocket specialist" 1 "blast radius increased" 1.5 "mod max primary clip override" -1 "fire rate penalty" 2 "crit mod disabled" 0 "projectile speed decreased" 0.5 } "Homing Soldier" { OriginalItemName "The Air Strike" "damage penalty" 1 "blast radius decreased" 1 "mod projectile heat seek power" 55 "mod projectile heat aim error" 30 "rocket specialist" 1 "add cond when active" 36 "mod projectile heat follow crosshair" 1 "fire rate bonus" 0.65 "faster reload rate" 0.8 "damage bonus" 1.15 "add attributes on kill" "Reload time decreased|0.75|5|fire rate bonus HIDDEN|0.75|5" } //Pyro "PROJECTILE_SHORTCIRCUIT_ORB" // used by shortcituit_airblast.lua to spawn orb { OriginalItemName "The Iron Bomber" "crit mod disabled" 0 "override projectile type extra" "mechanicalarmorb" } "Flare Pyro" { OriginalItemName "The Flare gun" "fire rate bonus" 0.2 "maxammo secondary increased" 2 "damage bonus" 2 "crit mod disabled" 0 } "Burst Flare Pyro" { OriginalItemName "The Flare gun" "mult projectile count" 6 "projectile spread angle penalty" 3 "fire rate penalty" 1.35 "projectile speed increased" 1.25 "damage penalty" 0.5 "crit mod disabled" 0 } "Nuker Pyro" { OriginalItemName "The Detonator" "always crit" 1 "blast radius increased" 2 "weapon burn dmg increased" 5 "damage bonus" 3.5 "projectile speed decreased" 0.5 //"fire rate penalty" 1.5 "crit mod disabled" 0 "self dmg push force increased" 11 } "Rocket Pyro" // unused { OriginalItemName "The Phlogistinator" "increase buff duration" 0.5 //"crit mod disabled" 0 "Special Item description" "Airblast fires Short Circuit Orbs!" } "monkey's carry" // given alongside Giant Pyro { OriginalItemName "The gas passer" "item_meter_damage_for_full_charge" 2500 "explode_on_ignite" 1 "dmg penalty vs players" 0.431429 } "Giant Pyro" { OriginalItemName "Upgradeable TF_WEAPON_FLAMETHROWER" "damage bonus" 2 "move speed bonus" 1.2 "airblast disabled" 1 } //demo "Spammer Demo" { OriginalItemName "TF_WEAPON_GRENADELAUNCHER" "fire rate bonus" 0.5 "maxammo primary increased" 2 "mod no reload display only" 1 "mod max primary clip override" -1 "crit mod disabled" 0 } "Burst Demo" { OriginalItemName "The Iron Bomber" "fire rate bonus" 0.1 "projectile spread angle penalty" 4 "faster reload rate" 0.65 //"damage bonus" 1.5 "crit mod disabled" 0 "clip size upgrade atomic" 8.0 } "Demoknight" { OriginalItemName "The Eyelander" "damage bonus" 2.5 "critboost on kill" 5 //"max health additive penalty" 0 "speed_boost_on_kill" 3 "dmg from ranged reduced" 0.6 //"health regen" 50 "max health additive bonus" 1000 "charge time increased" 2 } "Demotarge" // given the targe resists { OriginalItemName "The Splendid Screen" "attack not cancel charge" 1 "dmg taken from blast reduced" 0.7 "dmg taken from fire reduced" 0.5 } "Sir Nukesalot" { OriginalItemName "The Loose Cannon" "grenade explode on impact" 1 "grenade launcher mortar mode" 0 "damage bonus" 1.75 "blast dmg to self increased" 6 "override projectile type" 3 "crit mod disabled" 0 "Blast radius increased" 2 "fire rate penalty" 3 "mod max primary clip override" -1 //"clip size penalty" 0.25 "dmg falloff decreased" 0.5 "explosion particle" hightower_explosion "custom projectile model" "models\props_trainyard\cart_bomb_separate.mdl" "custom impact sound" "misc/doomsday_missile_explosion.wav" } "Burst Sticky Demo" { OriginalItemName "Upgradeable TF_WEAPON_PIPEBOMBLAUNCHER" "stickybomb charge rate" 0.001 "projectile range decreased" 0.45 "fire rate bonus" 0.1 "faster reload rate" 0.5 "projectile spread angle penalty" 4 //"provide on active" 1 //"disable weapon switch" 1 //"damage penalty" 0.8 "blast radius decreased" 0.6 "crit mod disabled" 0 } "Spammer Sticky Demo" { OriginalItemName "Upgradeable TF_WEAPON_PIPEBOMBLAUNCHER" "stickybomb charge rate" 0.001 "projectile range decreased" 0.45 "sticky arm time bonus" -0.2 "fire rate bonus" 0.7 "mod no reload display only" 1 "mod max primary clip override" -1 "crit mod disabled" 0 "max pipebombs decreased" -6 } //heavy "Giant Deflector Heavy" // is a direct upgrade to regular GHeavy { OriginalItemName "Deflector" //"damage bonus" 1.5 "attack projectiles" 2 "crit mod disabled" 0 "self add attributes on hit" "damage bonus|1.25|0.5|" // free 50% dmg bonus on minigun as players is cringe! Players must "work" for the damage bonus "add attributes on kill" "damage bonus|1.5|5|" // the damage bonus to be rewarded "special item description" "On Hit: Gain a 25% damage bonus for 0.5 seconds" "special item description 2" "On Kill: Gain a 50% damage bonus for 5 seconds" } "Giant Shotgun" { OriginalItemName "TF_WEAPON_SHOTGUN_HWG" "fire rate penalty" 2.5 "bullets per shot bonus" 10 "damage penalty" 0.5 "faster reload rate" 0.1 "provide on active" 1 "crit mod disabled" 0 "weapon spread bonus" 0.35 //"critboost on kill" 3 "attack projectiles" 2 "disable weapon switch" 1 // only forcing shotgun to stop heavies from being even more broken with fully upgraded miniguns "provide on active" 1 "move speed bonus" 1.2 "always crit" 1 } "Heater Heavy" { OriginalItemName "The Huo Long Heatmaker" //"damage bonus vs burning" 1.75 //"damage bonus" 1.25 // makes Heater straight up better then Deflector "damage penalty" 1 "crit mod disabled" 0 "ring of fire while aiming" 50 "add attributes on kill" "damage bonus vs burning|1.75|5|Set DamageType Ignite|1|1" // see Giant Deflector Heavy "special item description" "On Kill: Gain a 75% damage bonus vs burning on hit for 5 seconds, and bullets set players on fire for 0.5 seconds." } "Captain Punch" // melee heavy does exist except its very shitty { OriginalItemName "Fists of Steel" "fire rate bonus" 0.6 //"health regen" 250 "hidden maxhealth non buffed" 5000 "damage bonus" 5 "dmg from ranged reduced" 0.75 //"dmg from melee increased" 5 // removed because melee bots do 200% more dmg to giants globally + FOS existing penalty "provide on active" 1 // i will let heavies keep minigun here because the restricting to melee as any non-demoknight class isnt fun "crit mod disabled" 0 "add attributes on kill" "move speed bonus|1.5|3|" "special item description" "On Kill: Gain a 50% move speed bonus for 3 seconds" "no crit boost" 1 } //medic "Giant Medic" { OriginalItemName "The quick-fix" "heal rate bonus" 20 "alt-fire disabled" 1 "ubercharge rate bonus" 1 "ubercharge rate penalty" 0.001 //"medigun passive attributes owner" "mod_maxhealth_drain_rate|50|self mark for death|1" } "Quick-Uber Medic" { OriginalItemName "TF_WEAPON_MEDIGUN" "ubercharge rate bonus" 8 "uber duration bonus" -3 "overheal fill rate reduced" 0.35 } "Shield Medic" // hes slow so blocking projectiles will be more difficult, also shield is much less effective on reverse { OriginalItemName "TF_WEAPON_MEDIGUN" "generate rage on heal" 2 "increase buff duration" 8 "ubercharge rate PENALTY" 0.01 "alt-fire disabled" 1 } "XBow Medic" // unused { OriginalItemName "The Crusader's Crossbow" "can headshot" 1 "crit mod disabled" 0 "fire rate bonus" 0.6 "mod max primary clip override" -1 } } }