//By StardustSpy#7172
//Please DM me on discord if you plan to use this file!

WaveSchedule
{
    //LuaScriptFile "scripts/shortcircuit_airblast.lua"

    PointTemplates
    {
        giant_intel
        {
            logic_relay
            {
                "targetname" "giant_enable"
                "spawnflags" "2"

                "OnTrigger" "become_giant,Enable,,0,-1"
                "OnTrigger" "become_minigiant,Kill,1.5,-1"
                //fix a bug where sometimes the core would be red team on spawn
                "OnTrigger" "become_giant,SetTeam,3,0.01,-1"
                "OnTrigger" "become_giant,Skin,1,0.02,-1"
                //"OnTrigger" "wave_finished*,AddOutput,OnTrigger giant_relay*:Trigger:0:-1"
            }
            //main flag
            NoFixup 1
            item_teamflag 
            {
                "angles" "0 0 0"
                "flag_icon" "../hud/objectives_flagpanel_carried"
                "flag_model" "models\props_moonbase\powersupply_flag.mdl"
                "flag_paper" "player_intel_papertrail"
                "flag_trail" "flagtrail"
                "GameType" "1"
                "NeutralType" "1"
                "PointValue" "0"
                "ReturnBetweenWaves" "1"
                "ReturnTime" "9999"
                "ScoringType" "0"
                "ShotClockMode" "0"
                "targetname" "become_giant"
                "TeamNum" "3"
                "ReturnTime" "15"

                "trail_effect" "1"
                "VisibleWhenDisabled" "0"
                "origin" "291.63 -5056 -64"
                "StartDisabled" "1"
                
                "OnReturn" "become_giant,SetTeam,3,0.01,-1"
                "OnReturn" "become_giant,Skin,1,0.02,-1"

                //"OnDrop1" "flag_pickup_count,Subtract,1,0,-1"

                //red
                "OnPickup1" "filter_is_red_was_pickup,TestActivator,!activator,0,-1"

                //blu
                "OnPickup1" "filter_is_blu_was_pickup,TestActivator,!activator,0,-1"
                
                //drop
                "OnDrop1" "!self,SetTeam,2,0.01,-1"
                "OnDrop1" "!self,Skin,0,0.02,-1"

                //dropped by red
                "OnDrop1" "filter_is_red_was_dropped,TestActivator,!activator,0,-1"

                //dropped by blu
                "OnDrop1" "filter_is_blu_was_dropped,TestActivator,!activator,0,-1"
            }

            //filters
            filter_multi
            {
                "Filter01" "filter_redteam"
                "filtertype" "0"
                "Negated" "0"
                "targetname" "filter_is_red_was_pickup"
                "origin" "-116 2585 -144.659"
                
                //player
                //"OnPass" "count_bomb,Add,1,0,-1"
                //"OnPass" "count_playertimes,GetValue,,0,-1"
                "OnPass" "!activator,$AddCond,32,0,-1"
                "OnPass" "!activator,$RemoveCond,32,15,-1"
                "OnPass" "!activator,$AddCond,65,0,-1"

                "OnPass" "!activator,$AddCond,57,0,-1"
                "OnPass" "!activator,$RemoveCond,57,5,-1"
                "OnPass" "!activator,$AddPlayerAttribute,CARD: move speed bonus|1.5,0.05,-1"
                "OnPass" "!activator,$RemovePlayerAttribute,CARD: move speed bonus,5,-1"

                "OnPass" "!activator,$Regenerate,,0,-1"
                "OnPass" "!activator,$DisplayTextCenter,You have 60 seconds before you are automatically respawned!,5,-1"
                "OnPass" "secondhand2,SetValue,35,1,-1"
                "OnPass" "!activator,$WeaponStripSlot,5,0.05,-1" // no canteens

                "OnPass" "filter_is_scout_and_red,TestActivator,!activator,0,-1"
                "OnPass" "filter_is_soldier_and_red,TestActivator,!activator,0,-1"
                "OnPass" "filter_is_pyro_and_red,TestActivator,!activator,0,-1"
                "OnPass" "filter_is_demo_and_red,TestActivator,!activator,0,-1"
                "OnPass" "filter_is_heavy_and_red,TestActivator,!activator,0,-1"
                "OnPass" "filter_is_medic_and_red,TestActivator,!activator,0,-1"
                "OnPass" "filter_is_sniper_and_red,TestActivator,!activator,0,-1"
                "OnPass" "filter_is_spy_and_red,TestActivator,!activator,0,-1"
                "OnPass" "filter_is_engineer_and_red,TestActivator,!activator,0,-1"
            }
            filter_multi
            {
                "Filter01" "filter_redteam"
                "filtertype" "0"
                "Negated" "0"
                "targetname" "filter_is_red_was_dropped"
                "origin" "-116 2585 -144.659"
                
                //player
                "OnPass" "become_giant,ForceReset,,0.01,-1"
                "OnPass" "become_giant,SetTeam,3,0.01,-1"
                "OnPass" "become_giant,Skin,1,0.02,-1"

                "OnPass" "giant_relay,Enable,,0.01,-1"
                "OnPass" "giant_relay,Trigger,,0.02,-1"
                "OnPass" "flag_pickup_count,Subtract,0.5,0,-1"
                //"OnPass" "player,$DisplayTextCenter,Core has returned! Pick it up!,1,-1"

                //"OnPass" "!activator,$ForceRespawn,,0,-1"
                //"OnPass" "!activator,$AddPlayerAttribute,cannot pick up intelligence|1,0.05,-1"
                //"OnPass" "!activator,$RemovePlayerAttribute,cannot pick up intelligence,25,-1"
                "OnPass" "!activator,$AddCond,57,0.2,-1"
                "OnPass" "!activator,$RemoveCond,57,5.2,-1"

                "OnPass" "!activator,$AddCond,32,0.2,-1"
                "OnPass" "!activator,$RemoveCond,32,5.2,-1"

                //"OnPass" "!activator,$DisplayTextCenter,You cannot pick up the core for a short time!,3,-1"

                "OnPass" "is_scout_modelset,TestActivator,!activator,1,-1"
                "OnPass" "is_soldier_modelset,TestActivator,!activator,1,-1"
                "OnPass" "is_pyro_modelset,TestActivator,!activator,1,-1"
                "OnPass" "is_demo_modelset,TestActivator,!activator,1,-1"
                "OnPass" "is_heavy_modelset,TestActivator,!activator,1,-1"
                "OnPass" "is_medic_modelset,TestActivator,!activator,1,-1"
                "OnPass" "is_sniper_modelset,TestActivator,!activator,1,-1"
                "OnPass" "is_minispy_modelset,TestActivator,!activator,1,-1" // neither have giant models
                "OnPass" "is_miniengineer_modelset,TestActivator,!activator,1,-1"
                //"OnPass" "generic_killgiant,FireUser1,,1,-1"
                "OnPass" "!activator,$RemoveCond,65,0,-1"
                //"OnPass" "!self,Disable,,1,-1" 
            }
            filter_multi
            {
                "Filter01" "filter_bluteam"
                "filtertype" "0"
                "Negated" "0"
                "targetname" "filter_is_blu_was_pickup"
                "origin" "-116 2585 -144.659"
                
                //player
                "OnPass" "!activator,$GiveItem,bombhat,0,-1"
            }
            filter_multi
            {
                "Filter01" "filter_bluteam"
                "filtertype" "0"
                "Negated" "0"
                "targetname" "filter_is_blu_was_dropped"
                "origin" "-116 2585 -144.659"
                
                //success
                //"OnPass" "become_giant,ForceReset,,0.01,-1"
                "OnPass" "become_giant,SetTeam,2,0.01,-1"
                "OnPass" "become_giant,Skin,0,0.02,-1"
            }

            //scout
            filter_multi
            {
                "Filter01" "filter_redteam"
                "Filter02" "is_scout"
                "filtertype" "0"
                "Negated" "0"
                "targetname" "filter_is_scout_and_red"
                "origin" "-116 2585 -144.659"
                
                //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.00000001,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,mult_patient_overheal_penalty_active|0.00000001,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,health from packs decreased|0.5,0,-1"
                //"OnPass" "!activator,$AddPlayerAttribute,mod weapon blocks healing|1,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,cancel falling damage|1,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,no resupply|1,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,heal on kill|200,0,-1"
                "OnPass" "!activator,SetCustomModelWithClassAnimations,models\bots\scout_boss\bot_scout_boss.mdl,,0,-1"

                //weps
                "OnPass" "random_scout_weapon_grant,PickRandom,,0,-1"
            }
            filter_tf_class
            {
                "Negated" "0"
                "targetname" "is_scout"
                "tfclass" "1"
            }
            //soldier
            filter_multi
            {
                "Filter01" "filter_redteam"
                "Filter02" "is_soldier"
                "filtertype" "0"
                "Negated" "0"
                "targetname" "filter_is_soldier_and_red"
                "origin" "-116 2585 -144.659"
                
                //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,mult_patient_overheal_penalty_active|0,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,no resupply|1,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,heal on kill|200,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,health from packs decreased|0.5,0,-1"
                //"OnPass" "!activator,$AddPlayerAttribute,mod weapon blocks healing|1,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"
            }
            filter_tf_class
            {
                "Negated" "0"
                "targetname" "is_soldier"
                "tfclass" "3"
            }
            //pyro
            filter_multi
            {
                "Filter01" "filter_redteam"
                "Filter02" "is_pyro"
                "filtertype" "0"
                "Negated" "0"
                "targetname" "filter_is_pyro_and_red"
                "origin" "-116 2585 -144.659"
                
                //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,heal on kill|200,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,patient overheal penalty|0,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,mult_patient_overheal_penalty_active|0,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,health from packs decreased|0.5,0,-1"
                //"OnPass" "!activator,$AddPlayerAttribute,mod weapon blocks healing|1,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"
            }
            filter_tf_class
            {
                "Negated" "0"
                "targetname" "is_pyro"
                "tfclass" "7"
            }
            //demo
            filter_multi
            {
                "Filter01" "filter_redteam"
                "Filter02" "is_demo"
                "filtertype" "0"
                "Negated" "0"
                "targetname" "filter_is_demo_and_red"
                "origin" "-116 2585 -144.659"
                
                //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,heal on kill|200,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,patient overheal penalty|0,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,mult_patient_overheal_penalty_active|0,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,health from packs decreased|0.5,0,-1"
                //"OnPass" "!activator,$AddPlayerAttribute,mod weapon blocks healing|1,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_demo"
                "tfclass" "4"
            }
            //heavy
            filter_multi
            {
                "Filter01" "filter_redteam"
                "Filter02" "is_heavy"
                "filtertype" "0"
                "Negated" "0"
                "targetname" "filter_is_heavy_and_red"
                "origin" "-116 2585 -144.659"
                
                //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,heal on kill|200,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,cannot upgrade|1,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,patient overheal penalty|0,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,mult_patient_overheal_penalty_active|0,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,health from packs decreased|0.5,0,-1"
                //"OnPass" "!activator,$AddPlayerAttribute,mod weapon blocks healing|1,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_heavy"
                "tfclass" "6"
            }
            //medic
            filter_multi
            {
                "Filter01" "filter_redteam"
                "Filter02" "is_medic"
                "filtertype" "0"
                "Negated" "0"
                "targetname" "filter_is_medic_and_red"
                "origin" "-116 2585 -144.659"
                
                //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,heal on kill|200,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,patient overheal penalty|0,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,mult_patient_overheal_penalty_active|0,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,health from packs decreased|0.5,0,-1"
                //"OnPass" "!activator,$AddPlayerAttribute,mod weapon blocks healing|1,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"
            }
            filter_tf_class
            {
                "Negated" "0"
                "targetname" "is_medic"
                "tfclass" "5"
            }
            //sniper
            filter_multi
            {
                "Filter01" "filter_redteam"
                "Filter02" "is_sniper"
                "filtertype" "0"
                "Negated" "0"
                "targetname" "filter_is_sniper_and_red"
                "origin" "-116 2585 -144.659"
                
                //player
                "OnPass" "!activator,$AddPlayerAttribute,max health additive bonus|2875,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,ammo regen|1,0,-1"
                //"OnPass" "!activator,$AddPlayerAttribute,move speed penalty|0.5,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,is miniboss|1,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,head scale|0.7,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,cannot upgrade|1,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,no resupply|1,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,heal on kill|200,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,patient overheal penalty|0,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,mult_patient_overheal_penalty_active|0,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,health from packs decreased|0.5,0,-1"
                //"OnPass" "!activator,$AddPlayerAttribute,mod weapon blocks healing|1,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,cancel falling damage|1,0,-1"
                "OnPass" "!activator,SetCustomModelWithClassAnimations,models\bots\sniper\bot_sniper.mdl,,0,-1"

                //weps
                "OnPass" "random_sniper_weapon_grant,PickRandom,,0,-1"
            }
            filter_tf_class
            {
                "Negated" "0"
                "targetname" "is_sniper"
                "tfclass" "2"
            }
            //engy
            filter_multi
            {
                "Filter01" "filter_redteam"
                "Filter02" "is_engineer"
                "filtertype" "0"
                "Negated" "0"
                "targetname" "filter_is_engineer_and_red"
                "origin" "-116 2585 -144.659"
                
                //player
                "OnPass" "!activator,$AddPlayerAttribute,max health additive bonus|2875,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,ammo regen|1,0,-1"
                //"OnPass" "!activator,$AddPlayerAttribute,move speed penalty|0.5,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,heal on kill|200,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,head scale|0.7,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,patient overheal penalty|0,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,mult_patient_overheal_penalty_active|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\engineer\bot_engineer.mdl,,0,-1"

                //weps
                "OnPass" "random_engineer_weapon_grant,PickRandom,,0,-1"
            }
            filter_tf_class
            {
                "Negated" "0"
                "targetname" "is_engineer"
                "tfclass" "9"
            }
            //spy
            filter_multi
            {
                "Filter01" "filter_redteam"
                "Filter02" "is_spy"
                "filtertype" "0"
                "Negated" "0"
                "targetname" "filter_is_spy_and_red"
                "origin" "-116 2585 -144.659"
                
                //player
                "OnPass" "!activator,$AddPlayerAttribute,max health additive bonus|2875,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,ammo regen|1,0,-1"
                //"OnPass" "!activator,$AddPlayerAttribute,move speed penalty|0.5,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,heal on kill|200,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,always allow disguise|1,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,alt-fire disabled|1,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,always allow teleport|1,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,always allow cloak|1,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,head scale|0.7,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,patient overheal penalty|0,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,mult_patient_overheal_penalty_active|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\spy\bot_spy.mdl,,0,-1"

                //weps
                "OnPass" "random_spy_weapon_grant,PickRandom,,0,-1"
            }
            filter_tf_class
            {
                "Negated" "0"
                "targetname" "is_spy"
                "tfclass" "8"
            }

            //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"
            }
            //engy
            filter_tf_class
            {
                "Negated" "0"
                "targetname" "is_miniengi_modelset"
                "tfclass" "9"
                "OnPass" "!activator,SetCustomModelWithClassAnimations,models\player\engineer.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"
            }
            //spy
            filter_tf_class
            {
                "Negated" "0"
                "targetname" "is_minispy_modelset"
                "tfclass" "8"
                "OnPass" "!activator,SetCustomModelWithClassAnimations,models\player\spy.mdl,,0,-1"
            }
            //engi
            filter_tf_class
            {
                "Negated" "0"
                "targetname" "is_miniengi_modelset"
                "tfclass" "9"
                "OnPass" "!activator,SetCustomModelWithClassAnimations,models\player\engineer.mdl,,0,-1"
            }
            //med
            filter_tf_class
            {
                "Negated" "0"
                "targetname" "is_medic_modelset"
                "tfclass" "5"
                "OnPass" "!activator,SetCustomModelWithClassAnimations,models\player\medic.mdl,,0,-1"
            }
            //sniper
            filter_tf_class
            {
                "Negated" "0"
                "targetname" "is_sniper_modelset"
                "tfclass" "2"
                "OnPass" "!activator,SetCustomModelWithClassAnimations,models\player\sniper.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"
                "Case05" "5"
                //"Case06" "6"
                "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,Giant 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,Colonel Barrage,0,-1"
                //"OnCase05" "!activator,$DisplayTextCenter,You are Colonel Barrage!,0,-1"

                //"OnCase06" "!activator,$GiveItem,Blast Soldier,0,-1"
                //"OnCase06" "!activator,$DisplayTextCenter,You are Giant Blast Soldier!,0,-1"
            }
            logic_case
            {
                "Case01" "1"
                "Case02" "2"
                "Case03" "3"
                "Case04" "4"
                //"Case04" "5"
                "targetname" "random_pyro_weapon_grant"
	
		        "OnCase01" "!activator,$GiveItem,Giant 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 Giant 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,Giant 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,Giant Quick-Uber Medic,0,-1"
                "OnCase02" "!activator,$DisplayTextCenter,You are Giant Quick-Uber!,0,-1"

                "OnCase03" "!activator,$GiveItem,Giant Boost 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"
            }
            //sniper
            logic_case
            {
                "Case01" "1"
                "Case02" "2"
                "Case03" "3"
                //"Case04" "4"
                "targetname" "random_sniper_weapon_grant"
	
		        "OnCase01" "!activator,$GiveItem,Super Spammer Huntsman,0,-1"
                "OnCase01" "!activator,$DisplayTextCenter,You are Super Huntsman Spammer!,0,-1"

                "OnCase02" "!activator,$GiveItem,Super SMG Spammer,0,-1"
                "OnCase02" "!activator,$WeaponSwitchSlot,1,0.1,-1"
                "OnCase02" "!activator,$DisplayTextCenter,You are Super SMG Spammer!,0,-1"

                "OnCase03" "!activator,$GiveItem,Super Jarwacka,0,-1"
                //"OnCase03" "!activator,$GiveItem,Jarate Spammer,0,-1"
                "OnCase03" "!activator,$WeaponStripSlot,0,0,-1"
                "OnCase03" "!activator,$WeaponStripSlot,2,0,-1"
                "OnCase03" "!activator,$DisplayTextCenter,You are Fireball Caster!,0,-1"
                //"OnCase04" "!activator,$GiveItem,XBow Medic,0,-1"
                //"OnCase04" "!activator,$DisplayTextCenter,You are Xbow Medic!,0,-1"
            }
            //engi
            logic_case
            {
                "Case01" "1"
                "Case02" "2"
                //"Case03" "3"
                //"Case04" "4"
                "targetname" "random_engineer_weapon_grant"
	
		        "OnCase01" "!activator,$GiveItem,Explosive Engineer,0,-1"
                "OnCase01" "!activator,$WeaponStripSlot,1,0,-1"
                "OnCase01" "!activator,$DisplayTextCenter,You are Explosive Engineer!,0,-1"

                "OnCase02" "!activator,$GiveItem,Giant Engineer,0,-1"
                "OnCase02" "!activator,$GiveItem,Engineer Shotgun,0,-1"
                "OnCase02" "!activator,$WeaponStripSlot,1,0.1,-1"
                "OnCase02" "!activator,$DisplayTextCenter,You are Giant Engineer!,0,-1"
            }
            //spy
            logic_case
            {
                "Case01" "1"
                "Case02" "2"
                "targetname" "random_spy_weapon_grant"
	
		        "OnCase01" "!activator,$GiveItem,Giant Revolver Spammer,0,-1"
                "OnCase01" "!activator,$WeaponStripSlot,2,0,-1"
                "OnCase01" "!activator,$DisplayTextCenter,You are Giant Revolver Spammer Spy!,0,-1"

                "OnCase02" "!activator,$GiveItem,Giant Spy,0,-1"
                "OnCase02" "!activator,$WeaponStripSlot,1,0.1,-1"
                "OnCase02" "!activator,$DisplayTextCenter,You are Giant Spy!,0,-1"
            }
        }
        minigun_overheat // with help from lite
        {
            NoFixup 1
            OnSpawnOutput
            {
                Target Firing_Check
                Action Trigger
            }
            logic_relay
            {
                "targetname" "Firing_Check"
                "spawnflags" "2"
                "ontrigger" "filter_spun,$testentity,@c@!activator,0,-1"
                "ontrigger" "Heat_Format,$format,,0.01,-1"
                "ontrigger" "!self,trigger,,0.1,-1"
            }
            $filter_sendprop
            {
                "targetname" "filter_spun"
                "$name" "m_iWeaponState"
                "$value" "2"
                "$compare" "equal"
                "onpass" "heat_count,add,2,0,-1"
            }
            $filter_sendprop
            {
                "targetname" "filter_spun"
                "$name" "m_iWeaponState"
                "$value" "2"
                "$compare" "greater than"
                "onpass" "heat_count,subtract,2,1.5,-1"
            }
            OnSpawnOutput
            {
                Target heat_count
                Action SetValue
                Param 0
            }
			math_counter
			{
				"targetname" "heat_count"
				"max" "150"
                "onhitmax" "overheated,Trigger,,0,-1"
                "onhitmax" "Heat_Format,$setkey$case16,Overheat: %/150,2,-1"
                "onhitmin" "!activator,$RemoveItemAttribute,no_attack|0,0,-1"
                //"onhitmin" "!activator,$RemoveItemAttribute,attach particle effect|0,0,-1"
                "onhitmin" "cooldown,$CancelPending,,0,-1"
                "outvalue" "Compare_Heat,setvaluecompare,,0,-1"
                "outvalue" "Heat_Format,$setkey$case01,,0,-1"

                "onhitmax" "overheat1,playsound,!activator,0,-1"
                "onhitmax" "overheat1,stopsound,!activator,5,-1"

                "onhitmin" "overheat2,playsound,!activator,0,-1"
                "onhitmin" "overheat2,stopsound,!activator,5,-1"
				//"onhitmin" "minutehand22,subtract,1,1,-1"
			}
            logic_relay
            {
                "targetname" "overheated"
                "spawnflags" "2"

                "OnTrigger" "cooldown,Trigger,,3,-1"
                "OnTrigger" "!activator,$AddItemAttribute,no_attack|1|0,0,-1"
                //"OnTrigger" "!activator,$AddItemAttribute,attach particle effect|701|0,0,-1"
            }
            logic_relay
            {
                "targetname" "cooldown"
                "spawnflags" "2"
                "OnTrigger" "heat_count,subtract,50,,-1"
                "OnTrigger" "!self,Trigger,,1.5,-1"
            }
			logic_compare
			{
				"targetname" "Compare_Heat"
				"comparevalue" "0"
				"onequalto" "Heat_Format,$setkey$case16,Overheat: %/150,0,-1"
				"ongreaterthan" "Heat_Format,$setkey$case16,Overheat: %/150,-1"
			}
			logic_case
			{
				"targetname" "Heat_Format"
				"case16" "Overheat: %/150"
				"ondefault" "Heat_Text,$setkey$message,,0,-1"
				"ondefault" "Heat_Text,display,0,0,-1"
			}
			game_text
			{
				"targetname" "Heat_Text"
				"color" "209 99 7"
				"holdtime" "2"
				"spawnflags" "0"
                "channel" "2"
				"x" "0.45"
                "y" "-0.70"
			}
             ambient_generic
            {
                "targetname" "overheat1"
                "message" "weapons\bumper_car_decelerate.wav"
                "health" "10"
                "pitch" "100"
                "radius" "5000"
                "spawnflags" "16"
                "sourceentityname" "!parent"
            }
            ambient_generic
            {
                "targetname" "overheat1"
                "message" "weapons\bumper_car_decelerate.wav"
                "health" "10"
                "pitch" "100"
                "radius" "5000"
                "spawnflags" "16"
                "sourceentityname" "!parent"
            }
            ambient_generic
            {
                "targetname" "overheat2"
                "message" "weapons\bumper_car_accelerate.wav"
                "health" "10"
                "pitch" "100"
                "radius" "5000"
                "spawnflags" "16"
                "sourceentityname" "!parent"
            }
            ambient_generic
            {
                "targetname" "overheat2"
                "message" "weapons\bumper_car_accelerate.wav"
                "health" "10"
                "pitch" "100"
                "radius" "5000"
                "spawnflags" "16"
                "sourceentityname" "!parent"
            }
        }
	}

    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
            "projectile penetration" 1

            "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
            "critboost on kill" 3

            "provide on active" 1
            "disable weapon switch" 1
        }
        "Shortstop Scout"
        {
            OriginalItemName "The Shortstop"
            "always crit" 1
            "damage bonus" 2.5
            "projectile penetration" 1
            "add cond on hit" 27
            "add cond on hit duration" 8
            "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
            "critboost on kill" 3
            "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
		}
        "Giant 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

            "clip size penalty" 1
            "health on radius damage" 0

            "projectile spread angle penalty" 5
            "fire rate bonus" -1
            "crit mod disabled" 0
            //"projectile speed decreased" 0.6
            "damage bonus" 1.3
            "add attributes on kill" "faster reload rate|0.65|5|damage bonus hidden|1.5|5"

            "projectile gravity" 750
            
            //"custom projectile model" "models\buildables\sentry3_rockets.mdl"
            "mini rockets" 1
		}
        "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
            "mult dmg vs giants" 2
            "projectile speed decreased" 0.5
		}
        "Giant Blast Soldier" // unused
        {
            OriginalItemName "the liberty launcher"
            "damage penalty" 1
            "projectile speed increased" 1

            "projectile acceleration start time" 3
            "projectile acceleration" 1500
            "mod projectile heat follow crosshair" 1
            "mod projectile heat seek power" 360
            "mod projectile heat aim error" 90
            "projectile acceleration" 1200
            "projectile acceleration start time" 5
            "fire rate bonus" -2
            "projectile speed decreased" 0.5
        }
        "Colonel Barrage" // unused
        {
            OriginalItemName "TF_WEAPON_ROCKETLAUNCHER"
            //"clip size upgrade atomic" 26.0
			"fire rate bonus" 0.2
			"projectile spread angle penalty" 5
            "projectile speed decreased" 0.4
            "projectile acceleration start time" 1.5
            "damage bonus" 1.5 // helps get the ball rolling
            "projectile acceleration" 2400
			"add attributes on kill" "faster reload rate|0.55|5"

            "crit mod disabled" 0
            "reload time increased hidden" 0.6
            "maxammo primary increased" 2
            "penetrate teammates" 1
            "health regen" 40
            "mod max primary clip override" 30
            "blast radius decreased" 0.5
        }
        "Rocket Wall Barrage" // unused
        {
            OriginalItemName "TF_WEAPON_ROCKETLAUNCHER"
            "clip size upgrade atomic" 26.0
            "projectile acceleration" 2400
            "projectile speed decreased" 0.2
            "projectile acceleration start time" 2.5
            "mod projectile heat follow crosshair" 1
            "mod projectile heat seek power" 40
            "mod projectile heat no predict target speed" 1
            "mod projectile heat aim time" 2
            "mod projectile heat aim error" 180
            "penetrate teammates" 1
            "blast dmg to self increased" 0
			"add attributes on kill" "faster reload rate|0.15|5"
			"fire rate bonus" 0.05
			"projectile spread angle penalty" 32
            "model scale" 1.7
            "health regen" 40
            "damage penalty" 0.6
            "blast radius decreased" 0.75
            "crit mod disabled" 0
            "reload time increased hidden" 0.6
            "maxammo primary increased" 2
        }
        //Pyro
        "Giant Flare Pyro"
        {
            OriginalItemName "The Flare gun"
			"fire rate bonus" 0.2
            "maxammo secondary increased" 2
            "damage bonus" 2
            "crit mod disabled" 0
            "mod projectile heat seek power" 55
            "mod projectile heat aim error" 30
        }
        "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
        }
        "Giant monkey's carry" // given alongside Giant Pyro
        {
            OriginalItemName "The gas passer"
            "item_meter_damage_for_full_charge" 7500
            "explode_on_ignite" 1
            "dmg penalty vs players" 0.431429
        }
        "Giant Pyro"
        {
            OriginalItemName "Upgradeable TF_WEAPON_FLAMETHROWER"
            "damage bonus" 2.5
            "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
        }
        "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
		}
        "Captain Punch" // melee heavy does exist except its very shitty
        //Has effectively 9800 health
		{
			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 // needed for health boost
            "disable weapon switch" 1 // Tanky enough to approach enemies and get the extra move speed

            "crit mod disabled" 0 
            "add attributes on kill" "CARD: move speed bonus|1.5|8"
            "special item description" "On Kill: Gain a 50% move speed bonus for 8 seconds"
            "no crit boost" 1
		}
        //medic
        "Giant Medic"
        {
            OriginalItemName "The quick-fix"
            "heal rate bonus" 10
            "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"
        }
        "Giant Quick-Uber Medic"
        {
            OriginalItemName "TF_WEAPON_MEDIGUN"
            "ubercharge rate bonus" 8
            "uber duration bonus" -3
            "overheal fill rate reduced" 0.35
        }
        "Giant Boost Medic" 
        {
            OriginalItemName "TF_WEAPON_MEDIGUN"
            "medigun passive attributes" "SET BONUS: move speed set bonus|1.3|fire rate bonus HIDDEN|0.75|dmg from ranged reduced|0.7|Reload time decreased|0.7|add cond when active|28"
            "ubercharge rate PENALTY" 0.01
            "medigun passive attributes" "mod_maxhealth_drain_rate|75"
            "special item description" "Grants the following benefits to Patients: 30% faster move speed, 25% faster firing speed, 30% damage reduction vs ranged attacks, 30% faster reload and knockback immunity."
            "special item description 2" "Healing drains health."
            "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
        }
        //sniper
        "Super Spammer Huntsman"
        {
            OriginalItemName "The Huntsman"
            "fire rate bonus" 0.2
            "damage bonus" 4
            //"explosive bullets" 147
            "critboost on kill" 5
            "projectile penetration" 1
        }
        "Super SMG Spammer"
        {
            OriginalItemName "Upgradeable TF_WEAPON_SMG"
            "clip size bonus" 2
            "maxammo secondary increased" 5
            "fire rate bonus" 0.5
            "projectile penetration" 1
            "damage bonus" 3
            "critboost on kill" 2
            "provide on active" 1
            "disable weapon switch" 1
        }
        "Super Jarwacka"
        {
            OriginalItemName "Upgradeable TF_WEAPON_SMG"
            "override projectile type extra" "spellfireball"
            "fire rate penalty" 8
            "mod max primary clip override" -1
        }
        //spy
        "Giant Revolver Spammer"
        {
            OriginalItemName "TF_WEAPON_REVOLVER"
            "mod max primary clip override" -1
            "fire rate bonus" 0.5
            "damage bonus" 1.5
            "always crit" 1
            "projectile penetration" 1
            "mod no reload display only" 1
            "maxammo secondary increased" 2
        }
        "Giant Spy"
        {
            OriginalItemName "TF_WEAPON_KNIFE"
            "fire rate penalty" 3
            "armor piercing" 220
            "move speed bonus" 2
            "disguise on backstab" 1
            "special item description" "Type 'lastdisguise' in console to disguise!"
        }
        //engi
        "Explosive Engineer"
        {
            OriginalItemName "TF_WEAPON_SHOTGUN_PRIMARY"
            "damage bonus" 2
            "fire rate penalty" 1.5
            "explosive bullets" 147
            "spread penalty" 1.4
            "mod max primary clip override" -1
        }
        "Giant Engineer"
        {
            OriginalItemName "TF_WEAPON_WRENCH"
            "engy sentry damage bonus" 2
            "engy building health bonus" 4
            "building scale" 1.5
            "engy sentry fire rate increased" 0.9
            "metal regen" 200
            "engy dispenser radius increased" 4
            "fire rate bonus" 0.6
            "damage penalty" 0.1
            "building max level" 3
        }
        "Engineer Shotgun" // given with battle engie
        {
            OriginalItemName "Upgradeable TF_WEAPON_SHOTGUN_PRIMARY"
            "fire rate penalty" 2.5
			"bullets per shot bonus" 10
			"damage penalty" 0.5
			"faster reload rate" 0.1
        }
	}

    PlayerItemEquipSpawnTemplate  
	{
		Name minigun_overheat
		ItemName "Heater Heavy" 
	}
    PlayerItemEquipSpawnTemplate  
	{
		Name minigun_overheat
		ItemName "Giant Deflector Heavy" 
	}
}