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
No edit summary |
m (Classifying as model entity) |
||
(One intermediate revision by one other user not shown) | |||
Line 4: | Line 4: | ||
{{CD|CTripmineGrenade|file1=1}} | {{CD|CTripmineGrenade|file1=1}} | ||
[[File:Npc tripmine-example.jpg|thumb|right]] | [[File:Npc tripmine-example.jpg|thumb|right]] | ||
{{This is a|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}}. | {{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}} | ||
Line 10: | Line 10: | ||
== Convars == | == Convars == | ||
{{varcom|start}} | {{varcom|start}} | ||
{{varcom|sk_plr_dmg_tripmine|0|| | {{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}} | {{varcom|end}} | ||
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