tf_weapon_charged_smg

From Valve Developer Community
Revision as of 14:28, 1 July 2024 by Nescius (talk | contribs) (-added class hierarchy)
Jump to navigation Jump to search
C++ Class hierarchy
CTFChargedSMG
CTFSMG
CBaseCombatWeapon
CBaseAnimating
CBaseEntity
C++ tf_weapon_smg.cpp

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

The entity used for the Sniper's secondary weapon known as the Cleaner's Carbine.

Keyvalues

Weapon Skin (weaponskin) <integer> (only in Left 4 Dead 2)
Some weapons have multiple versions of their textures, called skins. Set this to a number other than -1 to make the given weapon use that skin instead of the default.
Glow Range (glowrange) <float> (only in Left 4 Dead 2)
Set a custom glow range for this spawner. 0 means use the default range.
Collisions (solid) <choices>
  • 0: Not Solid
  • 2: Use Bounding Box
  • 6: Use VPhysics (default)
Count (count) <integer>
Max number of weapons given before disappearing.