Tracerbullet: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
Line 2: Line 2:
{{this is a|point entity|name=tracerbullet|game=Black Mesa}} This is crossbow bolt that appears when the player shoots from [[weapon_crossbow|crossbow]]. Differs from {{ent|grenade_bolt}} in that it doesn't have the ability to ricochet, no sparks, there are also bug with player's camera (bolts literally appears in the center of the player's camera, causing them to clip through it).
{{this is a|point entity|name=tracerbullet|game=Black Mesa}} This is crossbow bolt that appears when the player shoots from [[weapon_crossbow|crossbow]]. Differs from {{ent|grenade_bolt}} in that it doesn't have the ability to ricochet, no sparks, there are also bug with player's camera (bolts literally appears in the center of the player's camera, causing them to clip through it).
[[File:tracerbullet.jpg|550px|left]]
[[File:tracerbullet.jpg|550px|left]]
 
{{bug|Model doesn't disappear if it hits [[skybox]].}}





Revision as of 05:41, 23 November 2024

Icon-NotInFGD.png
This entity is not in the FGD by default.
It should not be put directly in a map because it can only be configured through code.

tracerbullet is a point entity available in Black Mesa Black Mesa. This is crossbow bolt that appears when the player shoots from crossbow. Differs from grenade_bolt in that it doesn't have the ability to ricochet, no sparks, there are also bug with player's camera (bolts literally appears in the center of the player's camera, causing them to clip through it).

Tracerbullet.jpg
Icon-Bug.pngBug:Model doesn't disappear if it hits skybox.  [todo tested in ?]






Dedicated Console Variables

Cvar/Command Parameters or default value Descriptor Effect
sk_crossbow_tracer_enabled 1 Bool Enable tracer crossbow bolts if 1. With 0, crossbow will use grenade_bolt entity with Half-Life 2 Half-Life 2 crossbow bolt parameters (ability to ricochet, sparks, also fixes bug with camera). Does not affect multiplayer mode.
sk_crossbow_tracer_speed 8000 Float Crossbow bolt speed (only for tracerbullet entity).