This article relates to the game "Team Fortress 2". Click here for more information.

Tf weapon particle cannon: 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, cleanup)
Line 2: Line 2:
{{langsp}}
{{langsp}}
{{ent not in fgd}}
{{ent not in fgd}}
{{CD|CTFParticleCannon|file1=tf_weapon_particle_cannon.cpp}}
{{this is a|point entity|name=tf_weapon_particle_cannon|game=Team Fortress 2}}
{{this is a|point entity|name=tf_weapon_particle_cannon|game=Team Fortress 2}}


==Entity Description==
==Entity Description==
The entity used for the {{tfwiki|Soldier|Soldier's}} primary weapon known as the {{tfwiki|Cow Mangler 5000}}. If this entity is spawned using <tt>ent_create tf_weapon_particle_cannon</tt>, it will not appear in-game.
The entity used for the {{tfwiki|Soldier|Soldier's}} primary weapon known as the {{tfwiki|Cow Mangler 5000}}. If this entity is spawned using <tt>ent_create tf_weapon_particle_cannon</tt>, it will not appear in-game.
==Keyvalues==
{{KV BaseAnimating|base=1|noscroll=0}}
{{KV BaseEntity|base=1}}
==Inputs==
{{I WeaponSpawnSingle|tf2=1}}


==Outputs==
==Outputs==
{{O Weapon}}
{{O Weapon}}

Revision as of 13:49, 2 July 2024

English (en)Translate (Translate)
Icon-NotInFGD.png
This entity is not in the FGD by default.
See below for instructions on making it available.
C++ Class hierarchy
CTFParticleCannon
CTFRocketLauncher
CTFWeaponBaseGun
CTFWeaponBase
CBaseCombatWeapon
CBaseAnimating
CBaseEntity
C++ tf_weapon_particle_cannon.cpp

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

Entity Description

The entity used for the Tfwiki favicon.png Soldier's primary weapon known as the Tfwiki favicon.png Cow Mangler 5000. If this entity is spawned using ent_create tf_weapon_particle_cannon, it will not appear in-game.

Outputs

Weapon:

OnNPCPickup
!activator = NPC
!caller = this entity
Fires when an NPC picks up this weapon.
OnPlayerUse
!activator = player
!caller = this entity
Fires when the player +uses this weapon.
OnPlayerPickup
!activator = player
!caller = this entity
Fires when a player picks up this weapon.
OnCacheInteraction
Fires when the player 'proves' they've found this weapon. Fires on: Player Touch, +USE pickup, Physcannon pickup, Physcannon punt.