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_mac10
|
|
{
|
|
"editor_color" ".3 .3 1"
|
|
"editor_mins" "-16 -16 -16"
|
|
"editor_maxs" "16 16 16"
|
|
"editor_usage" "MAC 10"
|
|
"editor_rotatable" "1"
|
|
|
|
"spawnclass" "HLWeapon"
|
|
"model" "models/w_mac10.mdl"
|
|
"model_view" "models/v_mac10.mdl"
|
|
"snd_acquire" "weapon.pickup"
|
|
"snd_respawn" "item.respawn"
|
|
|
|
// weapon specific
|
|
"def_fireInfo" "fireInfo_mac10"
|
|
"inv_name" "MAC 10"
|
|
"clipSize" "30"
|
|
"ammoType" "ammo_mac10"
|
|
"ammoRequired" "1"
|
|
"ammoPerShot" "1"
|
|
"punchAngle" "-2 0 0"
|
|
|
|
"actFire" "4,5,6"
|
|
"actFireLast" "7,8"
|
|
"actHolster" "8"
|
|
"actReload" "9"
|
|
"actDraw" "0"
|
|
"actIdle" "1,2,3"
|
|
|
|
"snd_fire" "weapon_mac10.fire"
|
|
"snd_empty" "weapon.empty"
|
|
|
|
"price" "1295"
|
|
"sell" "645"
|
|
|
|
// HLWeapon specific
|
|
"hudSlot" "3"
|
|
"hudSlotPos" "3"
|
|
"weight" "10"
|
|
}
|
|
|
|
entityDef projectile_mac10
|
|
{
|
|
"inherit" "projectile_bullet_base"
|
|
"damage" "skill:plr_mac10"
|
|
"spread" "0.07 0.05"
|
|
}
|
|
|
|
|
|
entityDef fireInfo_mac10
|
|
{
|
|
"def_onFire" "projectile_mac10"
|
|
"fireRate" "0.1"
|
|
"model_flash" "sprites/muzzleflash2.spr"
|
|
}
|