#base robot_standard.pop #base robot_giant.pop tomboy { StartingCurrency 800 CanBotsAttackWhileInSpawnRoom no RespawnWaveTime 5 EventPopfile Halloween ZombiesNoWave666 1 PointTemplates { Widowmaker_Dudebro_Logic { NoFixup 1 logic_relay { "targetname" "switch_to_sentry_mode" "spawnflags" "2" "OnTrigger" "!self,EnableRefire,,0,-1" //"OnTrigger" "!activator,$WeaponStripSlot,0,0,-1" // "OnTrigger" "!activator,$WeaponStripSlot,1,0,-1" // "OnTrigger" "!activator,$WeaponStripSlot,2,0,-1" "OnTrigger" "!activator,$WeaponSwitchSlot,5,0,-1" "OnTrigger" "!activator,$AddPlayerAttribute,disable weapon switch|1,0.01,-1" } logic_relay { "targetname" "switch_to_shotgun_mode" "spawnflags" "2" "OnTrigger" "!self,EnableRefire,,0,-1" "OnTrigger" "player,$DisplayTextCenter,swag,0,-1" "OnTrigger" "!activator,$RemovePlayerAttribute,disable weapon switch,0,-1" //"OnTrigger" "!activator,$GiveItem,The Widowmaker,0,-1" //"OnTrigger" "!activator,$GiveItem,The Gunslinger,0,-1" "OnTrigger" "!activator,$WeaponSwitchSlot,0,0.1,-1" } } } SpawnTemplate Widowmaker_Dudebro_Logic Templates { baller { Name "Gunslinger" Class Engineer ClassIcon engineer_widowmaker_nys Health 275 Skill Normal MaxVisionRange 1200 Scale 1.2 Item "The Widowmaker" Item "The Gunslinger" Item "Battery Canteens" Item "The Sightliner" Item "Aim Assistant" Item "Iron Lung" Item "Roboot" Action FetchFlag UseMeleeThreatPrioritization 1 Attributes AlwaysFireWeapon //required to work FireInput { Target "switch_to_sentry_mode" Action "Trigger" Delay 0 Cooldown 7 IfSeeTarget 0 } FireInput { Target "switch_to_shotgun_mode" Action "Trigger" Delay 0 Cooldown 3 IfSeeTarget 1 } ItemAttributes { ItemName "The Widowmaker" "damage bonus bullet vs sentry target" 1.5 "dmg bonus vs buildings" 1.5 } CharacterAttributes { "voice pitch scale" 1.25 "engy building health bonus" 1.5 "engy sentry radius increased" 0.7 "engineer sentry build rate multiplier" 2 "engy sentry fire rate increased" 1.33 } } } Wave { StartWaveOutput { Target wave_start_relay Action Trigger } DoneOutput { Target wave_finished_relay Action Trigger } WaveSpawn { Where spawnbot TotalCount 4 MaxActive 4 SpawnCount 4 WaitBeforeStarting 0 WaitBetweenSpawns 0 TotalCurrency 0 TFBot { Template baller } } } }