valve/zpak001.pk3dir/decls/def/weapons/9mmhandgun.def

69 lines
1.4 KiB
Modula-2

entityDef weapon_9mmhandgun
{
"editor_color" ".3 .3 1"
"editor_mins" "-16 -16 -16"
"editor_maxs" "16 16 16"
"editor_usage" "9mm Handgun"
"editor_rotatable" "1"
"spawnclass" "HLWeapon"
"model" "models/w_9mmhandgun.mdl"
"model_view" "models/v_9mmhandgun.mdl"
"snd_acquire" "weapon.pickup"
"snd_respawn" "item.respawn"
// weapon specific
"def_fireInfo" "fireInfo_glock"
"def_altFireInfo" "fireInfo_altGlock"
"inv_name" "9mm Handgun"
"clipSize" "17"
"ammoType" "ammo_9mm"
"ammoRequired" "1"
"ammoPerShot" "1"
"punchAngle" "-2 0 0"
"act_fire" "3"
"act_fireLast" "4"
"act_holster" "8"
"act_reload" "6"
"act_reloadEmpty" "5"
"act_draw" "7"
"act_idle" "0,1,2"
"snd_fire" "Weapon_Glock.Single"
"snd_altfire" "Weapon_Glock.Single"
"snd_empty" "Weapons.Empty"
// HLWeapon specific
"hudSlot" "1"
"hudSlotPos" "0"
"weight" "10"
}
entityDef projectile_glock
{
"inherit" "projectile_bullet_base"
"damage" "skill:plr_9mm_bullet"
"spread" "0.01 0.01"
}
entityDef projectile_glock_fast
{
"inherit" "projectile_bullet_base"
"damage" "skill:plr_9mm_bullet"
"spread" "0.1 0.1"
}
entityDef fireInfo_glock
{
"def_onFire" "projectile_glock"
"fireRate" ".3"
"model_flash" "sprites/muzzleflash2.spr"
}
entityDef fireInfo_altGlock
{
"def_onFire" "projectile_glock_fast"
"fireRate" ".2"
"model_flash" "sprites/muzzleflash2.spr"
}