Cash now plays a pickup sound Fix spread on all weapons to be more accurate Fix longslide having completely wrong animations
55 lines
1 KiB
Modula-2
55 lines
1 KiB
Modula-2
entityDef weapon_beretta
|
|
{
|
|
"editor_color" ".3 .3 1"
|
|
"editor_mins" "-16 -16 -16"
|
|
"editor_maxs" "16 16 16"
|
|
"editor_usage" "Beretta 92f"
|
|
"editor_rotatable" "1"
|
|
|
|
"spawnclass" "HLWeapon"
|
|
"model" "models/w_beretta.mdl"
|
|
"model_view" "models/v_beretta.mdl"
|
|
"snd_acquire" "weapon.pickup"
|
|
"snd_respawn" "item.respawn"
|
|
|
|
// weapon specific
|
|
"def_fireInfo" "fireInfo_beretta"
|
|
"inv_name" "Beretta 92f"
|
|
"clipSize" "15"
|
|
"ammoType" "ammo_beretta"
|
|
"ammoRequired" "1"
|
|
"ammoPerShot" "1"
|
|
"punchAngle" "-2 0 0"
|
|
|
|
"actFire" "3,4,5"
|
|
"actFireLast" "6"
|
|
"actReload" "7"
|
|
"actDraw" "0"
|
|
"actIdle" "1,2"
|
|
|
|
"snd_fire" "weapon_beretta.fire"
|
|
"snd_empty" "weapon.empty"
|
|
|
|
"price" "460"
|
|
"sell" "230"
|
|
|
|
// HLWeapon specific
|
|
"hudSlot" "1"
|
|
"hudSlotPos" "1"
|
|
"weight" "10"
|
|
}
|
|
|
|
entityDef projectile_beretta
|
|
{
|
|
"inherit" "projectile_bullet_base"
|
|
"damage" "skill:plr_beretta"
|
|
"spread" "0.06 0.04"
|
|
}
|
|
|
|
|
|
entityDef fireInfo_beretta
|
|
{
|
|
"def_onFire" "projectile_beretta"
|
|
"fireRate" "0.2"
|
|
"model_flash" "sprites/muzzleflash2.spr"
|
|
}
|