Func 50cal: Difference between revisions
Jump to navigation
Jump to search

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:Only certain NPCs (npc_human_commander, npc_human_grenadier, npc_human_grunt and npc_human_medic) can use this weapon via
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. [todo tested in ?]
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. This bug not in
Black Mesa (mod) (the mod version). [todo tested 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.
Confirm:Can be fixed.
[todo tested in ?]
Note:For Keyvalues and Inputs affecting brush rendering, see Brush entity/Rendering related keyvalues and inputs
MyGamepedia (talk | contribs) |
(-added class hierarchy, cleanup) |
||
Line 1: | Line 1: | ||
{{LanguageBar}} | |||
[[File:50calModel.png|350px|right]] | [[File:50calModel.png|350px|right]] | ||
{{CD|???|base=CFuncTank}} | |||
{{toc-right}} | |||
{{this is a|brush entity|name=func_50cal|game=Black Mesa}} This is {{WP|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. | {{this is a|brush entity|name=func_50cal|game=Black Mesa}} This is {{WP|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. | ||
{{note|The fire and deploy sounds are hardcoded. You still can change both in your {{bms|1}} mod by replacing the sounds with a blank sounds and playing your own sounds via input/output system.}} | {{note|The fire and deploy sounds are hardcoded. You still can change both in your {{bms|1}} mod by replacing the sounds with a blank sounds and playing your own sounds via input/output system.}} | ||
Line 14: | Line 17: | ||
</gallery> | </gallery> | ||
}} | }} | ||
{{ | {{Confirm|Can be fixed.}} | ||
}} | }} | ||
==Flags== | ==Flags== | ||
Line 29: | Line 24: | ||
==Keyvalues== | ==Keyvalues== | ||
{{ | {{Brush rendering note}} | ||
{{KV Targetname}} | |||
{{KV | |||
{{KV|Effect Handling|intn=effecthandling|choices|Produce these sound and particle effects when firing. | {{KV|Effect Handling|intn=effecthandling|choices|Produce these sound and particle effects when firing. | ||
:*0: Use Individual Settings. | :*0: Use Individual Settings. | ||
Line 76: | Line 32: | ||
:*2: Combine Cannon{{bug|Shooting will cause {{code|DispatchEffect: effect "ChopperMuzzleFlash" not found on client}} error message in the console.}} | :*2: Combine Cannon{{bug|Shooting will cause {{code|DispatchEffect: effect "ChopperMuzzleFlash" not found on client}} error message in the console.}} | ||
}} | }} | ||
{{KV | {{KV BaseTank}} | ||
==Inputs== | ==Inputs== | ||
{{IO|StopFiring|Fires when stops firing. This input probably created for debugging. Doesn't affect anything.|param=void|nofgd=1}} | {{IO|StopFiring|Fires when stops firing. This input probably created for debugging. Doesn't affect anything.|param=void|nofgd=1}} | ||
{{I BaseTank}} | {{I BaseTank}} | ||
==Outputs== | ==Outputs== | ||
{{O BaseTank}} | {{O BaseTank}} | ||
==See also== | ==See also== |
Revision as of 02:48, 3 September 2024


![]() |
---|
??? |
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.


FindNPCToManTank
input. Other will ignore this input.





|

Flags
|
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
- 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. [todo tested in ?]
|
Inputs
- StopFiring <void> !FGD
- Fires when stops firing. This input probably created for debugging. Doesn't affect anything.
|
Outputs
|
See also
- func_tow - tow cannon.
- func_tow_mp - tow cannon (multiplayer version).
- env_mortar_controller - mortar controller.
- env_mortar_launcher - mortar launcher.
- func_tankmortar - combine mortar (remaining from
Half-Life 2).
- func_tank - main brush gun entity.
- func_tankphyscannister - it sets off a physics_cannister within a specified trigger volume.
- func_tankairboatgun - airboat gun (remaining from
Half-Life 2).
- func_tanklaser - laser cannon.
- func_tank_combine_cannon - combine cannon (remaining from
Half-Life 2).