Npc tripmine: Difference between revisions
Jump to navigation
Jump to search
Note:Tripmines in
Half-Life 2 maps are created as combination of 2 func_breakables, trigger_once, env_beam, info_target and env_explosion
(-added class hierarchy) |
m (Classifying as model entity) |
||
(6 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{TabsBar}} | {{TabsBar}} | ||
{{stub}} | {{stub}} | ||
{{Ent not in fgd|nolink=1|smalltext=}} | |||
{{CD|CTripmineGrenade|file1=1}} | {{CD|CTripmineGrenade|file1=1}} | ||
{{This is a|entity|name=npc_tripmine|game=Half-Life 2: Deathmatch}} | [[File:Npc tripmine-example.jpg|thumb|right]] | ||
{{This is a|model entity|name=npc_tripmine|game=Half-Life 2: Deathmatch}} Entity that is spawned when using {{ent|weapon_slam}} on a wall. This entity automatically creates its red beam using {{ent|beam}} entity and its explosion using {{ent|env_explosion}}. | |||
{{Note|Tripmines in {{Half-Life 2|2}} maps are created as combination of 2 func_breakables, trigger_once, env_beam, info_target and env_explosion}} | {{Note|Tripmines in {{Half-Life 2|2}} maps are created as combination of 2 func_breakables, trigger_once, env_beam, info_target and env_explosion}} | ||
== Convars == | |||
{{varcom|start}} | |||
{{varcom|sk_plr_dmg_tripmine|0||m_flDamage is set to this}} | |||
{{varcom|sk_tripmine_radius|0||m_DmgRadius is set to this but value 200 seems to always be used}} | |||
{{varcom|sk_npc_dmg_tripmine|0||unused}} | |||
{{varcom|end}} | |||
== See also == | |||
* {{ent|weapon_slam}} | |||
* {{ent|npc_satchel}} - created when using weapon_slam not on a wall |
Latest revision as of 04:33, 19 May 2025
![]() |
---|
CTripmineGrenade |
![]() |
npc_tripmine
is a model entity available in Half-Life 2: Deathmatch. Entity that is spawned when using weapon_slam on a wall. This entity automatically creates its red beam using beam entity and its explosion using env_explosion.


Convars
Cvar/Command | Parameters or default value | Descriptor | Effect |
---|---|---|---|
sk_plr_dmg_tripmine | 0 | m_flDamage is set to this | |
sk_tripmine_radius | 0 | m_DmgRadius is set to this but value 200 seems to always be used | |
sk_npc_dmg_tripmine | 0 | unused |
See also
- weapon_slam
- npc_satchel - created when using weapon_slam not on a wall