Crossbow bolt: Difference between revisions
Jump to navigation
Jump to search

SirYodaJedi (talk | contribs) No edit summary |
m (Classifying as model entity) |
||
Line 3: | Line 3: | ||
{{Ent not in fgd|nolink=1}} | {{Ent not in fgd|nolink=1}} | ||
{{CD|CCrossbowBolt|base=CBaseCombatCharacter|file1=weapon_crossbow.cpp}} | {{CD|CCrossbowBolt|base=CBaseCombatCharacter|file1=weapon_crossbow.cpp}} | ||
{{this is a| | {{this is a|model entity|name=crossbow_bolt|game=Half-Life 2 series}} | ||
This is the projectile fired by {{ent|weapon_crossbow}}. | This is the projectile fired by {{ent|weapon_crossbow}}. |
Revision as of 04:30, 19 May 2025


![]() |
---|
CCrossbowBolt |
![]() |
crossbow_bolt
is a model entity available in Half-Life 2 series.
This is the projectile fired by weapon_crossbow.
The bolts think() and touch(). It is
In touch() logic for bolt behavior.
- Bolt Reflection
- if the angle is right, bolts hit a solid surface and ricochet/reflect at an angle. Each bounce increases the 'gravity' of the projectile, in effect slowing its rate.
- behavior for impact against NPCs
- skin change
- breaking glass
- damage to triggers/breakable/props