59 lines
1.2 KiB
Modula-2
59 lines
1.2 KiB
Modula-2
entityDef tf_weapon_sniperrifle
|
|
{
|
|
"editor_color" ".3 .3 1"
|
|
"editor_mins" "-16 -16 -16"
|
|
"editor_maxs" "16 16 16"
|
|
"editor_usage" "Sniper Rifle"
|
|
"editor_rotatable" "1"
|
|
|
|
"spawnclass" "HLWeapon"
|
|
"model" "models/p_sniper2.mdl"
|
|
"model_view" "models/v_tfc_sniper.mdl"
|
|
"snd_acquire" "weapon.pickup"
|
|
"snd_respawn" "item.respawn"
|
|
|
|
// weapon specific
|
|
"def_fireInfo" "fireInfo_tfSniperRifle"
|
|
"inv_name" "Sniper Rifle"
|
|
"inv_ammo_shells" "75"
|
|
"ammoType" "ammo_shells"
|
|
"ammoRequired" "1"
|
|
"ammoPerShot" "1"
|
|
"punchAngle" "-2 0 0"
|
|
|
|
"act_fire" "6"
|
|
"act_holster" "8"
|
|
"act_draw" "7"
|
|
"act_idle" "5"
|
|
|
|
"snd_fire" "Weapon_SniperRifle.Single"
|
|
"snd_empty" "Weapon_SniperRifle.ClipEmpty"
|
|
|
|
// HLWeapon specific
|
|
"hudSlot" "1"
|
|
"hudSlotPos" "0"
|
|
"weight" "20"
|
|
|
|
"zoomDuration" "0"
|
|
"zoomFov" "20"
|
|
"zoomFovStep" "5"
|
|
"zoomFovMin" "5"
|
|
"zoomFovMax" "40"
|
|
}
|
|
|
|
entityDef projectile_tfSniperRifleBullet
|
|
{
|
|
"inherit" "projectile_bullet_base"
|
|
"damage" "skill:plr_sniperrifle"
|
|
"spread" "0.025 0.025"
|
|
}
|
|
|
|
entityDef fireInfo_tfSniperRifle
|
|
{
|
|
"def_onFire" "projectile_tfSniperRifleBullet"
|
|
"ammoType" "ammo_shells"
|
|
"fireRate" "0.75"
|
|
"punchAngle" "-2 0 0"
|
|
"model_flash" "sprites/muzzleflash1.spr"
|
|
}
|
|
|