Crossbow bolt: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
 
 Bug:Because the bolt has the ability to "pin" ragdolls and that it acts like a bullet (it can go through fences, for instance), ragdolls pinned agains a fence (or anything with
Bug:Because the bolt has the ability to "pin" ragdolls and that it acts like a bullet (it can go through fences, for instance), ragdolls pinned agains a fence (or anything with 
		
	
| m (Classifying as model entity) | Le Glaconus (talk | contribs)   (rewrote the page because it couldn't get more confusing) | ||
| Line 1: | Line 1: | ||
| {{LanguageBar}} | {{LanguageBar}} | ||
| {{HL2 topicon}} | {{HL2 topicon}} | ||
| {{stub}} | |||
| {{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}} | ||
| Line 7: | Line 8: | ||
| This is the projectile fired by {{ent|weapon_crossbow}}. | This is the projectile fired by {{ent|weapon_crossbow}}. | ||
| == Overview == | |||
| The bolt can reflect if the angle is shallow enough, its gravity will increase at each bounce, making the bolt slow down. It will pass directly through [[glass|func_breakable_surf]]. If the currently loaded map is <code>ep2_outland_10</code>, the bolt will pass through [[Alyx]], instead of getting deleted because of the friendly fire mechanic. | |||
| {{bug|hidetested=1|Because the bolt has the ability to "pin" ragdolls and that it acts like a bullet (it can go through fences, for instance), ragdolls pinned agains a fence (or anything with <code>CONTENTS_GRATE</code> will try to get pinned to a bolt that is too far away, and will create unstable physics.}} | |||
| == See also == | |||
| * {{ent|weapon_crossbow}} | |||
| *  | |||
Revision as of 07:06, 21 May 2025

 
|  Class hierarchy | 
|---|
| CCrossbowBolt | 
|  weapon_crossbow.cpp | 
crossbow_bolt  is a   model entity  available in  Half-Life 2 series.
 Half-Life 2 series. 
This is the projectile fired by weapon_crossbow.
Overview
The bolt can reflect if the angle is shallow enough, its gravity will increase at each bounce, making the bolt slow down. It will pass directly through func_breakable_surf. If the currently loaded map is ep2_outland_10, the bolt will pass through Alyx, instead of getting deleted because of the friendly fire mechanic.
 Bug:Because the bolt has the ability to "pin" ragdolls and that it acts like a bullet (it can go through fences, for instance), ragdolls pinned agains a fence (or anything with
Bug:Because the bolt has the ability to "pin" ragdolls and that it acts like a bullet (it can go through fences, for instance), ragdolls pinned agains a fence (or anything with CONTENTS_GRATE will try to get pinned to a bolt that is too far away, and will create unstable physics.
























