Obj attachment sapper: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(-added class hierarchy, cleanup)
m (Classifying as model entity)
Line 1: Line 1:
{{CD|CObjectSapper|file1=tf_obj_sapper.cpp}}
{{CD|CObjectSapper|file1=tf_obj_sapper.cpp}}
{{this is a|point entity|game=Team Fortress 2|name=obj_attachment_sapper}}
{{this is a|model entity|game=Team Fortress 2|name=obj_attachment_sapper}}
__NOTOC__
__NOTOC__
==Entity Description==
==Entity Description==

Revision as of 04:33, 19 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.  [todo tested in ?]

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