// Crossbow

WeaponData
{
	// Weapon data is loaded by both the Game and Client DLLs.
	"printname"		"#HL2_CHARGEBOW"
	"viewmodel"		"models/weapons/v_chargebow.mdl"
	"playermodel"	"models/weapons/w_chargebow.mdl"
	"anim_prefix"	"bow"
	"bucket"			"3"
	"bucket_position"	"9"

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

	"weight"		"4"
	"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_Chargebow.Single"
		"reload"	"Weapon_Crossbow.Reload"
		"special1"	"Weapon_Crossbow.BoltElectrify"
		"special2"	"Weapon_Crossbow.BoltFly"
	}

	// Weapon Sprite data is loaded by the Client DLL.
	TextureData
	{
		"weapon"
		{
			"file"		"sprites/hud_weapons_zerosix"
			"x"			"128"
			"y"			"0"
			"width"		"64"
			"height"	"32"
		}
		"weapon_s"
		{
			"file"		"sprites/hud_weapons_zerosix"
			"x"			"128"
			"y"			"0"
			"width"		"64"
			"height"	"32"
		}
		"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.8"
		"UnderWater"	"0"
	
		"Options" {
			"ReloadSound"	"0"
		}

		"Spread" {
			"Default"	"1.0"
			"MaxSpread"	"1.0"
			"Run"		"1.0"
			"RunSpeed"	"100"
			"Crouch"	"1.0"
			"Fire"		"1.0"
		}
		
		"EnergyBullet" {
			"DamageType"   "DMG_SHOCK"
			"Bounce"   "10"
			"Size"      "9"
			"LightRadius"   "64"
			"LightColor"   "255 100 100"
			"Speed"      "3000"
			"SpriteMaterial"   "effects/redflare"
			"Gravity"   "600"
			"TrailSize"   "2"
			"TrailTime"   "0.4"
			"FlyTime"   "5"
		} 
		
		"Bullet" {
			"AmmoType"	"AR2"
			"Damage"	"80"
			"ShotCount"	"1"
			"Tracer"	"0"
			"Force"		"1"
		}

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

}
