Obj attachment sapper: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.)
m (Setting bug notice hidetested=1 param on page where the bug might not need tested in param specified)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{this is a|point entity|game=Team Fortress 2|name=obj_attachment_sapper}}
{{CD|CObjectSapper|file1=tf_obj_sapper.cpp}}
 
{{this is a|model entity|game=Team Fortress 2|name=obj_attachment_sapper}}
{{code class|CObjectSapper|tf_obj_sapper.cpp}}
__NOTOC__
 
==Entity Description==
==Entity Description==
This entity is used for the sapper weapon placed on a building or [https://wiki.teamfortress.com/wiki/Mann_vs._Machine Mann Vs. Machine] robot. It has 100 health and a build time of 0.1 seconds.
This entity is used for the sapper weapon placed on a building or [https://wiki.teamfortress.com/wiki/Mann_vs._Machine Mann Vs. Machine] robot. It has 100 health and a build time of 0.1 seconds.
{{bug|The sapper can be placed twice on a building just before its upgrade animation, which results in the original sapper becoming invulnerable.}}
{{bug|hidetested=1|The sapper can be placed twice on a building just before its upgrade animation, which results in the original sapper becoming invulnerable.}}


==Dedicated Console Variables and Commands==
==Dedicated Console Variables and Commands==
Line 11: Line 10:
{{varcom|obj_sapper_amount|25|health|Amount of health inflicted by a Sapper object per second.}}
{{varcom|obj_sapper_amount|25|health|Amount of health inflicted by a Sapper object per second.}}
{{varcom|end}}
{{varcom|end}}
==Keyvalues==
{{KV BaseAnimating|base=1}}
{{KV BaseEntity|base=1}}
==Inputs==
{{I BaseAnimating}}
{{I BaseEntity|base=1}}
==Outputs==
{{O BaseAnimating}}
{{O BaseEntity|base=1}}


==Trivia==
==Trivia==

Latest revision as of 07:18, 20 May 2025

C++ Class hierarchy
CObjectSapper
CBaseObjectUpgrade
CBaseObject
CBaseCombatCharacter
CBaseFlex
CBaseAnimatingOverlay
CBaseAnimating
CBaseEntity
C++ tf_obj_sapper.cpp

obj_attachment_sapper is a model entity available in Team Fortress 2 Team Fortress 2.

Entity Description

This entity is used for the sapper weapon placed on a building or Mann Vs. Machine robot. It has 100 health and a build time of 0.1 seconds.

Icon-Bug.pngBug:The sapper can be placed twice on a building just before its upgrade animation, which results in the original sapper becoming invulnerable.

Dedicated Console Variables and Commands

Cvar/Command Parameters or default value Descriptor Effect
obj_sapper_amount 25 health Amount of health inflicted by a Sapper object per second.

Trivia

  • At one point a dynamite sapper was planned to be added, but that weapon got scrapped.

See also

'the extremely rare immortal sapper glitch; why does the sapper sometimes become unbreakable?' - By shounic

'every unreleased weapon hidden within tf2's code leak' - By shounic