// Crossbow

WeaponData
{
	// Weapon data is loaded by both the Game and Client DLLs.
	"printname"		"#HL2_Crossbow"
	"viewmodel"		"models/weapons/v_crossbow.mdl"
	"playermodel"	"models/weapons/w_crossbow.mdl"
	"anim_prefix"	"bow"
	"bucket"			"3"
	"bucket_position"	"1"

	"clip_size"		"1"
	"default_clip"		"5"
	"primary_ammo"		"XBowBolt"
	"secondary_ammo"	"None"

	"weight"		"6"
	"item_flags"		"0"

	// Sounds for the weapon. There is a max of 16 sounds per category (i.e. max 16 "single_shot" sounds)
	SoundData
	{
		"single_shot"	"Weapon_Crossbow.Single"
		"reload"	"Weapon_Crossbow.Reload"
		"special1"	"Weapon_Crossbow.BoltElectrify"
		"special2"	"Weapon_Crossbow.BoltFly"
	}

	// Weapon Sprite data is loaded by the Client DLL.
	TextureData
	{
		"weapon"
		{
				"font"		"WeaponIcons"
				"character"	"g"
		}
		"weapon_s"
		{	
				"font"		"WeaponIconsSelected"
				"character"	"g"
		}
		"ammo"
		{
				"font"		"WeaponIcons"
				"character"	"w"
		}
		"crosshair"
		{
				"font"		"Crosshairs"
				"character"	"Q"
		}		
		"autoaim"
		{
			"file"		"sprites/crosshairs"
			"x"		"0"
			"y"		"96"
			"width"		"24"
			"height"	"24"
		}
		"zoom"
		{
				"font"		"Crosshairs"
				"character"	"Q"
		}		
		"zoom_autoaim"
		{
			"file"		"sprites/crosshairs"
			"x"		"24"
			"y"		"112"
			"width"		"104"
			"height"	"16"
		}
	}

	"WeaponSpec"
	{
		//	0 : single
		//	1 : automatic
		//	2 : shotgun
		//	3 : autoshotgun
		"WeaponType"	"0"
		"FireRate"	"0.05"
		"UnderWater"	"0"
	
		"Options" {
			"ReloadSound"	"1"
		}
	
		"Scope" {
			"Type"		"4"
			"Switch"	"2"
			"ZoomFact"	"2.0"
			"CrosshairOff"	"1"
			"AccBonus"	"0.07"
			"FireRate"	"0.3"
			"DrawViewmodel"	"0"
		}

	
		"Spread" {
			"Default"	"3.0"
			"MaxSpread"	"5.0"
			"Run"		"1.0"
			"RunSpeed"	"100"
			"Crouch"	"0.8"
			"Fire"		"1.3"
		}
		
		"Bullet" {
			"AmmoType"	"Pistol"
			"Damage"	"6"
			"ShotCount"	"3"
			"Tracer"	"3"
			"Force"		"0.5"
		}

		"BulletEntitySpawn" {
			"Class"		"crossbow_bolt"
			"ZVector"	"0"	//	Correction throw vector
			"Power"		"3000"
			"AngVelocity"	"0"
		}

		"Npc" {
			"RifleAnim"	"0"
			"BurstMax"	"2"
			"BurstMin"	"2"
			"FireRate"	"0.06"
			"Range"		"1500"
			"MuzzleFire"	"1"
		}
	}

}
