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

56 lines
1.1 KiB
Modula-2
Raw Normal View History

2024-09-01 03:37:03 +00:00
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"
2024-09-01 03:37:03 +00:00
// 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"
2024-09-01 09:12:11 +00:00
"weight" "2"
2024-09-01 03:37:03 +00:00
}
entityDef projectile_pistol
{
"inherit" "projectile_bullet_base"
"damage" "skill:plr_dmg_pistol"
2024-09-01 03:37:03 +00:00
}
entityDef fireInfo_pistol
{
"def_onFire" "projectile_pistol"
"ammoType" "ammo_pistol"
"ammoRequired" "1"
"ammoPerShot" "1"
2024-09-01 09:12:11 +00:00
"fireRate" "0.1"
"semiAuto" "1"
"punchAngle" "-1 0 0"
2024-09-01 03:37:03 +00:00
"model_flash" "sprites/muzzleflash2.spr"
}