entityDef weapon_crossbow { "editor_color" ".3 .3 1" "editor_mins" "-16 -16 -16" "editor_maxs" "16 16 16" "editor_usage" "Crossbow" "editor_rotatable" "1" "spawnclass" "HLWeapon" "model" "models/w_crossbow.mdl" "model_view" "models/v_crossbow.mdl" "snd_acquire" "weapon.pickup" "snd_respawn" "item.respawn" // weapon specific "def_fireInfo" "fireInfo_crossbow" "inv_name" "Crossbow" "clipSize" "5" "actFire" "4" "actFireLast" "6" "actHolster" "10" "actHolsterEmpty" "11" "actReload" "7" "actDraw" "8" "actDrawEmpty" "9" "actIdle" "0,2" "actIdleEmpty" "1,3" "snd_fire" "weapon_crossbow.fire" "snd_empty" "weapon_crossbow.empty" "snd_reload" "weapon_crossbow.reload" // HLWeapon specific "hudSlot" "2" "hudSlotPos" "2" "weight" "10" "zoomFov" "18" } entityDef fireInfo_crossbow { "def_onFire" "projectile_arrow" "ammoType" "ammo_bolt" "ammoRequired" "1" "ammoPerShot" "1" "fireRate" "1.0" "punchAngle" "-2 0 0" } entityDef debris_arrow { "spawnclass" "NSProjectile" "model" "models/crossbow_bolt.mdl" } entityDef projectile_arrow { "spawnclass" "NSProjectile" "model" "models/crossbow_bolt.mdl" "velocity" "2000 0 0" "angular_velocity" "0 0 20" "mins" "0 0 0" "maxs" "0 0 0" "def_damage" "damage_arrowDirect" "model_detonate" "fx_spark.main" "snd_explode" "fx.spark" "detonate_on_fuse" "0" "detonate_on_death" "1" "detonate_on_world" "1" "detonate_on_actor" "1" "projectile_debris" "debris_arrow" "debris_count" "1" "debris_stick" "1" "debris_offset" "-16 0 0" } entityDef damage_arrowDirect { "damage" "skill:plr_xbow_bolt_monster" } entityDef projectile_arrowExplosive { "inherit" "projectile_arrow" "smoke_fly" "weapon_crossbow.trail" "def_damage" "" "def_splash_damage" "damage_arrowSplash" "model_detonate" "fx_explosion.main" "snd_explode" "fx.explosion" "decal_detonate" "ExplosionScorch" } entityDef damage_arrowSplash { "damage" "skill:plr_xbow_bolt_monster" "radius" "125" }