75 lines
1.5 KiB
Modula-2
75 lines
1.5 KiB
Modula-2
entityDef weapon_shotgun
|
|
{
|
|
"editor_color" ".3 .3 1"
|
|
"editor_mins" "-16 -16 -16"
|
|
"editor_maxs" "16 16 16"
|
|
"editor_usage" "#HL2_Shotgun"
|
|
"editor_rotatable" "1"
|
|
|
|
"spawnclass" "HLWeapon"
|
|
"model" "models/weapons/w_shotgun.mdl"
|
|
"model_view" "models/weapons/v_shotgun.mdl"
|
|
"snd_acquire" "HL2Player.PickupWeapon"
|
|
"snd_respawn" "Item.Materialize"
|
|
|
|
// weapon specific
|
|
"def_fireInfo" "fireInfo_shotgun"
|
|
"def_altFireInfo" "fireInfo_altShotgun"
|
|
"inv_name" "#HL2_Shotgun"
|
|
"clipSize" "6"
|
|
"ammoType" "ammo_buckshot"
|
|
"ammoRequired" "1"
|
|
|
|
"actPump" "8"
|
|
"actHolster" "4"
|
|
"actReloadStart" "5"
|
|
"actReload" "6"
|
|
"actReloadEnd" "7"
|
|
"actDraw" "3"
|
|
"actIdle" "0"
|
|
|
|
"snd_empty" "Weapon_Shotgun.Empty"
|
|
|
|
// HLWeapon specific
|
|
"hudSlot" "3"
|
|
"hudSlotPos" "0"
|
|
"weight" "4"
|
|
}
|
|
|
|
entityDef projectile_shotgun
|
|
{
|
|
"inherit" "projectile_bullet_base"
|
|
"damage" "skill:plr_dmg_buckshot"
|
|
"hitscans" "12"
|
|
"spread" "0.08716 0.08716"
|
|
}
|
|
|
|
entityDef projectile_shotgun_alt
|
|
{
|
|
"inherit" "projectile_bullet_base"
|
|
"damage" "skill:plr_dmg_buckshot"
|
|
"hitscans" "24"
|
|
"spread" "0.08716 0.08716"
|
|
}
|
|
|
|
entityDef fireInfo_shotgun
|
|
{
|
|
"def_onFire" "projectile_shotgun"
|
|
"ammoPerShot" "1"
|
|
"actFire" "1"
|
|
"actFireStop" "8"
|
|
"punchAngle" "-5 0 0"
|
|
"model_flash" "sprites/muzzleflash2.spr"
|
|
"snd_fire" "Weapon_Shotgun.Single"
|
|
}
|
|
|
|
entityDef fireInfo_altShotgun
|
|
{
|
|
"def_onFire" "projectile_shotgun_alt"
|
|
"ammoPerShot" "2"
|
|
"actFire" "2"
|
|
"actFireStop" "8"
|
|
"punchAngle" "-10 0 0"
|
|
"model_flash" "sprites/muzzleflash2.spr"
|
|
"snd_fire" "Weapon_Shotgun.Double"
|
|
}
|