This entity is
not in the
FGD by default.
It should not be put directly in a map, because it can only be configured through code in Steam versions of the game. You still can use it in mod version of the game via
Hammer.
grenade_tow is a model entity available in
Black Mesa. The grenade entity that used by func_tow and func_tow_mp. A TOW missile that launched by
BGM-71 TOW cannon, it lies straight until it hits a surface, and then explodes. It have homing feature in the mod version via SetTarget input, this feature not available in Steam versions of the game.
Note: It explodes if hits skybox in the mod version. In Steam versions, it just disappears.
Bug:This grenade entity can stuck at dynamic (not physics) objects, such as prop_dynamic. In such situation, missile will not move until it explodes or disappear by itself. Usually happens with objects that have a dynamic collision, or objects that are in motion.
Tip: If you need to fix this issue, use trigger_weaponfire that will kill stucked missiles, this trigger should be toggled by logic_timer every 0.5-1.0 seconds.
Example.
|
Example with this metal door. The door is prop_dynamic with dynamic collision (required for animations).
|
(not in
)
Inputs
- Deploy <void>
- Fired by this entity when appears. Deploys model of this grenade.
- SetTarget <stringRedirectInput/string> (only in
)
- Sets specified target and enables homing.
- StopHoming <void> (only in
)
- Stops homing.
- StartHoming <void> (only in
)
- Enables homing again.
- SetTimer <floatRedirectInput/float> (only in
)
- Sets amount of time before detonate.
- Detonate <void> (only in
)
- Detonates grenade.
- SetThrower <void> (only in
)
- Doesn't do anything and not used for this entity at all.
Outputs
- OnDetonate <void> (only in
)
- Fired by this entity when detonated.
Black Mesa: Definitive Edition
| Cvar/Command |
Parameters or default value |
Descriptor |
Effect |
| sk_detenator_tow_track_acceleration |
300 |
Float
|
Missile acceleration. Bug:Large values may cause missile to disappear. |
| sk_detenator_tow_max_speed |
3000 |
Float
|
Max missile speed. |
| sk_detenator_tow_intial_speed |
1500 |
Float
|
Intial missile speed. Bug:Large values may cause missile to disappear. |
| sk_detenator_tow_plr_dmg |
150 |
Float
|
Missile damage scale if it is launched by the player. |
| sk_detenator_tow_plr_dmg_radius |
375 |
Float
|
Missile damage radius if it is launched by the player. |
| sk_detenator_tow_npc_dmg |
150 |
Float
|
Missile damage scale if it is launched by NPC. |
| sk_detenator_tow_npc_dmg_radius |
375 |
Float
|
Missile damage radius if it is launched by NPC. |
Black Mesa (mod)
| Cvar/Command |
Parameters or default value |
Descriptor |
Effect |
| sk_plr_dmg_grenade_tow |
150 |
Float
|
Missile damage scale if it is launched by the player. |
| sk_npc_dmg_grenade_tow |
150 |
Float
|
Missile damage scale if it is launched by NPC. |
| sk_grenade_tow_airspeed |
1500 |
Float
|
Missile air speed. |
| sk_grenade_tow_precision |
1 |
Float
|
TOW precision. Doesn't work. |