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.
Note:Archived page history
Important:These pages are linked often from page history logs so Special:WhatLinksHere will not show anything.
MyGamepedia (talk | contribs) No edit summary |
MyGamepedia (talk | contribs) No edit summary |
||
Line 2: | Line 2: | ||
[[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}} | ||
{{base brush multi|func_tankmortar|game1=Half-Life 2|game2=Portal|game3=Portal 2|game4=Counter-Strike: Global Offensive|game5=Black Mesa| | {{base brush multi|func_tankmortar|game1=Half-Life 2|game2=Portal|game3=Portal 2|game4=Counter-Strike: Global Offensive|game5=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. | ||
{{code class|CFuncTankMortar|func_tank.cpp}} | {{code class|CFuncTankMortar|func_tank.cpp}} | ||
Line 9: | Line 9: | ||
{{bug| In {{portal2|4}} mortar controllable by player still work, but don't shoot, also if leave controllable volume [[viewmodel]] will invisible and mortar still be under control.{{ModernConfirm|Can be fixed with plugins?}}}} | {{bug| In {{portal2|4}} mortar controllable by player still work, but don't shoot, also if leave controllable volume [[viewmodel]] will invisible and mortar still be under control.{{ModernConfirm|Can be fixed with plugins?}}}} | ||
{{note| In {{hls|4}} 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| In {{hls|4}} 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 {{bms|4}}, that means some effects may missed, also console warn about this.}} | |||
==Flags== | ==Flags== | ||
{{Fl BaseTank}} | {{Fl BaseTank}} |
Revision as of 02:25, 10 November 2023


Not to be confused with npc_combine_cannon (An unused Episode Two entity).
Template:Base brush multi 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
- 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.
|

This template (and its redirect) is
Deprecated. Its use is not recommended and its functionality may be compromised.
Please use {{Brush rendering note}} instead.
You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion.

Please use {{Brush rendering note}} instead.
You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion.


Inputs
- ShootGun !FGD
- Shoot the gun.
- FireAtWill
- Allow tank to fire the next shot as soon as it's ready.
|
- SetDamageFilter <targetname >
- Sets a filter for this entity for when it receives damage.
- EnableDamageForces
- Allows the entity to be pushed by damage done to it (usually force amount correlates with the damage done).
- DisableDamageForces
- Prevents the entity from being pushed by damage done to it.
Todo: move/mention at proper place
Outputs
|