// Combine Ion Rifle

WeaponData
{
	// Weapon data is loaded by both the Game and Client DLLs.
	"printname"			"#HL2_IONRIFLE"
	"viewmodel"			"models/weapons/v_ionrifle.mdl"
	"playermodel"		"models/weapons/w_ionrifle.mdl"
	"anim_prefix"		"shotgun"
	"bucket"			"3"
	"bucket_position"	"3"

	"clip_size"				"1"
	"clip2_size"			"-1"
	"primary_ammo"			"XBowBolt"
	"secondary_ammo"		"AR2AltFire"
	"default_clip"			"3"
	"default_clip2"			"-1"

	"weight"			"4"
	"item_flags"		"0"

	"DisableROAimmode"    "0"
    "NoDrop"    "0"	
	
	// Sounds for the weapon. There is a max of 16 sounds per category (i.e. max 16 "single_shot" sounds)
	SoundData
	{

		"reload"		"null"
		"reload_npc"	"null"
		"empty"			"null"
		"single_shot"	"Weapon_Ion.Single"
		"single_shot_npc"	"Weapon_Ion.Single"
		"double_shot"	"Weapon_Ion.Double"		
		"special1"		"Weapon_Ion.Double"
		"special2"		"Weapon_Ion.Double"
	}

	// Weapon Sprite data is loaded by the Client DLL.
	TextureData
	{
		"weapon"
		{
			"file"		"sprites/hud_weapons_zerosix"
			"x"			"64"
			"y"			"0"
			"width"		"64"
			"height"	"32"
		}
		"weapon_s"
		{
			"file"		"sprites/hud_weapons_zerosix"
			"x"			"64"
			"y"			"0"
			"width"		"64"
			"height"	"32"
		}
		"ammo"
		{
				"font"		"WeaponIcons"
				"character"	"w"
		}
		"ammo2"
		{
				"font"		"WeaponIcons"
				"character"	"z"
		}		
		"crosshair"
		{
				"font"		"Crosshairs"
				"character"	"Q"
		}
		"autoaim"
		{
				"file"		"sprites/crosshairs"
				"x"			"0"
				"y"			"48"
				"width"		"24"
				"height"	"24"
		}
	}
	
	"WeaponSpec"
	{
		//	0 : single
		//	1 : automatic
		//	2 : shotgun
		//	3 : autoshotgun
		"WeaponType"	"0"
		"FireRate"	"0.6"
		"UnderWater"	"0"
		"AttachedGL"	"1"			
		
		"Options" {
			"TimeScale"	"2.0"
			"ReloadSound"		"0"
		}

		"ShootPos" {
		     "UpperPitch" "15 5 -2"
		     "LowerPitch" "15 3 -4"
		     //"IronSight"  "5 1.7 -2"
		} 		
		
		"Recoil" {
			"PunchPitch"	"-1.2 -1.4"
			"PunchYaw"	"-0.0 0.0"
			"EnableSnap"	"0"
			"SnapPitch"	"-0 0.01"
			"SnapYaw"	"-0 0.01"
			"Crouch"	"1.0"
			"Amp"		"1.0"
			"PunchLimit"	"1.0"
		}
		
		"Spread" {
			"Default"	"1.0"
			"MaxSpread"	"1.0"
			"Run"		"1.0"
			"RunSpeed"	"100"
			"Crouch"	"1.0"
			"Fire"		"1.0"
		}
		
		"EnergyBullet" {
			"DamageType"   "DMG_SHOCK"
			"Bounce"   "6"
			"Size"      "8"
			"LightRadius"   "32"
			"LightColor"   "150 150 255"
			"Speed"      "1500"
			"SpriteMaterial"   "effects/blueflare1"
			"Gravity"   "0"
			"TrailSize"   "0"
			"TrailTime"   "0.25"
			"FlyTime"   "5"
		} 
		
		"Bullet" {
			"AmmoType"	"AR2"
			"Damage"	"80"
			"ShotCount"	"1"
			"Tracer"	"0"
			"Force"		"1"
		}

		"BulletEntitySpawn" {
			"Class"		"chainlightning"
			"ZVector"	"20"	//	Correction throw vector
			"Power"		"2000"
			"NpcZVector"	"20"
			"AngVelocity"	"0"
		}			
		
		"Npc" {
			"AnimType"	"AR2"
			"RifleAnim"	"0"
			"BurstMax"	"0"
			"BurstMin"	"0"
			"FireRate"	"1"
			"Range"		"2048"
			"MuzzleFire"	"1"
			"FireRagdoll"		"0"				
		}
	}
	
}
