Cash now plays a pickup sound Fix spread on all weapons to be more accurate Fix longslide having completely wrong animations
77 lines
1.4 KiB
Modula-2
77 lines
1.4 KiB
Modula-2
entityDef weapon_uzi
|
|
{
|
|
"editor_color" ".3 .3 1"
|
|
"editor_mins" "-16 -16 -16"
|
|
"editor_maxs" "16 16 16"
|
|
"editor_usage" "Mini UZI SD"
|
|
"editor_rotatable" "1"
|
|
|
|
"spawnclass" "HLWeapon"
|
|
"model" "models/w_uzi.mdl"
|
|
"model_view" "models/v_uzi.mdl"
|
|
"snd_acquire" "weapon.pickup"
|
|
"snd_respawn" "item.respawn"
|
|
|
|
// weapon specific
|
|
"def_fireInfo" "fireInfo_uzi"
|
|
"def_altFireInfo" "fireInfo_uziBurst"
|
|
"inv_name" "Mini UZI SD"
|
|
"clipSize" "32"
|
|
"ammoType" "ammo_uzi"
|
|
"punchAngle" "-2 0 0"
|
|
|
|
"actReload" "12"
|
|
"actDraw" "0"
|
|
"actIdle" "1,2,3"
|
|
|
|
"snd_fire" "weapon_uzi.fire"
|
|
"snd_empty" "weapon.empty"
|
|
|
|
"price" "1650"
|
|
"sell" "825"
|
|
|
|
// HLWeapon specific
|
|
"hudSlot" "3"
|
|
"hudSlotPos" "2"
|
|
"weight" "10"
|
|
}
|
|
|
|
entityDef projectile_uzi
|
|
{
|
|
"inherit" "projectile_bullet_base"
|
|
"damage" "skill:plr_uzi"
|
|
"spread" "0.06 0.04"
|
|
}
|
|
|
|
|
|
entityDef fireInfo_uzi
|
|
{
|
|
"def_onFire" "projectile_uzi"
|
|
"fireRate" "0.1"
|
|
"model_flash" "sprites/muzzleflash2.spr"
|
|
"ammoRequired" "1"
|
|
"ammoPerShot" "1"
|
|
"actFire" "4,5,6"
|
|
"actFireLast" "8,9,10"
|
|
}
|
|
|
|
entityDef projectile_uziBurst
|
|
{
|
|
"inherit" "projectile_bullet_base"
|
|
"damage" "skill:plr_uzi"
|
|
"spread" "0.09 0.06"
|
|
"hitscans" "3"
|
|
}
|
|
|
|
|
|
entityDef fireInfo_uziBurst
|
|
{
|
|
"def_onFire" "projectile_uziBurst"
|
|
"fireRate" "0.7"
|
|
"model_flash" "sprites/muzzleflash2.spr"
|
|
"ammoRequired" "3"
|
|
"ammoPerShot" "3"
|
|
"actFire" "7"
|
|
"actFireLast" "11"
|
|
}
|
|
|