Tf point weapon mimic: Difference between revisions
Jump to navigation
Jump to search

Bug:While a different model can be used on the projectiles, the collision of the model might be off.
Bug:If a projectile has been fired and this entity is killed afterwards, the fired projectiles will not do damage.
No edit summary |
m (Setting bug notice hidetested=1 param on page where the bug might not need tested in param specified) |
||
(9 intermediate revisions by 8 users not shown) | |||
Line 1: | Line 1: | ||
{{stub}} | {{stub}} | ||
{{ | {{LanguageBar}} | ||
{{bug|While a different model can be used on the projectiles, the collision of the model might be off.}} | {{CD|CTFPointWeaponMimic|file1=tf_point_weapon_mimic.cpp}} | ||
{{bug|If a projectile has been fired and this entity is killed afterwards, the fired projectiles will not do damage.}} | {{this is a|point entity|game=Team Fortress 2|name=tf_point_weapon_mimic}} It's used to fire projectiles from various weapons. Options include rockets, grenades, arrows, and stickybombs. | ||
{{bug|hidetested=1|While a different model can be used on the projectiles, the collision of the model might be off.}} | |||
{{bug|hidetested=1|If a projectile has been fired and this entity is killed afterwards, the fired projectiles will not do damage.}} | |||
==Keyvalues== | ==Keyvalues== | ||
{{KV Targetname}} | {{KV Targetname}} | ||
{{KV|Weapon Type|intn=WeaponType|choices|Which projectiles to fire.}} | |||
{{KV|Weapon Type|choices|Which projectiles to fire.}} | |||
:* 0 : Rockets | :* 0 : Rockets | ||
:* 1 : Grenades | :* 1 : Grenades | ||
:* 2 : Arrows | :* 2 : Arrows | ||
:* 3 : Stickies | :* 3 : Stickies | ||
{{KV|Fire Sound|string|The sound to be played when | {{KV|Fire Sound|intn=FireSound|string|The sound to be played when fired. {{bug|hidetested=1|Does not work.}}}} | ||
{{bug|Does not work.}} | {{KV|Particle Effect|intn=ParticleEffect|string|The particle effect to be played when fired.}} | ||
{{KV|Particle Effect|string|The particle effect to be played when | {{KV|Model Override|intn=ModelOverride|string|The model to apply onto projectiles when fired.}} | ||
{{KV|Model Override|string|The model to apply onto projectiles | {{KV|Model Scale|intn=ModelScale|integer|Scale for the projectile model. {{bug|hidetested=1|Not implemented for rockets or arrows}}}} | ||
{{KV|Model Scale|integer|Scale for the projectile model.}} | {{KV|Minimum Speed|intn=SpeedMin|integer|Minimum speed for each projectile.}} | ||
{{KV|Minimum Speed|integer|Minimum speed for each projectile.}} | {{KV|Maximum Speed|intn=SpeedMax|integer|Maximum speed for each projectile.}} | ||
{{KV|Maximum Speed|integer|Maximum speed for each projectile.}} | {{KV|Damage|intn=Damage|integer|Damage for the projectile.}} | ||
{{KV|Damage|integer|Damage for the projectile.}} | {{KV|Splash Radius|intn=SplashRadius|integer|Splash radius for the projectile.}} | ||
{{KV|Splash Radius|integer|Splash radius for the projectile.}} | {{KV|Spread Angle|intn=SpreadAngle|integer|Random spread for each projectile fired.}} | ||
{{KV|Spread Angle|integer|Random spread for each projectile fired.}} | {{KV|Always Crits|intn=Crits|boolean|All shots are crits.}} | ||
{{KV|Always Crits|boolean|All shots are crits.}} | |||
==Inputs== | ==Inputs== | ||
{{ | {{I|DetonateStickies|Detonates all Stickies, regardless if they're activated or not.}} | ||
{{ | {{I|FireMultiple|Fire multiple projectiles.|param=integer}} | ||
{{ | {{I|FireOnce|Fire a single projectile.}} | ||
[[Category: Team Fortress 2 Entities]] | [[Category: Team Fortress 2 Entities]] |
Latest revision as of 07:16, 20 May 2025


![]() |
---|
CTFPointWeaponMimic |
![]() |
tf_point_weapon_mimic
is a point entity available in Team Fortress 2. It's used to fire projectiles from various weapons. Options include rockets, grenades, arrows, and stickybombs.


Keyvalues
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
- Weapon Type (WeaponType) <choices>
- Which projectiles to fire.
- 0 : Rockets
- 1 : Grenades
- 2 : Arrows
- 3 : Stickies
- Fire Sound (FireSound) <string>
- The sound to be played when fired.
Bug:Does not work.
- Particle Effect (ParticleEffect) <string>
- The particle effect to be played when fired.
- Model Override (ModelOverride) <string>
- The model to apply onto projectiles when fired.
- Model Scale (ModelScale) <integer>
- Scale for the projectile model.
Bug:Not implemented for rockets or arrows
- Minimum Speed (SpeedMin) <integer>
- Minimum speed for each projectile.
- Maximum Speed (SpeedMax) <integer>
- Maximum speed for each projectile.
- Damage (Damage) <integer>
- Damage for the projectile.
- Splash Radius (SplashRadius) <integer>
- Splash radius for the projectile.
- Spread Angle (SpreadAngle) <integer>
- Random spread for each projectile fired.
- Always Crits (Crits) <boolean>
- All shots are crits.
Inputs
- DetonateStickies
- Detonates all Stickies, regardless if they're activated or not.
- FireMultiple <integer >
- Fire multiple projectiles.
- FireOnce
- Fire a single projectile.