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.)
m (Classifying as model entity)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{LanguageBar}}
{{TF2 topicon}}
{{TF2 topicon}}
{{langsp}}
 
{{ent not in fgd}}
{{ent not in fgd}}
{{this is a|point entity|name=tf_weapon_particle_cannon|game=Team Fortress 2}}
{{CD|CTFParticleCannon|file1=tf_weapon_particle_cannon.cpp}}
{{this is a|model 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}}

Latest revision as of 04:35, 19 May 2025

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 model 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.