obj_attachment_sapper

From Valve Developer Community
Revision as of 09:32, 7 January 2024 by WisdomBot (talk | contribs) (Updated old entity format to {{this is a}}. This action was perfomed by a bot.)
Jump to navigation Jump to search

obj_attachment_sapper is an e0 available in Team Fortress 2 Team Fortress 2.

Warning.pngWarning:
  • The {{{game}}} parameter is inconsistent with the name defined by the {{tf2}} template. This can most likely be fixed by setting the value of the {{{game}}} parameter to Team Fortress 2.
    If a parameter is consistent but you're still seeing this warning, it may be an issue with the template itself. Please discuss it on the template's talk page.
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