Cash now plays a pickup sound Fix spread on all weapons to be more accurate Fix longslide having completely wrong animations
75 lines
No EOL
1.4 KiB
Modula-2
75 lines
No EOL
1.4 KiB
Modula-2
entityDef weapon_ak47
|
|
{
|
|
"editor_color" ".3 .3 1"
|
|
"editor_mins" "-16 -16 -16"
|
|
"editor_maxs" "16 16 16"
|
|
"editor_usage" "AK47"
|
|
"editor_rotatable" "1"
|
|
|
|
"spawnclass" "HLWeapon"
|
|
"model" "models/w_ak47.mdl"
|
|
"model_view" "models/v_ak47.mdl"
|
|
"snd_acquire" "weapon.pickup"
|
|
"snd_respawn" "item.respawn"
|
|
|
|
// weapon specific
|
|
"def_fireInfo" "fireInfo_ak47"
|
|
"def_altFireInfo" "fireInfo_ak47Alt"
|
|
"inv_name" "AK47"
|
|
"clipSize" "30"
|
|
"ammoType" "ammo_ak47"
|
|
"ammoRequired" "1"
|
|
"ammoPerShot" "1"
|
|
"punchAngle" "-2 0 0"
|
|
|
|
"altMode" "1"
|
|
"actModeOn" "8"
|
|
"actModeOff" "12"
|
|
"actHolster" "8"
|
|
"actDraw" "0"
|
|
|
|
"snd_fire" "weapon_ak47.fire"
|
|
"snd_empty" "weapon.empty"
|
|
|
|
"price" "3295"
|
|
"sell" "1645"
|
|
|
|
// HLWeapon specific
|
|
"hudSlot" "4"
|
|
"hudSlotPos" "0"
|
|
"weight" "10"
|
|
}
|
|
|
|
entityDef projectile_ak47
|
|
{
|
|
"inherit" "projectile_bullet_base"
|
|
"damage" "skill:plr_ak47"
|
|
"spread" "0.08 0.04"
|
|
}
|
|
|
|
entityDef projectile_ak47Alt
|
|
{
|
|
"inherit" "projectile_bullet_base"
|
|
"damage" "skill:plr_ak47"
|
|
"spread" "0.01 0.01"
|
|
}
|
|
|
|
entityDef fireInfo_ak47
|
|
{
|
|
"def_onFire" "projectile_ak47"
|
|
"fireRate" "0.1"
|
|
"model_flash" "sprites/muzzleflash2.spr"
|
|
"actFire" "4,5,6,7"
|
|
"actIdle" "1,2,3"
|
|
"actReload" "13"
|
|
}
|
|
|
|
entityDef fireInfo_ak47Alt
|
|
{
|
|
"def_onFire" "projectile_ak47Alt"
|
|
"fireRate" "0.3"
|
|
"model_flash" "sprites/muzzleflash2.spr"
|
|
"actFire" "9,10,11"
|
|
"actIdle" ""
|
|
"actReload" "14"
|
|
} |