//Created by Zilloy https://steamcommunity.com/profiles/76561198239982964/ // Discord: zilloy //Special thanks to: // SLAVA_747 //weapon and upgrade ideas, the one who suggested this whole thing // royal //lua scripts // Hell-met //attributes for Protagonist Sword and some weapons (i hope you don't mind me using some of your weapons) // therealscroob //reprogrammer knife :3 WaveSchedule { LuaScriptFile "scripts/ammo_canteen_for_sentries.lua" // LuaScriptFile "scripts/build_ally_bot_modified.lua" // luascriptfile "scripts/reprog_knife_modyfied.lua" // ExtendedUpgradesOnly 1 NoThrillerTaunt 1 FixHuntsmanDamageBonus 1 BodyPartScaleSpeed 99 NoRomevisionCosmetics 1 AllowUpgradesForUnintendedClassWeapons 0 PointTemplates { OnSentryBuild { OnSpawnOutput { Target "popscript" Action "$SentrySpawned" Delay 0.01 } } Protagonist_ItemRemoval { // OnSpawnOutput // { // Target "!activator" // Action "$weaponstripslot" // Param 0 // Delay 0 // } // OnSpawnOutput // { // Target "!activator" // Action "$weaponstripslot" // Param 1 // Delay 0 // } // OnSpawnOutput // { // Target "!activator" // Action "$WeaponSwitchSlot" // Param 2 // Delay 0 // } // OnSpawnOutput // { // Target "!activator" // Action "$AddItemAttribute" // Param "disable weapon switch|1|2" // Delay 0.01 // } OnSpawnOutput { Target "!activator" Action "$AddCond" Param 84 Delay 0 } } Glasgow_ItemRemoval { OnSpawnOutput { Target "!activator" Action "$weaponstripslot" Param 0 Delay 0 } OnSpawnOutput { Target "!activator" Action "$weaponstripslot" Param 1 Delay 0 } OnSpawnOutput { Target "!activator" Action "$WeaponSwitchSlot" Param 2 Delay 0 } } MinerLayer_PipebombFix { OnSpawnOutput { Target !activator Action $AddItemAttribute Param "projectile detonate time|2.22|0" } } Special_Upgrade_Logic { NoFixup 1 logic_case //short circuit AOE { "targetname" "circuit_aoe_logic" "OnDefault" "!activator,$RemoveItemAttribute,custom impact sound|1,0,-1" "OnDefault" "!activator,$RemoveItemAttribute,explosion particle|1,0,-1" "Case01" "1" "OnCase01" "!activator,$AddItemAttribute,custom impact sound|weapons\stunstick\spark2.wav|1,0,-1" "OnCase01" "!activator,$AddItemAttribute,explosion particle|versus_door_sparksB|1,0,-1" "Case02" "2" "OnCase02" "!activator,$AddItemAttribute,custom impact sound|ambient\energy\spark4.wav|1,0,-1" "OnCase02" "!activator,$AddItemAttribute,explosion particle|drg_cow_explosion_sparkles|1,0,-1" } logic_case //manntreads kicks { "targetname" "manntreads_kick_logic" "OnDefault" "!activator,$RemoveItemAttribute,custom impact sound|1,0,-1" "OnDefault" "!activator,$RemoveItemAttribute,stomp player damage|1,0,-1" "OnDefault" "!activator,$RemoveItemAttribute,stomp building damage|1,0,-1" "OnDefault" "!activator,$RemoveItemAttribute,stomp player time|1,0,-1" "OnDefault" "!activator,$RemoveItemAttribute,remove damage type|1,0,-1" "OnDefault" "!activator,$RemoveItemAttribute,add damage type|1,0,-1" "Case01" "1" "OnCase01" "!activator,$AddItemAttribute,custom impact sound|weapons\bat_baseball_hit_flesh.wav|1,0,-1" "OnCase01" "!activator,$AddItemAttribute,stomp player damage|35|1,0,-1" "OnCase01" "!activator,$AddItemAttribute,stomp building damage|35|1,0,-1" "OnCase01" "!activator,$AddItemAttribute,stomp player time|1|1,0,-1" "OnCase01" "!activator,$AddItemAttribute,remove damage type|64|1,0,-1" //remove blast "OnCase01" "!activator,$AddItemAttribute,add damage type|128|1,0,-1" //add melee "Case02" "2" "OnCase02" "!activator,$AddItemAttribute,custom impact sound|weapons\bat_baseball_hit_flesh.wav|1,0,-1" "OnCase02" "!activator,$AddItemAttribute,stomp player damage|65|1,0,-1" "OnCase02" "!activator,$AddItemAttribute,stomp building damage|65|1,0,-1" "OnCase02" "!activator,$AddItemAttribute,stomp player time|1|1,0,-1" "OnCase02" "!activator,$AddItemAttribute,remove damage type|64|1,0,-1" //remove blast "OnCase02" "!activator,$AddItemAttribute,add damage type|128|1,0,-1" //add melee "Case03" "3" "OnCase03" "!activator,$AddItemAttribute,custom impact sound|weapons\bat_baseball_hit_flesh.wav|1,0,-1" "OnCase03" "!activator,$AddItemAttribute,stomp player damage|100|1,0,-1" "OnCase03" "!activator,$AddItemAttribute,stomp building damage|100|1,0,-1" "OnCase03" "!activator,$AddItemAttribute,stomp player time|1|1,0,-1" "OnCase03" "!activator,$AddItemAttribute,remove damage type|64|1,0,-1" //remove blast "OnCase03" "!activator,$AddItemAttribute,add damage type|128|1,0,-1" //add melee "Case04" "4" "OnCase04" "!activator,$AddItemAttribute,custom impact sound|weapons\bat_baseball_hit_flesh.wav|1,0,-1" "OnCase04" "!activator,$AddItemAttribute,stomp player damage|130|1,0,-1" "OnCase04" "!activator,$AddItemAttribute,stomp building damage|130|1,0,-1" "OnCase04" "!activator,$AddItemAttribute,stomp player time|1|1,0,-1" "OnCase04" "!activator,$AddItemAttribute,remove damage type|64|1,0,-1" //remove blast "OnCase04" "!activator,$AddItemAttribute,add damage type|128|1,0,-1" //add melee } logic_case //manntreads kicks cooldown { "targetname" "manntreads_kick_cooldown_logic" "OnDefault" "!activator,$AddItemAttribute,stomp player time|1|1,0.1,-1" "Case01" "1" "OnCase01" "!activator,$AddItemAttribute,stomp player time|0.85|1,0.1,-1" "Case02" "2" "OnCase02" "!activator,$AddItemAttribute,stomp player time|0.7|1,0.1,-1" "Case03" "3" "OnCase03" "!activator,$AddItemAttribute,stomp player time|0.55|1,0.1,-1" "Case04" "4" "OnCase04" "!activator,$AddItemAttribute,stomp player time|0.4|1,0.1,-1" } } Bomber_Airborne_logic { OnSpawnOutput { Target "blastjump_checker" Action Trigger Delay 0.1 } $filter_sendprop { "targetname" "filter_fallvelocity" "$name" "m_flFallVelocity" "$value" "0" "$compare" "equal" "onpass" "!activator,$RemoveCond,130,0,-1" } filter_tf_condition { "targetname" "filter_jumpcond" "condition" "130" "OnPass" "!activator,$AddItemAttribute,CARD: damage bonus|1.5|0,0,-1" "OnPass" "!activator,$AddItemAttribute,custom projectile model|models\weapons\w_models\w_grenade_grenadelauncher.mdl|0,0,-1" "OnPass" "!activator,$AddItemAttribute,projectile trail particle|rockettrail_airstrike|0,0,-1" "OnPass" "!activator,$AddItemAttribute,Projectile speed increased HIDDEN|0.2|0,0,-1" "OnPass" "!activator,$AddItemAttribute,projectile gravity|1800|0,0,-1" "OnPass" "!activator,$AddItemAttribute,explosion particle|rd_robot_explosion_smoke_linger|0,0,-1" "OnPass" "!activator,$AddItemAttribute,Blast radius increased|1.35|0,0,-1" // "OnPass" "!activator,$DisplayTextCenter,passed,0,-1" "OnFail" "!activator,$RemoveItemAttribute,CARD: damage bonus|0,0,-1" "OnFail" "!activator,$RemoveItemAttribute,custom projectile model|0,0,-1" "OnFail" "!activator,$RemoveItemAttribute,projectile trail particle|0,0,-1" "OnFail" "!activator,$RemoveItemAttribute,Projectile speed increased HIDDEN|0,0,-1" "OnFail" "!activator,$RemoveItemAttribute,projectile gravity|0,0,-1" "OnFail" "!activator,$RemoveItemAttribute,explosion particle|0,0,-1" "OnFail" "!activator,$RemoveItemAttribute,Blast radius increased|0,0,-1" // "OnFail" "!activator,$DisplayTextCenter,failed,0,-1" } logic_relay { "targetname" "blastjump_checker" "spawnflags" "2" "OnTrigger" "!self,Trigger,,0.1,-1" "OnTrigger" "filter_jumpcond,TestActivator,!activator,0.01,-1" "OnTrigger" "filter_fallvelocity,TestActivator,!activator,0,-1" } } Quickdraw_GiveWeapon { OnSpawnOutput { Target !activator Action $GiveItem Param "The Texas Quickdraw" Delay 0 } } } SpawnTemplate Special_Upgrade_Logic PlayerItemEquipSpawnTemplate { Name "Quickdraw_GiveWeapon" ItemName "Texas Quickdraw" } PlayerItemEquipSpawnTemplate { Name "Protagonist_ItemRemoval" ItemName "Protagonist Sword" } // PlayerItemEquipSpawnTemplate // { // Name "Glasgow_ItemRemoval" // ItemName "Glasgow Tiger" // } PlayerItemEquipSpawnTemplate { Name "MinerLayer_PipebombFix" ItemName "Mine Layer" } PlayerItemEquipSpawnTemplate { Name "Bomber_Airborne_logic" ItemName "Bomber" } CustomWeapon { "Beam Shotgun" { OriginalItemName "Upgradeable TF_WEAPON_SCATTERGUN" "CARD: damage bonus" 3 "bullets per shot bonus" 0.5 "weapon spread bonus" 0.8 "crit mod disabled" 0 "fire rate penalty" 1.6 "mod max primary clip override" -1 "hidden primary max ammo bonus" 0.6215 "sniper fires tracer" 1 "mod no reload DISPLAY ONLY" 1 "energy weapon no hurt building" 1 "crits_become_minicrits" 1 "custom item model" "models/weapons/c_models/c_drg_pomson/c_drg_pomson.mdl" "custom weapon fire sound" "Weapon_Pomson.Single" "custom kill icon" "pomson" } "Heavy Machine Gun" { OriginalItemName "Upgradeable TF_WEAPON_SYRINGEGUN_MEDIC" "override projectile type" 1 "damage bonus HIDDEN" 2.5 "no damage falloff" 1 "reload time increased hidden" 7.2 "mod max primary clip override" 20 "hidden primary max ammo bonus" 0.53334 "fire rate penalty HIDDEN" 1.2 "custom item model" "models/weapons/c_models/c_tfc_sniperrifle/c_tfc_sniperrifle.mdl" // "custom weapon fire sound" "Weapon_Winger.Single" "custom weapon fire sound" "weapons\ar2\fire1.wav" "custom weapon reload sound" "Weapon_Short_Stop.Reload" "custom kill icon" "the_classic" "special item description" "High fire rate with medium damage that doesn't depend on range" } "Coal Cannon" //WIP { OriginalItemName "the iron bomber" "mult projectile count" 4 "ignores other projectiles" 1 "Set DamageType Ignite" 1 "crits_become_minicrits" 1 "minicrit vs burning player" 1 "mod max primary clip override" -1 "mod no reload DISPLAY ONLY" 1 "damage penalty" 0.2 "Projectile speed increased" 1.8 "projectile spread angle penalty" 2 "hidden primary max ammo bonus" 1.875 "projectile lifetime" 0.45 "override projectile type" 6 "mult projectile scale" 0.5 "projectile gravity native" 0.001 "crit mod disabled" 0 "custom kill icon" "iron_bomber" "custom item model" "models/workshop/weapons/c_models/c_quadball/c_quadball.mdl" //"projectile trail particle" "flaregun_trail_red" } "Classic RPG" //WIP { OriginalItemName "Upgradeable TF_WEAPON_ROCKETLAUNCHER" "Projectile speed decreased" 0.95 "CARD: damage bonus" 1.35 "projectile gravity" 400 "clip size penalty" 0.25 "Reload time increased" 1.25 "special item description 2" "Rockets follows an arc" } "Trick Shooter" //WIP { OriginalItemName "Upgradeable TF_WEAPON_GRENADELAUNCHER" "Projectile speed increased" 1.25 "damage penalty" 0.5 "grenade bounce speed" 1 "grenade bounce damage" 2.4 "fuse bonus" 0.75 "mult dmg vs airborne" 2 "mod mini-crit airborne" 1 "grenade no spin" 1 "special item description" "Deals more damage on airshots and after bounce" } "Bottled Bread" //WIP { OriginalItemName "The Self-Aware Beauty Mark" "effect bar recharge rate increased" 0 "override projectile type" 8 "custom projectile model" "models\weapons\w_models\w_breadmonster\w_breadmonster.mdl" "projectile penetration" 1 "mod projectile heat seek power" 30 "mod projectile heat no predict target speed" 1 "projectile lifetime" 5 "grenade bounce speed" 0.8 "fire rate penalty" 4 "damage bonus" 8 "mult projectile scale" 4 "custom projectile size" 0.2 "dmg pierces resists absorbs" 1 "Projectile speed increased" 0.7 } "Napalm Flare" //WIP { OriginalItemName "The Detonator" "damage penalty" 1 "damage bonus" 2 "override projectile type" 2 "Set DamageType Ignite" 1 "Projectile speed increased" 1.4 } "Cursed Flamethrower" //WIP { OriginalItemName "Upgradeable TF_WEAPON_FLAMETHROWER" "attach particle effect" 125 "mark for death" 1 "flame_reflect_on_collision" 100 "flame_drag" 5 "flame_up_speed" 50 "flame_speed" 3200 "flame_spread_degree" 1.5 "damage penalty" 0.75 "special item description" "Long range flame that can bounce of walls" } "Gauss Cannon" //WIP { OriginalItemName "the iron bomber" "override projectile type" 1 "sniper fires tracer HIDDEN" 1 "shot penetrate all players" 1 "CARD: damage bonus" 1.5 "clip size penalty" 0.25 "Reload time increased" 1.5 "special item description" "This weapon is affected by damage falloff and rampup" } "Iternal Destroyer" //WIP { OriginalItemName "the loch-n-load" "faster reload rate" 0.75 "fire rate penalty" 2 "override projectile type" 18 "Projectile speed increased" 3 "damage penalty" 0.0125 "dmg penalty vs players" 4 "bleeding duration" 3.5 } "Baseball Dispenser" //WIP { OriginalItemName "Upgradeable TF_WEAPON_GRENADELAUNCHER" "custom projectile model" "models/weapons/w_models/w_baseball.mdl" "damage penalty" 0.45 "clip size bonus" 1.5 "blast radius decreased" 0.1 "no self blast dmg" 1 "fuse bonus" 5 "mod stun waist high airborne" 1 "Reload time decreased" 0.5 "fire rate bonus HIDDEN" 0.5 "special item description" "+50% faster fire rate" "blast dmg to self increased" 0 "self dmg push force increased" 0 "dmg pierces resists absorbs" 1 "grenade damage reduction on world contact" 0 } "Artillery Cannon" //WIP { OriginalItemName "Upgradeable TF_WEAPON_GRENADELAUNCHER" "override projectile type" 2 "Projectile speed increased" 3 "CARD: damage bonus" 1.25 "fire rate penalty" 1.2 "Reload time increased" 1.65 "Blast radius increased" 1.2 "projectile gravity" 500 "clip size penalty" 0.25 } "Super Shotgun" { OriginalItemName "Upgradeable TF_WEAPON_SHOTGUN_PRIMARY" "Reload time increased" 4 "fire rate penalty" 2 "damage bonus" 10 "override projectile type" 2 "clip size penalty" 0.1666 "projectile spread angle penalty" 3 "Projectile speed increased" 1.33 "ignores other projectiles" 1 "mult projectile count" 6 "maxammo secondary reduced" 0.125 "custom item model" "models/weapons/c_models/c_reserve_shooter/c_reserve_shooter.mdl" "custom weapon fire sound" "Weapon_Reserve_Shooter.Single" "custom kill icon" "reserve_shooter" "special item description" "Fires rockets instead of bullets" } "Uber Laser" { OriginalItemName "Upgradeable TF_WEAPON_SYRINGEGUN_MEDIC" "CARD: damage bonus" 9 "no damage falloff" 1 "override projectile type" 1 "sniper fires tracer" 1 "mod max primary clip override" -1 "maxammo primary reduced" 0.00625 //visual 1 ammo, doesn't actually consume ammo "fire rate penalty" 5 "ubercharge ammo" 4.99 //rounding issues, lol "custom kill icon" "pomson" "custom weapon fire sound" "Weapon_Bison.Single" "custom item model" "models/weapons/c_models/c_drg_pomson/c_drg_pomson.mdl" "special item description" "This weapon uses a part of your UberCharge for a powerfull attack" } "HL2RPG" { OriginalItemName "The Liberty Launcher" "Projectile speed increased" 1 "clip size bonus" 1 "damage penalty" 1 "rocket jump damage reduction" 1 "Projectile speed increased HIDDEN" 0.001 "projectile acceleration" 9000 "projectile acceleration time" 0.2 "projectile acceleration start time" 0.1 "penetrate teammates" 1 "mod projectile heat aim start time" 0.3 "mod projectile heat follow crosshair" 1 "mod projectile heat seek power" 270 "mod projectile heat aim time" 5 //don't aim forever to prevent building up nukes "CARD: damage bonus" 2 "mod mini-crit airborne" 1 "clip size penalty" 0.25 "mini rockets" 1 "mult projectile scale" 1.15 "mult dmg vs tanks" 1.5 "blast dmg to self increased" 2 "switch from wep deploy time decreased" 0.8 "single wep deploy time increased" 1.3 "maxammo primary reduced" 0.25 "no primary ammo from dispensers while active" 1 "passive reload" 1 "custom weapon fire sound" "=80|weapons\rpg\rocketfire1.wav" "custom impact sound" "=80|weapons\explode5.wav" "special item description" "This weapon allows you to purchase extra upgrades for SECONDARY weapons" } "Dragon Breath" { OriginalItemName "the huo long heatmaker" "ring of fire while aiming" 0 "uses ammo while aiming" 0 "damage penalty" 1 "damage bonus vs burning" 1 "projectile no deflect" 1 "override projectile type" 2 //rockets instead of flares 'cause flares crit on burning "ignores other projectiles" 1 "mult projectile count" 3 "no explosion particles" 1 "Blast radius decreased" 0.1 "Set DamageType Ignite" 1 "add damage type" 8 //remove blast "remove damage type" 64 //add fire "damage bonus" 1.5 "dmg bonus while half dead" 1.3 "Projectile speed increased HIDDEN" 2.7 "projectile spread angle penalty" 7 "crit mod disabled" 0 "projectile lifetime" 0.24 "add attributes when active" "dmg taken from self reduced|0.00001|no self effect|1" "projectile trail particle" spell_fireball_small_red "custom projectile model" models/weapons/w_models/w_drg_ball.mdl "custom kill icon" "long_heatmaker" "special item description" "Highly powerfull minigun with limited range" } "Heavy Artillery" { OriginalItemName "The Classic" "damage bonus HIDDEN" 2 "hidden primary max ammo bonus" 1.2 "override projectile type" 2 "projectile gravity" 200 "crit mod disabled" 0 "Projectile speed increased" 1.25 "projectile no deflect" 1 "alt-fire disabled" 1 "penetrate teammates" 1 "blast dmg to self increased" 50 "sniper charge per sec" 1.5 "damage penalty on bodyshot" 1 "custom impact sound" "=94|weapons\explode2.wav" "explosion particle" "rd_robot_explosion" "custom item model" "models/workshop/weapons/c_models/c_tomislav/c_tomislav.mdl" "special item description" "Hold fire button to up to tripple the damage" } "Heavy Rocket Weapons" { OriginalItemName "iron curtain" "override projectile type" 2 "fire rate penalty" 2 "damage bonus HIDDEN" 4 //to make 1 unit of ammo do same damage for rockets "Blast radius decreased" 0.6 "projectile spread angle penalty" 1.5 "blast dmg to self increased" 3 "penetrate teammates" 1 "projectile gravity" 200 "maxammo primary reduced" 0.5 //-50% ammo for halfed firerate "mini rockets" 1 "explosion particle" "taunt_demo_nuke_explosion_streaks" } "Manual Sentry" { OriginalItemName "TF_WEAPON_PDA_ENGINEER_DESTROY" "building max level" 2 "engy sentry radius increased" 0 "engy sentry fire rate increased" 0.5 "engineer sentry build rate multiplier" 0.1 "mult dispenser rate" 1.5 //lvl 2 same as lvl 3 "mult teleporter recharge rate" 0.66 //lvl 2 same as lvl 3 "sentry rapid fire" 1 //no weird sentry fire rate interactions "special item description" "Very strong sentry, but it must be controlled manualy" } "Fire Sentry" { OriginalItemName "TF_WEAPON_PDA_ENGINEER_DESTROY" "mvm sentry ammo" 0.5 "engy sentry radius increased" 0.55 "engy sentry fire rate increased" 1.5 "building color rgb" 15185211 //add yellow to make orange buildings "sentry bullet weapon" "Fire_Sentry_Bullet" "special item description" "Close range flamethrower sentry" } "Fire_Sentry_Bullet" { // OriginalItemName "The Dragon's Fury" //engy can't see the damage done by this // "damage penalty" 0.4 //don't think that affects the damage output OriginalItemName "The Air Strike" //air strike for the firing sound "rocket jump damage reduction" 1 "damage bonus HIDDEN" 1.1112 //100 base dmg "damage penalty" 0.32 "projectile no deflect" 1 "Set DamageType Ignite" 1 "no self effect" 1 "add damage type" 8 //add fire "remove damage type" 64 //remove blast "Blast radius decreased" 0.15 "self dmg push force decreased" 0 "projectile spread angle penalty" 3 "projectile lifetime" 0.21 "Projectile speed increased HIDDEN" 2.7 "no damage falloff" 1 "blast dmg to self increased" 0.0001 //no hurt engy "dmg taken from self reduced" 0.0001 "ignores other projectiles" 1 "projectile trail particle" projectile_fireball "custom impact sound" "weapons\dragons_fury_impact.wav" "custom projectile model" models/weapons/w_models/w_drg_ball.mdl "explosion particle" "dragons_fury_effect" "custom kill icon" "dragons_fury" } "Magic Bow" { OriginalItemName "Festive Huntsman" "Projectile speed decreased" 0.7 "projectile trail particle" eyeboss_projectile "mod projectile heat seek power" 90 "mod projectile heat no predict target speed" 1 "reload time increased hidden" 1.35 // "CARD: damage bonus" 1.25 "special item description" "Homing arrows that rarely headshot" } "Shotgun Sentry" { OriginalItemName "TF_WEAPON_PDA_ENGINEER_DESTROY" "sentry bullet weapon" "Shotgun_Sentry_Bullet" "mod wrench builds minisentry" 1 "mod sentry cost" 1.5 "engy sentry fire rate increased" 2.5 "mvm sentry ammo" 0.3 "building color rgb" 5801378 "special item description" "Shotgun Mini-Sentry, strong at close range" } "Shotgun_Sentry_Bullet" { OriginalItemName "TF_WEAPON_SHOTGUN_PRIMARY" "spread penalty" 1.5 } "Portable Robotic Companion" { OriginalItemName "The Gunslinger" "special item description" "Sentry gun is replaced with robot companion." "special item description 2" "[INFO] Companion can be enhanced with enough cash." "special item description 3" "WARNING! Unstable, may cause weird interactions. Please report bugs." } "Vampire Treatment" { OriginalItemName "Rust Botkiller Medi Gun Mk.I" "max health additive bonus" 25 "medigun attack enemy" 4 //50 dps "mult medigun range" 1.1 "medigun attack enemy heal mult" 0.5 "heal rate penalty" 0.5 "overheal penalty" 0.1 "mod see enemy health" 1 "ragdolls become ash" 1 "effect cond override" 6 "subtract victim medigun charge on hit" 1 "effect add attributes" "medigun attack enemy|5" //boost for 250 dps "special item description" "UBERCHARGE: massive increase in medigun's damage" "special item description 2" "You can drain robot's health and uber for yourself" "custom kill icon" "giger_counter" "medigun particle" "~bombonomicon_spell_trail" } "Kurokumo Blade" { OriginalItemName "The Half-Zatoichi" "restore health on kill" 0 "honorbound" 0 "damage penalty" 0.9 "bleeding duration" 8 "item color rgb" 8289918 //slightly darker "special item description" "This traditional katana utilizes bleed as it's main damage source" } "The Winchester" { OriginalItemName "Upgradeable TF_WEAPON_SHOTGUN_PRIMARY" "no damage falloff" 1 "weapon spread bonus" 0 "can headshot" 1 "revolver use hit locations" 1 "mod max primary clip override" 1 "fire rate penalty" 1.5 "reload time increased hidden" 1.5 "hidden primary max ammo bonus" 0.5 "custom item model" "models/workshop/weapons/c_models/c_bazaar_sniper/c_bazaar_sniper.mdl" "custom weapon fire sound" "Weapon_Bazaar_Bargain.Single" "custom weapon reload sound" "Weapon_DoubleBarrel.TubeClose" "custom kill icon" "bazaar_bargain" } "The Mann Cannon" { OriginalItemName "The AWPer Hand" //200 base damge | 600 quickscope headshot damage //600 fully charged body shot | 1800 fully charged headshot //400 max damage | 1200 max dmg headshot //1200 fully charged max dmg | 3600 fully charged max dmg headshot "penetrate teammates" 1 "add attributes when active" "hand scale|1.2" //BIG GUN "maxammo primary reduced" 0.16 "CARD: damage bonus" 4 "fire rate penalty" 5 "SRifle Charge rate decreased" 0.1 "sniper only fire zoomed" 1 "sniper fires tracer HIDDEN" 1 "lunchbox adds minicrits" 3 "custom weapon fire sound" "vo/taunts/demo/taunt_demo_nuke_8_explosion.mp3" "custom hit sound" "ambient/explosions/explode_5.wav" "explosion particle" "ExplosionCore_MidAir" // "fire input on attack" "!activator^RunScriptCode^self.ViewPunch(QAngle(-10, 0, 8))" "shoot view punch angle" "-10 0 8" } "The Ullapool Caber (Scout)" { OriginalItemName "The Flying Guillotine" "override projectile type" 3 "damage bonus HIDDEN" 20 //100 dmg "blast dmg to self increased" 10 //50 self dmg "effect bar recharge rate increased" 1.3 "mult projectile scale" 1.1 "fuse bonus" 1.4 "custom item model" "models/workshop/weapons/c_models/c_caber/c_caber.mdl" "custom projectile model" "models/workshop/weapons/c_models/c_caber/c_caber.mdl" "custom kill icon" "ullapool_caber" } "Protagonist Sword" { // OriginalItemName "The Half-Zatoichi" // "restore health on kill" 0 // "honorbound" 0 // "hit self on miss" 1 // "use original class weapon animations" 1 //breaks upgrades // "CARD: damage bonus" 1.5384 OriginalItemName "three-rune blade" "hidden secondary max ammo penalty" 0 "hidden primary max ammo bonus" 0 "bleeding duration" 0 "CARD: damage bonus" 3 "damage bonus HIDDEN" 0.95238 //100 damage per swing "fire rate penalty" 1.7 "is_a_sword" 72 // "custom item model" "models/workshop_partner/weapons/c_models/c_shogun_katana/c_shogun_katana_soldier.mdl" "custom kill icon" "demokatana" "custom hit sound" "MVM_Weapon_Katana.HitFlesh" "add attributes when active" "head scale|0.25|voice pitch scale|1.19" // "add cond when active" 84 "player gravity ballon head" 3 "increased jump height" 3.25 "cancel falling damage" 1 "crit mod disabled" 0 "increased air control" 4 "bot custom jump particle" 1 "damage force reduction" 0.2 "melee range multiplier" 1.1 "melee bounds multiplier" 1.15 // "maxammo primary reduced" 0 // "maxammo secondary reduced" 0 "special item description" "Locked to melee. High mobility" } "Glasgow Tiger" { OriginalItemName "The Eviction Notice" "hidden secondary max ammo penalty" 0 "hidden primary max ammo bonus" 0 "mod_maxhealth_drain_rate" 0 "mult_player_movespeed_active" 1 "damage penalty" 1 "fire rate bonus" 1 "speed_boost_on_hit" 0 "heal on hit for rapidfire" 25 "max health additive bonus" 100 "move speed bonus" 1.3 "damage force reduction" 0.2 "airblast vulnerability multiplier" 0.2 "special item description" "Locked to melee" } "Fire Bomb" //WIP { OriginalItemName "The Gas Passer" "item color rgb" 13595446 } "Aggresive Medicine" { OriginalItemName "Upgradeable tf_weapon_medigun" "heal rate penalty" 0.2 "revive rate" 5 "effect cond override" 20 "ubercharge rate penalty" 1.5 "paintkit_proto_def_index" 417 "set_item_texture_wear" 0 "medigun passive attributes" "damage returns as health|0.4" "effect add attributes" "fire rate bonus HIDDEN|0.5|Reload time decreased|0.5|clip size bonus upgrade|2|ammo regen|0.1|charge recharge rate increased|2" "special item description" "UBERCHARGE: Double your patient's firerate and reload speed" "special item description 2" "Almost no healing of your own, your patient gains life steal" } "Big Ambassador" //WIP { OriginalItemName "The Ambassador" "add attributes when active" "hand scale|1.2" //BIG GUN } "Mine Layer" { OriginalItemName "Upgradeable TF_WEAPON_PIPEBOMBLAUNCHER" "custom projectile model" "models\pickups\emitter.mdl" "override projectile type" 3 "mult projectile scale" 0.5 "special item description" "Touch-based detonation, no manual detonation" "special item description 2" "-75% damage on direct hit" "clip size penalty" 0.5 "paintkit_proto_def_index" 413 "set_item_texture_wear" 0 "damage bonus HIDDEN" 0.25 "grenade bounce damage" 4 "alt-fire disabled" 1 "grenade no spin" 1 "grenade no bounce" 1 "grenade bounce speed" -0.1 "projectile no deflect" 1 "custom kill icon" "stickybomb_defender" "fuse bonus" 100 "no damage falloff" 1 } "Freeze Thrower" { OriginalItemName "Upgradeable TF_WEAPON_FLAMETHROWER" "special item description" "Slow enemies; no flame penetration" "damage bonus HIDDEN" 1.25 "paintkit_proto_def_index" 282 //282 //248 "attach particle effect" 703 "lunchbox adds minicrits" 1 "set_item_texture_wear" 0 "weapon burn time reduced" 0 "weapon burn dmg reduced" 0 "remove cond on hit" 22 "add cond on hit" 127 "add cond on hit duration" 3 "max aoe targets" 1 "slow enemy on hit" 1 "fire input on hit" "!caller^RunScriptCode^DispatchParticleEffect(`xms_snowburst`,self.GetOrigin(),Vector(0,0,10));EntFire(`!activator`,`ExtinguishPlayer`,null,0,self)" "set turn to ice" 1 "remove damage type" 8 //remove fire "add damage type" 128 //add melee "custom hit sound" "=65|weapons/icicle_freeze_victim_01.wav" "custom kill icon" "freezeflame" } "Bomber" { OriginalItemName "The Air Strike" "Blast radius decreased" 1 "damage penalty" 1 "mini rockets" 0 "clipsize increase on kill" 0 "rocketjump attackrate bonus" 0.335 "rocket jump damage reduction" 1 "self dmg push force increased" 1.25 "no damage falloff" 1 "fire rate penalty" 1.5 "fire input on hit" "!self^$AddCond^130" "crit mod disabled" 0 "special item description" "While blast jumping shoot Bombs instead of Rockets" "paintkit_proto_def_index" 414 "set_item_texture_wear" 0 } "The Devastator" { OriginalItemName "The Black Box" "clip size penalty" 1 "health on radius damage" 0 "mod max primary clip override" -1 "mod no reload DISPLAY ONLY" 1 "fire rate penalty" 1.25 "no primary ammo from dispensers while active" 1 "single wep deploy time increased" 1.8 "crit mod disabled" 0 "alt fire attack" 1 "alt fire attributes" "mini rockets|1|projectile spread angle penalty|3|damage penalty|0.5|mult projectile scale|0.75|mult projectile count|4|ignores other projectiles|1|mod ammo per shot|5" "special item description" "Alt fire: Fires powerfull Barrage of Rockets; Costs 5 ammo" "special item description 2" "!WARNING! Attempting Alt-Fire with insufficient ammo will jam the weapon" "add attributes when active" "hand scale|1.1" //Slightly bigger gun "paintkit_proto_def_index" 403 "set_item_texture_wear" 0 } "Homing Rocket Launcher" { OriginalItemName "Upgradeable TF_WEAPON_ROCKETLAUNCHER" "Blast radius decreased" 0.8 "maxammo primary reduced" 0.8 "crit mod disabled" 0 "alt fire attack" 1 "alt fire attributes" "projectile trail particle|eyeboss_projectile|mod projectile heat seek power|90|mod projectile heat no predict target speed|1|Projectile speed decreased|0.75" "special item description" "Alt fire: Launch a Homing Rocket" "special item description 2" "Homing Rockets are slower than regular" "paintkit_proto_def_index" 262 "set_item_texture_wear" 0 } "Tesla Weapon" { OriginalItemName "The Rescue Ranger" "arrow heals buildings" 0 "engineer building teleporting pickup" 999999 "mark for death on building pickup" 0 "repair health to metal ratio DISPLAY ONLY" 0 "custom item model" "models/workshop/weapons/c_models/c_drg_phlogistinator/c_drg_phlogistinator.mdl" "custom hit sound" "=80|weapons\stunstick\spark2.wav" "custom kill icon" "spellbook_lightning" "projectile trail particle" "unusual_zap_yellow" "custom weapon fire sound" "ambient\levels\labs\electric_explosion1.wav" // "use original class player animations" 1 "item color rgb" 15185211 // "paintkit_proto_def_index" 241 // "set_item_texture_wear" 0 "attach particle effect" 3044 "fire input on hit" "!caller^RunScriptCode^DispatchParticleEffect(`versus_door_sparksB`,self.GetOrigin(),Vector(0,0,10))" // "fire input on attack" "!activator^RunScriptCode^self.ViewPunch(QAngle(-2, 0, 0))" "crit mod disabled" 0 "hidden primary max ammo bonus" 1.625 "penetrate teammates" 1 "projectile penetration" 1 "arrow snap to next target radius" 300 "arrow hit kill time" 0.35 "mod max primary clip override" -1 "projectile gravity native" 0.0001 // "remove damage type" 8 //remove fire // "add damage type" 2 //add bullet "add damage type" 256 //add... electric? // "custom weapon fire sound" "vo/taunts/demo/taunt_demo_nuke_8_explosion.mp3" // "projectile lifetime" 0.5 "Projectile speed increased HIDDEN" 1.25 "custom projectile size" 25 "mult projectile scale" 0 "fire rate bonus HIDDEN" 1 "damage bonus HIDDEN" 1.25 //60~27 damage "centerfire projectile" 1 "projectile no deflect" 1 "reduced damage rampup" 1 // "alt fire attack" 1 "crit vs wet players" 1 "mult crit dmg" 0.5 // "alt fire attributes" "projectile spread angle penalty|16|damage penalty|0.4|mult projectile count|10|ignores other projectiles|1|mod ammo per shot|10|attack projectiles|2|fire rate penalty|3|projectile lifetime|0.25|mult dmg vs tanks|1|custom weapon fire sound|ambient\levels\labs\electric_explosion1.wav" //Alt-Fire: potential - 400 dmg (400 tank) "special item description" "Fires bolts of lightning" "special item description 2" "Non-Lethal hits will chain to multipple targets" // "special item description 3" "Alt-Fire: Overcharge the weapon to fire a powerfull short range burst" } "The Reprogrammer" { OriginalItemName "Silver Botkiller Knife Mk.II" "fire input on hit" "popscript^$reprogKnife^" "fire input on hit name restrict" "player" "dmg penalty vs players" 0.001 //no kill common. even backstab "mult dmg vs giants" 1000 //normal giant damage "mult dmg vs tanks" 1000 //normal tank damage "special item description" "Reprogram Non-Giant robots on Backstab for 20 seconds." "special item description 2" "Reprogrammed robots get marked when about to turn BLU again." "special item description 3" "Deal NO damage to Non-Giants" "max health additive bonus" 25 } "The testReprogrammer" { OriginalItemName "Silver Botkiller Knife Mk.II" "fire input on hit" "popscript^$testReprogKnife^" "fire input on hit name restrict" "player" "dmg penalty vs players" 0.001 //no kill common. even backstab "mult dmg vs giants" 1000 //normal giant damage "mult dmg vs tanks" 1000 //normal tank damage "special item description" "Reprogram Non-Giant robots on Backstab for 20 seconds." "special item description 2" "Reprogrammed robots get marked when about to turn BLU again." "special item description 3" "Deal NO damage to Non-Giants" "max health additive bonus" 25 } "Quake Champion" { OriginalItemName "the original" "mod max primary clip override" -1 "mod no reload DISPLAY ONLY" 1 "move speed bonus" 1.25 "Blast radius decreased" 0.9 "allow bunny hop" 1 "increased air control" 1.33 "max health additive penalty" -75 "crit mod disabled" 0 "no primary ammo from dispensers while active" 1 "single wep deploy time increased" 1.2 "maxammo primary reduced" 0.8 "rocket jump damage reduction" 0.6 "item color rgb" 8289918 //slightly darker } "Assault Cannon" { OriginalItemName "Upgradeable TF_WEAPON_SCATTERGUN" "mod max primary clip override" -1 // "mod no reload DISPLAY ONLY" 1 "damage bonus HIDDEN" 1 //roughly 400 dps point blank "bullets per shot bonus" 0.5 "fire rate bonus HIDDEN" 0.25 "weapon spread bonus" 0.8 "crit mod disabled" 0 "hidden primary max ammo bonus" 6.25 "maxammo primary reduced" 0.75 "shoot view punch angle" "3 0 0" "use original class weapon animations" 1 "use original class player animations" 1 "custom item model" "models/workshop/weapons/c_models/c_pep_scattergun/c_pep_scattergun.mdl" // "custom weapon fire sound" "weapons\china_lake_shoot.wav" //not vanilla :( // "custom weapon fire sound" "Weapon_Brawler_Blaster.Single" "custom kill icon" "pep_brawlerblaster" } "The Texas Quickdraw" { OriginalItemName "Upgradeable TF_WEAPON_REVOLVER" "weapon spread bonus" 0.1 "hidden secondary max ammo penalty" 1.5 "crit mod disabled" 0 "damage bonus HIDDEN" 1.25 //50 base, up to 75 close range "alt fire attack" 1 "alt fire attributes" "spread penalty|20|fire rate bonus HIDDEN|0.1" "special item description" "Alt-Fire: Quickly unload your clip. Low accuracy" "use original class weapon animations" 1 // "use original class player animations" 1 "custom weapon fire sound" "player\taunt_western_shoot2.wav" "paintkit_proto_def_index" 120 "set_item_texture_wear" 0 } "Texas Quickdraw" //give revolver indirectly { OriginalItemName "iron fist" "custom item model" "models\empty.mdl" } "Confusion Bomb" { OriginalItemName "jarate" "fire input on hit" "popscript^$confuseBomb^" "fire input on hit name restrict" "player" "override projectile type" 3 "damage bonus HIDDEN" 0.2 //1 dmg "effect bar recharge rate increased" 3 "mult projectile scale" 1.1 "projectile no deflect" 1 "use original class weapon animations" 1 "use original class player animations" 1 // "custom item model" "models/workshop/weapons/c_models/c_caber/c_caber.mdl" "custom projectile model" "models/workshop/weapons/c_models/c_quadball/w_quadball_grenade.mdl" "explosion particle" Explosion_ShockWave_01 "projectile trail particle" pipebombtrail_red "special item description" "Reprogram Non-Giant robots for 6 seconds." } } //TODO: // melee for medic to transfer hp // heavy artillery and it's upgrades ExtraLoadoutItems { Scout { Primary "Beam Shotgun" Primary "Heavy Machine Gun" Secondary "The Ullapool Caber (Scout)" Melee "Protagonist Sword" //need better item removal tech } Soldier { Primary "HL2RPG" Primary "Bomber" Primary "The Devastator" Primary "Homing Rocket Launcher" Primary "Quake Champion" } Pyro { Primary "Freeze Thrower" // Secondary "Confusion Bomb" //WIP } Demoman { Secondary "Mine Layer" Melee "Kurokumo Blade" } HeavyWeapons { Primary "Dragon Breath" // Primary "Heavy Artillery" //needs rework Primary "Heavy Rocket Weapons" Primary "Assault Cannon" Secondary "Super Shotgun" Melee "Glasgow Tiger" //need better item removal tech } Engineer { Primary "The Winchester" Primary "Texas Quickdraw" Primary "Tesla Weapon" // Melee "Portable Robotic Companion" //server issues PDA2 "Manual Sentry" PDA2 "Fire Sentry" //PDA2 "Shotgun Sentry" //causes server lag } Medic { Primary "Uber Laser" Secondary "Vampire Treatment" Secondary "Aggresive Medicine" } Sniper { Primary "Magic Bow" Primary "The Mann Cannon" } Spy { // Melee "The Reprogrammer" //fucked, need fixing // Melee "The testReprogrammer" } } ExtendedUpgrades //custom weapon upgrades { manual_ammo { Name "+50% sentry ammo capacity" Attribute "mvm sentry ammo" Cap 2 Increment 0.5 Cost 500 AllowedWeapons { ItemName "Manual Sentry" } ShowRequirements 0 } magic_multi { Name "Shoot 2 more arrows that deal up to 25 damage" Attribute "arrow mastery" Cap 4 Increment 1 Cost 500 AllowedWeapons { ItemName "Magic Bow" } ShowRequirements 0 } artil_damage { Name "+25% damage bonus" Attribute "damage bonus" Cap 2 Increment 0.25 Cost 400 AllowedWeapons { ItemName "Heavy Artillery" } ShowRequirements 0 } artil_firerate { Name "+10% fire rate" Attribute "fire rate bonus" Cap 0.7 Increment -0.1 Cost 350 AllowedWeapons { ItemName "Heavy Artillery" } ShowRequirements 0 } atril_charge { Name "25% faster charge rate" Attribute "SRifle Charge rate increased" Cap 2 Increment 0.25 Cost 300 AllowedWeapons { ItemName "Heavy Artillery" } ShowRequirements 0 } artil_blast { Name "+15% blast radius" Attribute "Blast radius increased" Cap 1.6 Increment 0.15 Cost 200 AllowedWeapons { ItemName "Heavy Artillery" } ShowRequirements 0 } dragon_movement { Name "+20% faster movespeed while spunup" Attribute "aiming movespeed increased" Cap 1.8 Increment 0.2 Cost 500 AllowedWeapons { ItemName "Dragon Breath" } ShowRequirements 0 } kurokumo_bleed_time { Name "+20% bleed damage per second" Attribute "mult bleeding delay" Cap 0.4 Increment -0.2 Cost 250 AllowedWeapons { ItemName "Kurokumo Blade" } ShowRequirements 0 } kurokumo_bleed_damage { Name "+100% bleed damage" Attribute "mult bleeding dmg" Cap 5 Increment 1 Cost 200 AllowedWeapons { ItemName "Kurokumo Blade" } ShowRequirements 0 } winchester_headshot { Name "+25% headshot damage" Attribute "headshot damage increase" Cap 2 Increment 0.25 Cost 400 AllowedWeapons { ItemName "The Winchester" } ShowRequirements 0 } machinegun_damage { Name "+25% damage bonus" Attribute "damage bonus" Cap 2 Increment 0.25 Cost 400 AllowedWeapons { ItemName "Heavy Machine Gun" } ShowRequirements 0 } machinegun_clip { Name "+50% clip size" Attribute "clip size bonus upgrade" Cap 3 Increment 0.5 Cost 400 AllowedWeapons { ItemName "Heavy Machine Gun" } ShowRequirements 0 } machinegun_firerate { Name "+10% fire rate" Attribute "fire rate bonus" Cap 0.6 Increment -0.1 Cost 300 AllowedWeapons { ItemName "Heavy Machine Gun" } ShowRequirements 0 } machinegun_ammo { Name "+50% ammo capacity" Attribute "maxammo primary increased" Cap 2.5 Increment 0.5 Cost 250 AllowedWeapons { ItemName "Heavy Machine Gun" } ShowRequirements 0 } machinegun_hok { Name "+25 heal on kill" Attribute "heal on kill" Cap 100 Increment 25 Cost 200 AllowedWeapons { ItemName "Heavy Machine Gun" } ShowRequirements 0 } antimatter_explosive { Name "Explosive bullets" Description "!WARNING! Massive self damage at close range; Switches damage type from Bullet to Blast" Attribute "explosive bullets" Cap 210 Increment 105 Cost 400 AllowedWeapons { ItemName "The Mann Cannon" } ShowRequirements 0 } throwable_caber_damage { Name "+20% damage bonus" Attribute "damage bonus" Cap 2 Increment 0.2 Cost 250 AllowedWeapons { ItemName "The Ullapool Caber (Scout)" } ShowRequirements 0 } throwable_caber_blast { Name "+15% blast radius" Attribute "Blast radius increased" Cap 1.6 Increment 0.15 Cost 150 AllowedWeapons { ItemName "The Ullapool Caber (Scout)" } ShowRequirements 0 } protagonist_mark { Name "Mark for death on hit" Attribute "mark for death" Cap 1 Increment 1 Cost 500 AllowedWeapons { ItemName "Protagonist Sword" } ShowRequirements 0 } protagonist_damage { Name "+40% damage bonus" Attribute "damage bonus" Cap 2.6 Increment 0.4 Cost 400 AllowedWeapons { ItemName "Protagonist Sword" } ShowRequirements 0 } protagonist_maxhp { Name "+25 max health" Attribute "max health additive bonus" Cap 100 Increment 25 Cost 250 AllowedWeapons { ItemName "Protagonist Sword" } ShowRequirements 0 } protagonist_hoh { Name "+25 heal on hit" Attribute "heal on hit for rapidfire" Cap 100 Increment 25 Cost 200 AllowedWeapons { ItemName "Protagonist Sword" } ShowRequirements 0 } protagonist_selfres { Name "-45% self damage on miss" Attribute "dmg taken from self reduced" Cap 0.1 Increment -0.45 Cost 200 AllowedWeapons { ItemName "Protagonist Sword" } ShowRequirements 0 } ulaser_economy { Name "-50% UberCharge cost" Attribute "cannot giftwrap" Cap 1 Increment 1 Cost 500 OnApply { Output "!activator,$AddItemAttribute,ubercharge ammo|2.49|0,0,-1" } OnDowngrade { Output "!activator,$AddItemAttribute,ubercharge ammo|4.99|0,0,-1" } AllowedWeapons { ItemName "Uber Laser" } ShowRequirements 0 } ulaser_damage { Name "+25% damage bonus" Attribute "damage bonus" Cap 2 Increment 0.25 Cost 400 AllowedWeapons { ItemName "Uber Laser" } ShowRequirements 0 } ulaser_slow { Name "apply slow for +2s on hit" Attribute "slow enemy on hit major" Cap 6 Increment 2 Cost 300 AllowedWeapons { ItemName "Uber Laser" } ShowRequirements 0 } hl2rpg_shotgun_damage { Name "+25% damage bonus" Attribute "damage bonus" Cap 2 Increment 0.25 Cost 200 AllowedWeapons { ClassName "tf_weapon_shotgun" ClassName "tf_weapon_shotgun_primary" SimilarToItem "TF_WEAPON_SHOTGUN_SOLDIER" SimilarToItem "TF_WEAPON_SHOTGUN_HWG" SimilarToItem "TF_WEAPON_SHOTGUN_PYRO" SimilarToItem "TF_WEAPON_SHOTGUN_PRIMARY" ItemName "The Reserve Shooter" ItemName "Panic Attack Shotgun" ItemName "The Family Business" } RequiredWeapons { ItemName "HL2RPG" } ShowRequirements 0 } hl2rpg_shotgun_spread { Name "-10% spread" Attribute "weapon spread bonus" Cap 0.7 Increment -0.1 Cost 125 AllowedWeapons { ClassName "tf_weapon_shotgun" ClassName "tf_weapon_shotgun_primary" SimilarToItem "TF_WEAPON_SHOTGUN_SOLDIER" SimilarToItem "TF_WEAPON_SHOTGUN_HWG" SimilarToItem "TF_WEAPON_SHOTGUN_PYRO" SimilarToItem "TF_WEAPON_SHOTGUN_PRIMARY" ItemName "The Reserve Shooter" ItemName "Panic Attack Shotgun" ItemName "The Family Business" } RequiredWeapons { ItemName "HL2RPG" } ShowRequirements 0 } hl2rpg_banner_range { Name "+25% banner range" Attribute "mod soldier buff range" Cap 2 Increment 0.25 Cost 250 AllowedWeapons { ClassName "tf_weapon_buff_item" } RequiredWeapons { ItemName "HL2RPG" } ShowRequirements 0 } glasgow_damage { Name "+30% damage bonus" Attribute "damage bonus" Cap 2.5 Increment 0.3 Cost 400 AllowedWeapons { ItemName "Glasgow Tiger" } ShowRequirements 0 } glasgow_melee_res { Name "+20% melee resistance" Attribute "dmg from melee increased" Cap 0.4 Increment -0.2 Cost 300 AllowedWeapons { ItemName "Glasgow Tiger" } ShowRequirements 0 } glasgow_slow_res { Name "Slow immunity" Attribute "mult stun resistance" Cap 0 Increment -1 Cost 300 AllowedWeapons { ItemName "Glasgow Tiger" } ShowRequirements 0 } glasgow_firerate { Name "+10% attack speed" Attribute "melee attack rate bonus" Cap 0.5 Increment -0.1 Cost 250 AllowedWeapons { ItemName "Glasgow Tiger" } ShowRequirements 0 } vampire_uberdrain { Name "+100% Uber drain efficency" Attribute "subtract victim medigun charge on hit" Cap 5 Increment 1 Cost 250 AllowedWeapons { ItemName "Vampire Treatment" } ShowRequirements 0 } mine_maxplaced { Name "+2 maximum mines placed at once" Attribute "max pipebombs increased" Cap 8 Increment 2 Cost 250 AllowedWeapons { ItemName "Mine Layer" } ShowRequirements 0 } tesla_damage { Name "+25% damage bonus" Attribute "damage bonus" Cap 2 Increment 0.25 Cost 400 AllowedWeapons { ItemName "Tesla Weapon" } ShowRequirements 0 } quake_damage_direct { Name "+25% damage on direct hit" Attribute "mult dmg direct hit" Cap 2 Increment 0.25 Cost 350 AllowedWeapons { ItemName "Quake Champion" } ShowRequirements 0 } assault_penetration { Name "Bullets penetrate +1 enemy" Attribute "projectile penetration heavy" Cap 3 Increment 1 Cost 400 AllowedWeapons { ItemName "Assault Cannon" } ShowRequirements 0 } assault_destroy_projectiles { Name "Projectile deflection" Attribute "attack projectiles" Cap 2 Increment 1 Cost 400 AllowedWeapons { ItemName "Assault Cannon" } ShowRequirements 0 } assault_firerate { Name "+10% fire rate" Attribute "fire rate bonus" Cap 0.6 Increment -0.1 Cost 350 AllowedWeapons { ItemName "Assault Cannon" } ShowRequirements 0 } assault_ammo { Name "+50% ammo capacity" Attribute "maxammo primary increased" Cap 2.5 Increment 0.5 Cost 250 AllowedWeapons { ItemName "Assault Cannon" } ShowRequirements 0 } assault_hok { Name "+25 heal on kill" Attribute "heal on kill" Cap 100 Increment 25 Cost 200 AllowedWeapons { ItemName "Assault Cannon" } ShowRequirements 0 } tqd_headshot { Name "Critical hit on a Headshot" Attribute "revolver use hit locations" Cap 1 Increment 1 Cost 1600 AllowedWeapons { ItemName "The Texas Quickdraw" } ShowRequirements 0 } tqd_penetration { Name "Projectile penetration" Attribute "projectile penetration" Cap 1 Increment 1 Cost 400 AllowedWeapons { ItemName "The Texas Quickdraw" } ShowRequirements 0 } tqd_damage { Name "+25% damage bonus" Attribute "damage bonus" Cap 2 Increment 0.25 Cost 250 AllowedWeapons { ItemName "The Texas Quickdraw" } ShowRequirements 0 } tqd_hok { Name "+25 heal on kill" Attribute "heal on kill" Cap 100 Increment 25 Cost 100 AllowedWeapons { ItemName "The Texas Quickdraw" } ShowRequirements 0 } } ExtendedUpgrades //custom upgrades { bow_burn { Name "Flaming arrows" Attribute "arrow ignite" Cap 1 Increment 1 Cost 200 AllowedWeapons { ClassName "tf_weapon_compound_bow" } DisallowedWeapons { ItemName "Magic Bow" } ShowRequirements 0 } bow_afterburn_damage { Name "+25% afterburn damage" Attribute "weapon burn dmg increased" Cap 2 Increment 0.25 Cost 200 AllowedWeapons { ClassName "tf_weapon_compound_bow" } DisallowedWeapons { ItemName "Magic Bow" } ShowRequirements 0 RequiredUpgrade { Upgrade bow_burn } } bow_afterburn_time { Name "+25% afterburn damage per second" Attribute "weapon burn time increased" Cap 2 Increment 0.25 Cost 200 AllowedWeapons { ClassName "tf_weapon_compound_bow" } DisallowedWeapons { ItemName "Magic Bow" } ShowRequirements 0 RequiredUpgrade { Upgrade bow_burn } } pistol_critboost { Name "+2s crits on kill" Attribute "critboost on kill" Cap 4 Increment 2 Cost 350 AllowedWeapons { ClassName "tf_weapon_handgun_scout_secondary" ClassName "tf_weapon_pistol" ItemName "tf_weapon_handgun_scout_secondary" ItemName "tf_weapon_pistol" } ShowRequirements 0 } revolver_uberdrain { Name "Drain medic's uber on hit" Description "Also damage all robots connected via medibeam" Attribute "subtract victim medigun charge on hit" Cap 20 Increment 5 Cost 350 SecondaryAttributes { "damage all connected" 1 } AllowedWeapons { ClassName "tf_weapon_revolver" } DisallowedWeapons { ItemName "The Texas Quickdraw" } ShowRequirements 0 } syringes_uber { Name "Uber syringes: +1% UberCharge on hit" Attribute "add uber charge on hit" Cap 0.01 Increment 0.01 Cost 300 AllowedWeapons { ClassName "tf_weapon_syringegun_medic" } DisallowedWeapons { ItemName "Heavy Machine Gun" ItemName "Uber Laser" } DisallowedUpgrade { Upgrade syringes_poison } ShowRequirements 0 } syringes_poison { Name "Posion syringes: +5s bleed and +50% damage to tanks" Attribute "bleeding duration" Cap 5 Increment 5 Cost 200 SecondaryAttributes { "mult dmg vs tanks" 0.5 "mult bleeding delay" -0.65 } AllowedWeapons { ClassName "tf_weapon_syringegun_medic" } DisallowedWeapons { ItemName "Heavy Machine Gun" ItemName "Uber Laser" } DisallowedUpgrade { Upgrade syringes_uber } ShowRequirements 0 } circuit_damage { Name "+50% damage bonus" Attribute "damage bonus" Cap 3 Increment 0.5 Cost 200 AllowedWeapons { ItemName "The Short Circuit" } ShowRequirements 0 } circuit_aoe { Name "Primary fire deals AOE damage" Attribute "explosive bullets" Cap 140 Increment 70 Cost 150 OnApply { Output "circuit_aoe_logic,InValue,,0,-1" Output "!activator,$AddItemAttribute,special damage type|3|1,0,-1" Output "!activator,$AddItemAttribute,dmg taken mult from special damage type 3|0.00001|1,0,-1" Output "!activator,$AddItemAttribute,sniper fires tracer HIDDEN|1|1,0,-1" Output "!activator,$AddItemAttribute,remove damage type|64|1,0,-1" //remove blast Output "!activator,$AddItemAttribute,add damage type|2|1,0,-1" //add bullet // Output "!activator,$AddItemAttribute,no explosion particles|1|1,0,-1" // Output "!activator,$AddItemAttribute,custom impact sound|ambient\energy\spark4.wav|1,0,-1" // Output "!activator,$AddItemAttribute,explosion particle|drg_cow_explosion_sparkles|1,0,-1" } OnDowngrade { Output "circuit_aoe_logic,InValue,,0,-1" Output "!activator,$RemoveItemAttribute,special damage type|1,0,-1" Output "!activator,$RemoveItemAttribute,dmg taken mult from special damage type 3|1,0,-1" Output "!activator,$RemoveItemAttribute,sniper fires tracer HIDDEN|1,0,-1" Output "!activator,$RemoveItemAttribute,remove damage type|1,0,-1" Output "!activator,$RemoveItemAttribute,add damage type|1,0,-1" // Output "!activator,$RemoveItemAttribute,no explosion particles|1,0,-1" // Output "!activator,$RemoveItemAttribute,custom impact sound|1,0,-1" // Output "!activator,$RemoveItemAttribute,explosion particle|1,0,-1" } AllowedWeapons { ItemName "The Short Circuit" } ShowRequirements 0 } circuit_reveal { Name "Reveal cloaked and disguised spies on hit" Attribute "reveal cloaked victim on hit" Cap 1 Increment 1 Cost 150 SecondaryAttributes { "reveal disguised victim on hit" 1 } AllowedWeapons { ItemName "The Short Circuit" } ShowRequirements 0 } circuit_range { Name "Double the range for primary fire" Attribute "max bullet range" Cap 1000 Increment 500 Cost 100 SecondaryAttributes { "weapon spread bonus" -0.4 } AllowedWeapons { ItemName "The Short Circuit" } ShowRequirements 0 } circuit_homing { Name "Energy orb homing" Attribute "mod projectile heat seek power" Cap 100 Increment 25 Cost 100 OnApply { Output "!activator,$AddItemAttribute,mod projectile heat no predict target speed|1|1,0,-1" Output "!activator,$AddItemAttribute,Projectile speed decreased|25|1,0,-1" } OnDowngrade { Output "!activator,$RemoveItemAttribute,mod projectile heat no predict target speed|1,0,-1" Output "!activator,$RemoveItemAttribute,Projectile speed decreased|1,0,-1" } AllowedWeapons { ItemName "The Short Circuit" } ShowRequirements 0 } manntreads_kick { Name "Robot Kick" Description "Deal damage on contact (1 Second cooldown)" Attribute "hidden secondary max ammo penalty" Cap 1.2 Increment 0.1 Cost 250 OnApply { Output "manntreads_kick_logic,InValue,,0,-1" } OnDowngrade { Output "manntreads_kick_logic,InValue,,0,-1" } AllowedWeapons { ItemName "The Mantreads" } DisallowedWeapons { ItemName "HL2RPG" } ShowRequirements 0 DisallowedUpgrade { Upgrade manntreads_kick Level 2 } } manntreads_kick_hl2rpg { Name "Robot Kick (Advanced)" Description "Deal damage on contact (1 Second cooldown)" Attribute "hidden secondary max ammo penalty" Cap 1.4 Increment 0.1 Cost 250 OnApply { Output "manntreads_kick_logic,InValue,,0,-1" } OnDowngrade { Output "manntreads_kick_logic,InValue,,0,-1" } AllowedWeapons { ItemName "The Mantreads" } RequiredWeapons { ItemName "HL2RPG" } ShowRequirements 0 RequiredUpgrade { Upgrade manntreads_kick Level 2 } } manntreads_kick_cooldown { Name "-15% Kick cooldown time" Attribute "clip size penalty HIDDEN" Cap 1.4 Increment 0.1 Cost 200 OnApply { Output "manntreads_kick_cooldown_logic,InValue,,0,-1" } OnDowngrade { Output "manntreads_kick_cooldown_logic,InValue,,0,-1" } AllowedWeapons { ItemName "The Mantreads" } ShowRequirements 0 RequiredUpgradeOr { Upgrade manntreads_kick } RequiredUpgradeOr { Upgrade manntreads_kick_hl2rpg } } } ExtendedUpgrades //companion upgrades { companion_upgrade { Name "Companion Hardware Upgrade" Attribute "throwable fire speed" Description "Upgrades bot weapon and add +100 max health" Cap 10 Increment 1 Cost 300 AllowedWeapons { ItemName "Portable Robotic Companion" } OnApply { Output "popscript,$TierPurchase,,0" } OnDowngrade { Output "popscript,$TierPurchase,,0" } } companion_upgrade_1 { Name "Next Upgrade" Description "+Firerate. +Reload Speed" Attribute "medigun charge is crit boost" Cap 0 Increment 1 Cost 0 AllowedWeapons { ItemName "Portable Robotic Companion" } DisallowedUpgrade { Upgrade "companion_upgrade" Level 1 } ShowRequirements 0 } companion_upgrade_2 { Name "Next Upgrade" Description "+Firerate. +Clip Size" Attribute "medigun charge is crit boost" Cap 0 Increment 1 Cost 0 AllowedWeapons { ItemName "Portable Robotic Companion" } RequiredUpgrade { Upgrade "companion_upgrade" Level 1 } DisallowedUpgrade { Upgrade "companion_upgrade" Level 2 } ShowRequirements 0 } companion_upgrade_3 { Name "Next Upgrade" Description "+Damage. +Clip Size" Attribute "medigun charge is crit boost" Cap 0 Increment 1 Cost 0 AllowedWeapons { ItemName "Portable Robotic Companion" } RequiredUpgrade { Upgrade "companion_upgrade" Level 2 } DisallowedUpgrade { Upgrade "companion_upgrade" Level 3 } ShowRequirements 0 } companion_upgrade_4 { Name "Next Upgrade" Description "+Full Clip Reload" Attribute "medigun charge is crit boost" Cap 0 Increment 1 Cost 0 AllowedWeapons { ItemName "Portable Robotic Companion" } RequiredUpgrade { Upgrade "companion_upgrade" Level 3 } DisallowedUpgrade { Upgrade "companion_upgrade" Level 4 } ShowRequirements 0 } companion_upgrade_5 { Name "Next Upgrade" Description "+Damage. +Rocket Specialist" Attribute "medigun charge is crit boost" Cap 0 Increment 1 Cost 0 AllowedWeapons { ItemName "Portable Robotic Companion" } RequiredUpgrade { Upgrade "companion_upgrade" Level 4 } DisallowedUpgrade { Upgrade "companion_upgrade" Level 5 } ShowRequirements 0 } companion_upgrade_6 { Name "Next Upgrade" Description "+Reload Speed. +Rocket Speed" Attribute "medigun charge is crit boost" Cap 0 Increment 1 Cost 0 AllowedWeapons { ItemName "Portable Robotic Companion" } RequiredUpgrade { Upgrade "companion_upgrade" Level 5 } DisallowedUpgrade { Upgrade "companion_upgrade" Level 6 } ShowRequirements 0 } companion_upgrade_7 { Name "Next Upgrade" Description "+Robot Size. +Backstab Shield" Attribute "medigun charge is crit boost" Cap 0 Increment 1 Cost 0 AllowedWeapons { ItemName "Portable Robotic Companion" } RequiredUpgrade { Upgrade "companion_upgrade" Level 6 } DisallowedUpgrade { Upgrade "companion_upgrade" Level 7 } ShowRequirements 0 } companion_upgrade_8 { Name "Next Upgrade" Description "+Damage. +Move Speed" Attribute "medigun charge is crit boost" Cap 0 Increment 1 Cost 0 AllowedWeapons { ItemName "Portable Robotic Companion" } RequiredUpgrade { Upgrade "companion_upgrade" Level 7 } DisallowedUpgrade { Upgrade "companion_upgrade" Level 8 } ShowRequirements 0 } companion_upgrade_9 { Name "Next Upgrade" Description "+Crit Resist. +Robot Size. +800 Max Health. +Build Speed" Attribute "medigun charge is crit boost" Cap 0 Increment 1 Cost 0 AllowedWeapons { ItemName "Portable Robotic Companion" } RequiredUpgrade { Upgrade "companion_upgrade" Level 8 } DisallowedUpgrade { Upgrade "companion_upgrade" Level 9 } ShowRequirements 0 } companion_upgrade_10 { Name "Next Upgrade" Description "MAX UPGRADE" Attribute "medigun charge is crit boost" Cap 0 Increment 1 Cost 0 AllowedWeapons { ItemName "Portable Robotic Companion" } RequiredUpgrade { Upgrade "companion_upgrade" Level 9 } ShowRequirements 0 } } ExtendedUpgrades //cut upgrades { // tesla_damage // { // Name "+20% damage bonus" // Attribute "damage bonus" // Cap 2 // Increment 0.2 // Cost 400 // AllowedWeapons // { // ItemName "Tesla Weapon" // } // ShowRequirements 0 // } // tesla_ammo // { // Name "+20% ammo capacity" // Attribute "maxammo primary increased" // Cap 2 // Increment 0.2 // Cost 300 // AllowedWeapons // { // ItemName "Tesla Weapon" // } // ShowRequirements 0 // } // tesla_hok // { // Name "+25 heal on kill" // Attribute "heal on kill" // Cap 100 // Increment 25 // Cost 200 // AllowedWeapons // { // ItemName "Tesla Weapon" // } // ShowRequirements 0 // } } DisallowUpgrade { Upgrade "weapon burn dmg increased" ItemName "Freeze Thrower" MaxLevel 0 } DisallowUpgrade { Upgrade "weapon burn time increased" ItemName "Freeze Thrower" MaxLevel 0 } DisallowUpgrade { Upgrade "explosive sniper shot" ItemName "The Mann Cannon" MaxLevel 0 } DisallowUpgrade { Upgrade "projectile penetration" ItemName "The Mann Cannon" MaxLevel 0 } DisallowUpgrade { Upgrade "projectile penetration" ItemName "Magic Bow" MaxLevel 0 } DisallowUpgrade { Upgrade "projectile penetration" ItemName "Super Shotgun" MaxLevel 0 } DisallowUpgrade { Upgrade "projectile penetration heavy" ItemName "Dragon Breath" MaxLevel 0 } DisallowUpgrade { Upgrade "projectile penetration heavy" ItemName "Heavy Rocket Weapons" MaxLevel 0 } DisallowUpgrade { Upgrade "attack projectiles" ItemName "Heavy Rocket Weapons" MaxLevel 0 } DisallowUpgrade { Upgrade "generate rage on damage" ItemName "Heavy Rocket Weapons" MaxLevel 0 } DisallowUpgrade { Upgrade "effect bar recharge rate increased" ItemName "The Ullapool Caber (Scout)" MaxLevel 0 } DisallowUpgrade { Upgrade "clip size upgrade atomic" ItemName "HL2RPG" MaxLevel 0 } DisallowUpgrade { Upgrade "clip size upgrade atomic" ItemName "The Devastator" MaxLevel 0 } DisallowUpgrade { Upgrade "clip size upgrade atomic" ItemName "Quake Champion" MaxLevel 0 } DisallowUpgrade { Upgrade "fire rate bonus" ItemName "Quake Champion" MaxLevel 0 } DisallowUpgrade { Upgrade "faster reload rate" ItemName "Quake Champion" MaxLevel 0 } DisallowUpgrade { Upgrade "clip size upgrade" ItemName "Tesla Weapon" MaxLevel 0 } DisallowUpgrade { Upgrade "mad milk syringes" ItemName "Uber laser" MaxLevel 0 } DisallowUpgrade { Upgrade "maxammo primary increased" ItemName "Uber laser" MaxLevel 0 } DisallowUpgrade { Upgrade "engy disposable sentries" MaxLevel 0 CheckAllSlots 1 ItemName "Portable Robotic Companion" } BuildingSpawnTemplate { ItemName "Portable Robotic Companion" Name OnSentryBuild BuildingType "Sentry" Delay 0.1 } }