Cash now plays a pickup sound Fix spread on all weapons to be more accurate Fix longslide having completely wrong animations
56 lines
1 KiB
Modula-2
56 lines
1 KiB
Modula-2
entityDef weapon_glock17
|
|
{
|
|
"editor_color" ".3 .3 1"
|
|
"editor_mins" "-16 -16 -16"
|
|
"editor_maxs" "16 16 16"
|
|
"editor_usage" "Glock 17"
|
|
"editor_rotatable" "1"
|
|
|
|
"spawnclass" "HLWeapon"
|
|
"model" "models/w_glock17.mdl"
|
|
"model_view" "models/v_glock17.mdl"
|
|
"snd_acquire" "weapon.pickup"
|
|
"snd_respawn" "item.respawn"
|
|
|
|
// weapon specific
|
|
"def_fireInfo" "fireInfo_glock17"
|
|
"inv_name" "Glock 17"
|
|
"clipSize" "19"
|
|
"ammoType" "ammo_glock17"
|
|
"ammoRequired" "1"
|
|
"ammoPerShot" "1"
|
|
"punchAngle" "-2 0 0"
|
|
|
|
"actFire" "3,4,5"
|
|
"actFireLast" "6"
|
|
"actReload" "7"
|
|
"actDraw" "0"
|
|
"actIdle" "1,2"
|
|
|
|
"snd_fire" "weapon_glock17.fire"
|
|
"snd_empty" "weapon.empty"
|
|
|
|
"price" "340"
|
|
"sell" "170"
|
|
|
|
// HLWeapon specific
|
|
"hudSlot" "1"
|
|
"hudSlotPos" "2"
|
|
"weight" "10"
|
|
}
|
|
|
|
entityDef projectile_glock17
|
|
{
|
|
"inherit" "projectile_bullet_base"
|
|
"damage" "skill:plr_glock"
|
|
"spread" "0.06 0.04"
|
|
}
|
|
|
|
|
|
entityDef fireInfo_glock17
|
|
{
|
|
"def_onFire" "projectile_glock17"
|
|
"fireRate" "0.35"
|
|
"model_flash" "sprites/muzzleflash2.spr"
|
|
}
|
|
|