crossbow_bolt
Class hierarchy |
---|
CCrossbowBolt |
weapon_crossbow.cpp
|
crossbow_bolt
is a point 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