#base robot_standard.pop #base robot_giant.pop #base robot_objector_gif.pop tomboy { StartingCurrency 1984 CanBotsAttackWhileInSpawnRoom no RespawnWaveTime 0 PrecacheModel "models/weapons/w_models/w_medigun_healing_staff/w_medigun_healing_staff.mdl" ExtraSpawnPoint { Name "torture" TeamNum 3 X "-763.6" Y "-29.5" Z "-45.1" } PointTemplates { SecondaryUseMeleeAnimation { OnSpawnOutput { Target "!activator" Action "$DisplayTextCenter" Param "Spawned" Delay 0.1 } OnSpawnOutput { Target "secondary_checker" Action "Trigger" Delay 0.1 } OnSpawnOutput { Target "!activator" Action "$WeaponSwitchSlot" Param 2 Delay 0.1 } filter_tf_condition { "targetname" "filter_has_secondary_out" "Negated" "0" "condition" "78" "OnFail" "!activator,$DisplayTextCenter,gangsta,0,-1" "OnFail" "!activator,$AddItemAttribute,provide on active|1|2,0,-1" "OnFail" "!activator,$AddItemAttribute,is_passive_weapon|1|2,0,-1" "OnFail" "!activator,$AddItemAttribute,no_attack|1|2,0,-1" // "OnFail" "!activator,$RemoveItemAttribute,provide on active|2,0,-1" // "OnFail" "!activator,$RemoveItemAttribute,is_passive_weapon|2,0,-1" // "OnFail" "!activator,$RemoveItemAttribute,no_attack|2,0,-1" } logic_relay { "targetname" "secondary_checker" "spawnflags" "2" "OnTrigger" "!self,EnableRefire,,0,-1" "OnTrigger" "filter_has_secondary_out,TestActivator,!activator,0,-1" "OnTrigger" "!self,Trigger,,0.1,-1" } } } CustomWeapon { "The Heretic Staff" { OriginalItemName "TF_WEAPON_MEDIGUN" "custom item model" "models/weapons/w_models/w_medigun_healing_staff/w_medigun_healing_staff.mdl" //"effect cond override" 36 //"add cond when active" 78 //"always crit" 1 "special item description" "doo bee doo bee do" } } PlayerSpawnTemplate { Name "SecondaryUseMeleeAnimation" Origin "0 0 0" } ExtraLoadoutItems { Medic { Secondary "The Heretic Staff" } } Wave { StartWaveOutput { Target wave_start_relay Action Trigger } DoneOutput { Target wave_finished_relay Action Trigger } WaveSpawn { Where torture TotalCount 1 MaxActive 1 SpawnCount 1 WaitBetweenSpawns 0 WaitBeforeStarting 0 TotalCurrency 0 TFBot { Template Neko_Miko_Reimu AddCond { Index 43 } } } } }