Tf weapon charged smg: 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.)
(-added class hierarchy)
Line 1: Line 1:
{{CD|CTFChargedSMG|file1=tf_weapon_charged_smg.cpp}}
{{this is a|point entity|game=Team Fortress 2|name=tf_weapon_charged_smg}}
{{this is a|point entity|game=Team Fortress 2|name=tf_weapon_charged_smg}}


{{code class|CTFChargedSMG|tf_weapon_charged_smg}}
==Entity description==
The entity used for the [https://wiki.teamfortress.com/wiki/Sniper Sniper's] secondary weapon known as the [https://wiki.teamfortress.com/wiki/Cleaner%27s_Carbine Cleaner's Carbine].
The entity used for the [https://wiki.teamfortress.com/wiki/Sniper Sniper's] secondary weapon known as the [https://wiki.teamfortress.com/wiki/Cleaner%27s_Carbine Cleaner's Carbine].


==Keyvalues==
==Keyvalues==
{{KV WeaponSpawn}}
{{KV WeaponSpawn}}
{{KV BaseAnimating}}
{{KV BaseEntity}}
==Inputs==
{{I BaseAnimating}}
{{I BaseEntity}}
==Outputs==
{{O BaseAnimating}}
{{O BaseEntity}}

Revision as of 15:28, 1 July 2024

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

Count (count) <integer>
Max number of weapons given before disappearing.
Weapon Skin (weaponskin) <integer>
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>
Set a custom glow range for this spawner. 0 means use the default range.
Glow Backface Multiple (glowbackfacemult) <float> (only in Left 4 Dead 2) !FGD
If this object has a glow effect, multiply the effect by this much on the sides of the object that are facing away from the viewer.