Cash now plays a pickup sound Fix spread on all weapons to be more accurate Fix longslide having completely wrong animations
56 lines
1.1 KiB
Modula-2
56 lines
1.1 KiB
Modula-2
entityDef weapon_steyr_m40
|
|
{
|
|
"editor_color" ".3 .3 1"
|
|
"editor_mins" "-16 -16 -16"
|
|
"editor_maxs" "16 16 16"
|
|
"editor_usage" "1911"
|
|
"editor_rotatable" "1"
|
|
|
|
"spawnclass" "HLWeapon"
|
|
"model" "models/w_steyr_m40.mdl"
|
|
"model_view" "models/v_steyr_m40.mdl"
|
|
"snd_acquire" "weapon.pickup"
|
|
"snd_respawn" "item.respawn"
|
|
|
|
// weapon specific
|
|
"def_fireInfo" "fireInfo_steyr_m40"
|
|
"inv_name" "Steyr M40"
|
|
"clipSize" "12"
|
|
"ammoType" "ammo_steyr_m40"
|
|
"ammoRequired" "1"
|
|
"ammoPerShot" "1"
|
|
"punchAngle" "-2 0 0"
|
|
|
|
"actFire" "4,5,6,7"
|
|
"actFireLast" "8,9,10,11"
|
|
"actReload" "12"
|
|
"actDraw" "0"
|
|
"actIdle" "1,2,3"
|
|
|
|
"snd_fire" "weapon_steyr_m40.fire"
|
|
"snd_empty" "weapon.empty"
|
|
|
|
"price" "650"
|
|
"sell" "170"
|
|
|
|
// HLWeapon specific
|
|
"hudSlot" "1"
|
|
"hudSlotPos" "3"
|
|
"weight" "10"
|
|
}
|
|
|
|
entityDef projectile_steyr_m40
|
|
{
|
|
"inherit" "projectile_bullet_base"
|
|
"damage" "skill:plr_steyr_m"
|
|
"spread" "0.01 0.01"
|
|
}
|
|
|
|
|
|
entityDef fireInfo_steyr_m40
|
|
{
|
|
"def_onFire" "projectile_steyr_m40"
|
|
"fireRate" "0.35"
|
|
"model_flash" "sprites/muzzleflash2.spr"
|
|
}
|
|
|