Obj attachment sapper: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Updated old entity format to {{this is a}}. This action was perfomed by a bot.)
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.)
Line 1: Line 1:
{{this is a|e0|game=tf2|name=obj_attachment_sapper}}
{{this is a|point entity|game=Team Fortress 2|name=obj_attachment_sapper}}


{{code class|CObjectSapper|tf_obj_sapper.cpp}}
{{code class|CObjectSapper|tf_obj_sapper.cpp}}

Revision as of 19:47, 17 May 2024

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

C++ In code, it is represented by theCObjectSapperclass, defined in thetf_obj_sapper.cppfile.

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.

Keyvalues

Note.pngNote:Content moved to Rendering and studio model related KIO/Keyvalues for continuation of page history


Inputs

Note.pngNote:Content moved to Rendering and studio model related KIO/Inputs for continuation of page history


Outputs

Note.pngNote:Content moved to Rendering and studio model related KIO/Outputs for continuation of page history


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