func_minefield
		
		
		
		
		
		Jump to navigation
		Jump to search
		
 Note:Mines can be spawned incorrectly on displacement surface, showing their barrels.
Note:Mines can be spawned incorrectly on displacement surface, showing their barrels.
 Bug:This entity can sometimes spawn multiple mines inside each other.
Bug:This entity can sometimes spawn multiple mines inside each other.
		
	
|  Class hierarchy | 
|---|
| CFuncMineField | 
func_minefield  is a   brush entity  available in  Black Mesa. This entity is trigger volume that also creates mines. The mines can be spawned on world geometry, func_detail and displacement, they ignore brush entities and point entities. The mines can be spawned randomly or depending on the uniform displacement properties. Spawned mines are not attached to trigger volume, each mine is indepeding env_mine entity. The trigger volume can be used as trigger_multiple. Most inputs, outputs and properties are same as trigger_multiple.
 Black Mesa. This entity is trigger volume that also creates mines. The mines can be spawned on world geometry, func_detail and displacement, they ignore brush entities and point entities. The mines can be spawned randomly or depending on the uniform displacement properties. Spawned mines are not attached to trigger volume, each mine is indepeding env_mine entity. The trigger volume can be used as trigger_multiple. Most inputs, outputs and properties are same as trigger_multiple.
 Note:Mines can be spawned incorrectly on displacement surface, showing their barrels.
Note:Mines can be spawned incorrectly on displacement surface, showing their barrels. Bug:This entity can sometimes spawn multiple mines inside each other.
Bug:This entity can sometimes spawn multiple mines inside each other.Keyvalues
- Mine Count (minecount) <integer>
- The amount of mines to spawn.
- Uniform Random Spread X (ranx) <float>
- Uniform displacement of mines along this axis. Works only if Uniform displacementflag is checked.
- Uniform Random Spread Y (rany) <float>
- Uniform displacement of mines along this axis. Works only if Uniform displacementflag is checked.
Flags
- Uniform displacement : [4096]
- Activates the uniform displacement properties.
- Quick Placement : [8192]
- Overrides uniform displacement properties in random way.
Inputs
- MineDetonated <targetname> !FGD
- Fires when a mine explodes. This input does nothing itself. Used for debugging. If a mine have a name - this input will use the mine name as parameter.