Func tankmortar: Difference between revisions
Jump to navigation
Jump to search

Bug: Mortar damage is hardcoded within Source, and as such cannot be changed via entity parameters. [todo tested in ?]
Note: In
Half-Life: Source this entity is very different from other games. On shoot it creates trace line at the end of which forming explosion. Using for some tanks and for guns in c2a5f and c2a5e.
Note: ar2explosion use mortar when it shoot, this entity is not in
Black Mesa, that means some effects may missed, also console warn about this.
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 1: | Line 1: | ||
{{LanguageBar}} | |||
{{tabs|func_tankmortar|goldsrc=1|source=1|main=source}} | {{tabs|func_tankmortar|goldsrc=1|source=1|main=source}} | ||
{{ | {{CD|CFuncTankMortar|file1=func_tank.cpp}} | ||
[[File:Suppressor 1.jpg|300px|thumb|right]] | [[File:Suppressor 1.jpg|300px|thumb|right]] | ||
{{distinguish|npc_combine_cannon|desc1=An unused Episode Two entity}} | {{distinguish|npc_combine_cannon|desc1=An unused Episode Two entity}} | ||
{{this is a|brush entity|name=func_tankmortar|game=Half-Life 2|game1=Portal|game2=Portal 2|game3=Counter-Strike: Global Offensive|game4=Black Mesa}} This is the [[Suppression Device]] on top of the [[Nexus Building]] from {{ent|d3_c17_10a}} in the chapter [["Follow Freeman!"]] of HL2. The shot will be fired at the exact spot the operator is looking. Note that the operator can potentially be hit by their own shots. | {{this is a|brush entity|name=func_tankmortar|game=Half-Life 2|game1=Portal|game2=Portal 2|game3=Counter-Strike: Global Offensive|game4=Black Mesa}} This is the [[Suppression Device]] on top of the [[Nexus Building]] from {{ent|d3_c17_10a}} in the chapter [["Follow Freeman!"]] of HL2. The shot will be fired at the exact spot the operator is looking. Note that the operator can potentially be hit by their own shots. | ||
{{bug| Mortar damage is hardcoded within Source, and as such cannot be changed via entity parameters.}} | {{bug| Mortar damage is hardcoded within Source, and as such cannot be changed via entity parameters.}} | ||
Line 15: | Line 14: | ||
==Keyvalues== | ==Keyvalues== | ||
{{KV Targetname}} | |||
{{KV|Explosion Magnitude (iMagnitude)|integer|{{confirm|Does not function?}}}} | {{KV|Explosion Magnitude (iMagnitude)|integer|{{confirm|Does not function?}}}} | ||
{{KV|Shell travel time (firedelay)|string|How long after the turret fires before the shell impacts.}} | {{KV|Shell travel time (firedelay)|string|How long after the turret fires before the shell impacts.}} | ||
Line 23: | Line 23: | ||
{{KV|Fire time variance (firevariance)|float|Shots will fire between ''this much sooner'' and ''this much later''. Must be greater than 0.09 for unknown reasons.}} | {{KV|Fire time variance (firevariance)|float|Shots will fire between ''this much sooner'' and ''this much later''. Must be greater than 0.09 for unknown reasons.}} | ||
{{KV BaseTank}} | {{KV BaseTank}} | ||
==Inputs== | ==Inputs== | ||
Line 30: | Line 28: | ||
{{IO|FireAtWill|Allow tank to fire the next shot as soon as it's ready.}} | {{IO|FireAtWill|Allow tank to fire the next shot as soon as it's ready.}} | ||
{{I BaseTank}} | {{I BaseTank}} | ||
==Outputs== | ==Outputs== | ||
{{O BaseTank}} | {{O BaseTank}} | ||
[[Category:Immobile NPCs]] | [[Category:Immobile NPCs]] |
Revision as of 05:02, 29 July 2024


![]() |
---|
CFuncTankMortar |
![]() |
Not to be confused with npc_combine_cannon (An unused Episode Two entity).
func_tankmortar
is a brush entity available in Half-Life 2,
Portal,
Portal 2,
Counter-Strike: Global Offensive, and
Black Mesa. This is the Suppression Device on top of the Nexus Building from d3_c17_10a in the chapter "Follow Freeman!" of HL2. The shot will be fired at the exact spot the operator is looking. Note that the operator can potentially be hit by their own shots.





Flags
|
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
- Shell travel time (firedelay) ([todo internal name (i)]) <string>
- How long after the turret fires before the shell impacts.
- Firing start sound (firestartsound) ([todo internal name (i)]) <sound>
- Sound when mortar begins firing.
- Incoming Shell Sound (incomingsound) ([todo internal name (i)]) <sound>
- Sound of the shell falling on the target.
- Incoming warning time (warningtime) ([todo internal name (i)]) <float>
- How long before the shell impacts to play the warning sound.
- Fire time variance (firevariance) ([todo internal name (i)]) <float>
- Shots will fire between this much sooner and this much later. Must be greater than 0.09 for unknown reasons.
|
Inputs
- ShootGun !FGD
- Shoot the gun.
- FireAtWill
- Allow tank to fire the next shot as soon as it's ready.
|
Outputs
|
Categories:
- Brush entities
- Half-Life 2 entities
- Half-Life 2 brush entities
- Portal entities
- Portal brush entities
- Portal 2 entities
- Portal 2 brush entities
- Counter-Strike: Global Offensive entities
- Counter-Strike: Global Offensive brush entities
- Black Mesa entities
- Black Mesa brush entities
- Pages with uncategorized bugs
- Immobile NPCs