WeaponData
{
	// Weapon data is loaded by both the Game and Client DLLs.
	"printname"	"#Captain_Parrot"
	"viewmodel"				"models/weapons/parrot.mdl"
	"playermodel"			"models/weapons/w_parrot/w_parrot.mdl"
	"PlayerAnimationExtension"	"parrot"
	
	"bucket"			"2"
	"bucket_position"		"3"

	"clip_size"				"-1"
	"primary_ammo"			"AMMO_PARROT"
	"secondary_ammo"		"None"

	"weight"				"0"
	"item_flags"			"5"
	"autoswitchfrom"		"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_Cutlass.Single"
		"double_shot"		"Weapon_Parrot.Launch"
		"reload"		"Weapon_Parrot.Callback"
	}

	// Weapon Sprite data is loaded by the Client DLL.
	TextureData
	{
		"weapon"
		{
				"file"		"HUD/hook"
				"x"		"0"
				"y"		"0"
				"width"		"256"
				"height"	"256"
		}
		"weapon_s"
		{
				"file"		"HUD/hook"
				"x"		"0"
				"y"		"0"
				"width"		"256"
				"height"	"256"
		}
	}

	MeleeWeaponData
	{
		"Range"				"40"	// The maximum range this weapon can reach in hl2 units

		// The weapon's weight is mostly used in blocking calculations, players with smaller weapons
		// get stunned by bigger weapons.
		"Weight"			"small"
		
		"ViewEffectScale"	"0.75"
		
		// The maximum damage the weapon can deal if all hittraces hit the target (which is rare).
		// The damage values for individual hittraces are calculated based on this value in a linear
		// manner, the first and last hittraces deal the least damage, while the middle hittrace
		// (which is usually in the middle of the screen) deals the most damage.
		
		// Also note that charging the attack (holding the attack for 1 second) increases the 
		// maximum damage by 20%
		"TotalDamage"		"20" 
		
		"forward"
		{
			"TraceStart"		"0.09" // Time in seconds, relative to the attack animation (Frame/FPS)
			"TraceEnd"			"0.17"
			"TraceDir"			"forward"
			"DamageMultiplier"	"1.0"
			"StartActivity"		"ACT_VM_ATTACK_FORWARD_START"
			"StartDuration"		"0.36"
			"Activity"			"ACT_VM_ATTACK_FORWARD"
			"Duration"			"0.48"
		}
		
		"back"
		{
			"TraceStart"		"0.09"
			"TraceEnd"			"0.17"
			"TraceDir"			"back"
			"DamageMultiplier"	"1.0"
			"StartActivity"		"ACT_VM_ATTACK_BACK_START"
			"StartDuration"		"0.36"
			"Activity"			"ACT_VM_ATTACK_BACK"
			"Duration"			"0.48"
		}
		
		"left"
		{
			"TraceStart"		"0.09"
			"TraceEnd"			"0.17"
			"TraceDir"			"left"
			"DamageMultiplier"	"1.0"
			"StartActivity"		"ACT_VM_ATTACK_LEFT_START"
			"StartDuration"		"0.36"
			"Activity"			"ACT_VM_ATTACK_LEFT"
			"Duration"			"0.48"
		}
		
		"right"
		{
			"TraceStart"		"0.09"
			"TraceEnd"			"0.17"
			"TraceDir"			"right"
			"DamageMultiplier"	"1.0"
			"StartActivity"		"ACT_VM_ATTACK_RIGHT_START"
			"StartDuration"		"0.36"
			"Activity"			"ACT_VM_ATTACK_RIGHT"
			"Duration"			"0.48"
		}
	}
}