hl2/zpak001.pk3dir/decls/def/weapons/pistol.def

55 lines
1.1 KiB
Modula-2

entityDef weapon_pistol
{
"editor_color" ".3 .3 1"
"editor_mins" "-16 -16 -16"
"editor_maxs" "16 16 16"
"editor_usage" "#HL2_Pistol"
"editor_rotatable" "1"
"spawnclass" "HLWeapon"
"model" "models/weapons/w_pistol.mdl"
"model_view" "models/weapons/v_pistol.mdl"
"snd_acquire" "HL2Player.PickupWeapon"
"snd_respawn" "Item.Materialize"
// weapon specific
"def_fireInfo" "fireInfo_pistol"
"inv_name" "#HL2_Pistol"
"clipSize" "18"
"actFire" "2,3,4,5"
"actFireEmpty" "6"
"actHolster" "10"
"actHolsterEmpty" "11"
"actReload" "9"
"actDraw" "7"
"actDrawEmpty" "8"
"actIdle" "0"
"actIdleEmpty" "1"
"snd_fire" "Weapon_Pistol.Single"
"snd_empty" "Weapon_Pistol.Empty"
// HLWeapon specific
"hudSlot" "1"
"hudSlotPos" "0"
"weight" "2"
}
entityDef projectile_pistol
{
"inherit" "projectile_bullet_base"
"damage" "skill:plr_dmg_pistol"
}
entityDef fireInfo_pistol
{
"def_onFire" "projectile_pistol"
"ammoType" "ammo_pistol"
"ammoRequired" "1"
"ammoPerShot" "1"
"fireRate" "0.1"
"semiAuto" "1"
"punchAngle" "-1 0 0"
"model_flash" "sprites/muzzleflash2.spr"
}