Env mine: Difference between revisions
Jump to navigation
Jump to search
Warning:You may need to use other entity as lighting origin, because env_mine usually placed underground.
Bug:Never solid.
Bug:Doesn't work with most item_ and weapon_ entities.
Bug:Doesn't explode if another mine is detonated nearby.
Note:Other keyvalues are same as CBaseAnimating.
Note:Other inputs and outputs are same as CBaseAnimating.
m (Setting bug notice hidetested=1 param on page where the bug might not need tested in param specified) |
MyGamepedia (talk | contribs) |
||
Line 20: | Line 20: | ||
==Dedicated [[ConVars]]== | ==Dedicated [[ConVars]]== | ||
{{varcom|start}} | {{varcom|start}} | ||
{{varcom|sk_mine_damage|50| | {{varcom|sk_mine_damage|50|[[Float[[|Explosion damage.}} | ||
{{varcom|sk_mine_damage_radius|128| | {{varcom|sk_mine_damage_radius|128|Float|Explosion damage radius.}} | ||
{{varcom|sk_mine_bounds_xy|24| | {{varcom|sk_mine_bounds_xy|24|Float|Sets bounds in which mine will explode along X and Y axis. Similar to [[bounding box]].}} | ||
{{varcom|sk_mine_bounds_z|64| | {{varcom|sk_mine_bounds_z|64|Float|Sets bounds in which mine will explode along Z axis. Similar to [[bounding box]].}} | ||
{{varcom|end}} | {{varcom|end}} |
Revision as of 10:06, 21 May 2025
env_mine
is a point entity available in Black Mesa. This is
Anti-Personnel Mine that was used by HECU to mine some areas where many headcrabs hide under sand. Attempt to touch or damage this entity will cause detonation. Not in original FGD due to presence of func_minefield, you still can add it by your hand (or just use Enhanced Black Mesa FGD).
Represented by class CEnv_Mine
.




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

Inputs
- Detonate <void>
- Detonates the mine.

Dedicated ConVars
{{varcom|sk_mine_damage|50|[[Float[[|Explosion damage.}}Cvar/Command | Parameters or default value | Descriptor | Effect |
---|---|---|---|
sk_mine_damage_radius | 128 | Float | Explosion damage radius. |
sk_mine_bounds_xy | 24 | Float | Sets bounds in which mine will explode along X and Y axis. Similar to bounding box. |
sk_mine_bounds_z | 64 | Float | Sets bounds in which mine will explode along Z axis. Similar to bounding box. |