func_50cal
is a brush entity available in
Black Mesa. This is
M2 Browning (or Browning .50 caliber machine gun) that was used by HECU soldiers during the operation on the territory of the Black Mesa Research Facility. Can be used by player and HECU soldiers. This machine gun is also used in dm_stalkyard. All outputs and flags are same as func_tank, properties as well, but some have special notes. The same for inputs, but there are one unique.
Note:The fire and deploy sounds are hardcoded. You still can change both in your Black Mesa mod by replacing the sounds with a blank sounds and playing your own sounds via input/output system.
Note:The bullet particles is different in singleplayer and multiplayer, multiplayer particles are smaller.
Note:The original model for this gun is a bit unfinished. It doesn't have mesh under it (can be noticed in dm_stalkyard and bm_c2a5a). It also uses concrete surface parametrs, instead of metal surface parametrs.
Bug:Must be combined with model. Otherwise, game will crash when this entity will shoot.
Bug:NPC's weapon breaks after this gun usage. It doesn't removes, but becomes invisible and unable to shoot (NPC still reload weapon several times, for some reason). This breaks the AI partially, because such NPC still thinks that it have functional weapon. (not in
)
Bug:You can find bug in dm_stalkyard when model doesn't rotates with gun position. The gun can kill controller at this moment, because it rotates 360 degrees at this moment. This seems to happen if you quickly press use button several times.
The bug example.
Expand
Note the gun muzzle position and position of the bullets.
|
Confirm:Can be fixed.
Keyvalues
- Effect Handling (effecthandling) <choices>
- Produce these sound and particle effects when firing.
- 0: Use Individual Settings.
- 1: AR2
Note:Changes the color of the fire light to blue.
- 2: Combine Cannon
Bug:Shooting will cause DispatchEffect: effect "ChopperMuzzleFlash" not found on client error message in the console.
Inputs
- StopFiring <void> !FGD
- Fires when stops firing. This input probably created for debugging. Doesn't affect anything.
Cvar/Command |
Parameters or default value |
Descriptor |
Effect |
sk_plr_dmg_50cal |
6 |
Float
|
Player damage scale. Non-functional or deprecated. |
sk_npc_dmg_50cal |
6 |
Float
|
NPC damage scale. Non-functional or deprecated. |
sk_max_50cal |
0 |
Integer
|
Todo: Turn out what it does (if it does anything). |
Note:All these console commands is not available in the mod version.
See also