2023-07-17 05:47:01 +00:00
|
|
|
entityDef weapon_9mmhandgun
|
|
|
|
{
|
2024-06-22 07:29:51 +00:00
|
|
|
"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"
|
|
|
|
|
2024-09-17 19:48:09 +00:00
|
|
|
"act_fire" "3"
|
|
|
|
"act_fireLast" "4"
|
|
|
|
"act_holster" "8"
|
|
|
|
"act_reload" "6"
|
|
|
|
"act_reloadEmpty" "5"
|
|
|
|
"act_draw" "7"
|
|
|
|
"act_idle" "0,1,2"
|
2024-06-22 07:29:51 +00:00
|
|
|
|
|
|
|
"snd_fire" "weapon_glock.fire"
|
|
|
|
"snd_altfire" "weapon_glock.fire"
|
|
|
|
"snd_empty" "weapon_glock.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"
|
2023-07-17 05:47:01 +00:00
|
|
|
}
|
|
|
|
|
2024-06-22 07:29:51 +00:00
|
|
|
entityDef projectile_glock_fast
|
2023-07-17 05:47:01 +00:00
|
|
|
{
|
2024-06-22 07:29:51 +00:00
|
|
|
"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"
|
|
|
|
}
|