73 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			73 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| // stunstick
 | |
| 
 | |
| WeaponData
 | |
| {
 | |
| 	// Weapon data is loaded by both the Game and Client DLLs.
 | |
| 	"printname"	"#HL2_StunBaton"
 | |
| 	"viewmodel"				"models/weapons/v_stunstick.mdl"
 | |
| 	"playermodel"			"models/weapons/w_stunbaton.mdl"
 | |
| 	"anim_prefix"			"stunbaton"
 | |
| 	"bucket"				"0"
 | |
| 	"bucket_position"		"1"
 | |
| 
 | |
| 	"clip_size"				"-1"
 | |
| 	"primary_ammo"			"None"
 | |
| 	"secondary_ammo"		"None"
 | |
| 
 | |
| 	"weight"				"0"
 | |
| 	"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_StunStick.Swing"
 | |
| 		"melee_miss"		"Weapon_StunStick.Melee_Miss"
 | |
| 		"melee_hit"			"Weapon_StunStick.Melee_Hit"
 | |
| 		"melee_hit_world"	"Weapon_StunStick.Melee_HitWorld"
 | |
| 	}
 | |
| 
 | |
| 	// Weapon Sprite data is loaded by the Client DLL.
 | |
| 	TextureData
 | |
| 	{
 | |
| 		"weapon"
 | |
| 		{
 | |
| 				"font"		"WeaponIcons"
 | |
| 				"character"	"n"
 | |
| 		}
 | |
| 		"weapon_s"
 | |
| 		{
 | |
| 				"font"		"WeaponIconsSelected"
 | |
| 				"character"	"n"
 | |
| 		}
 | |
| 		"ammo"
 | |
| 		{
 | |
| 				"font"		"WeaponIcons"
 | |
| 				"character"	"n"
 | |
| 		}
 | |
| 		"ammo2"
 | |
| 		{
 | |
| 				"file"		"sprites/640hud7"
 | |
| 				"x"			"48"
 | |
| 				"y"			"72"
 | |
| 				"width"		"24"
 | |
| 				"height"	"24"
 | |
| 		}
 | |
| 		"crosshair"
 | |
| 		{
 | |
| 				"file"		"sprites/crosshairs"
 | |
| 				"x"			"0"
 | |
| 				"y"			"48"
 | |
| 				"width"		"24"
 | |
| 				"height"	"24"
 | |
| 		}
 | |
| 		"autoaim"
 | |
| 		{
 | |
| 				"file"		"sprites/crosshairs"
 | |
| 				"x"			"48"
 | |
| 				"y"			"72"
 | |
| 				"width"		"24"
 | |
| 				"height"	"24"
 | |
| 		}
 | |
| 	}
 | |
| } |