Sawed-off Double Barrel Shotgun: Difference between revisions
(Add standard notice) |
(added code for 41.65 and added a "see also" at the bottom to expand the page a little in the style of similar firearms) |
||
Line 3: | Line 3: | ||
Has less range | Has less range | ||
Requires a saw to make | Requires a saw to make | ||
== Code == | |||
'''''From items_weapons.txt (Project Zomboid directory/media/scripts/)''''' | |||
{{Retrieved|version=41|incver=65}} | |||
<pre> item DoubleBarrelShotgunSawnoff | |||
{ | |||
DisplayCategory = Weapon, | |||
ImpactSound = null, | |||
MaxRange = 8, | |||
RangeFalloff = TRUE, | |||
WeaponSprite = ShotgunDoubleBarrelSawn, | |||
SoundVolume = 200, | |||
MinAngle = 0.657, | |||
Type = Weapon, | |||
KnockBackOnNoDeath = TRUE, | |||
Ranged = TRUE, | |||
ProjectileCount = 5, | |||
ConditionLowerChanceOneIn = 60, | |||
Weight = 4, | |||
SplatNumber = 5, | |||
PushBackMod = 0.8, | |||
SubCategory = Firearm, | |||
AimingMod = 2, | |||
ConditionMax = 10, | |||
ShareDamage = FALSE, | |||
MaxHitCount = 4, | |||
IsAimedHandWeapon = TRUE, | |||
IsAimedFirearm = TRUE, | |||
DoorDamage = 30, | |||
UseEndurance = FALSE, | |||
DisplayName = Sawn Off Double Barrel Shotgun, | |||
MinRange = 0.67, | |||
SwingTime = 2, | |||
AngleFalloff = TRUE, | |||
MultipleHitConditionAffected = FALSE, | |||
SwingSound = SawnOffDoubleBarrelShotgunShoot, | |||
ClickSound = SawnOffDoubleBarrelShotgunJam, | |||
SoundRadius = 100, | |||
MinDamage = 2, | |||
MaxDamage = 2.7, | |||
KnockdownMod = 8, | |||
SplatBloodOnNoDeath = TRUE, | |||
Icon = ShotgunDoublebarrel, | |||
RunAnim = Run_Weapon2, | |||
CriticalChance = 80, | |||
CritDmgMultiplier = 2, | |||
AimingPerkCritModifier = 4, | |||
HitChance = 80, | |||
AimingPerkHitChanceModifier = 5, | |||
RecoilDelay = 50, | |||
SoundGain = 2, | |||
ReloadTime = 25, | |||
AimingTime = 20, | |||
RequiresEquippedBothHands = TRUE, | |||
BreakSound = SawnOffDoubleBarrelShotgunBreak, | |||
MetalValue = 45, | |||
TwoHandWeapon = TRUE, | |||
AmmoBox = ShotgunShellsBox, | |||
MaxAmmo = 2, | |||
EquipSound = SawnOffDoubleBarrelShotgunEquip, | |||
UnequipSound = SawnOffDoubleBarrelShotgunUnEquip, | |||
InsertAmmoSound = SawnOffDoubleBarrelShotgunInsertAmmo, | |||
EjectAmmoSound = SawnOffDoubleBarrelShotgunEjectAmmo, | |||
InsertAmmoStartSound = SawnOffDoubleBarrelShotgunInsertAmmoStart, | |||
InsertAmmoStopSound = SawnOffDoubleBarrelShotgunInsertAmmoStop, | |||
EjectAmmoStartSound = SawnOffDoubleBarrelShotgunEjectAmmoStart, | |||
EjectAmmoStopSound = SawnOffDoubleBarrelShotgunEjectAmmoStop, | |||
ShellFallSound = SawnOffDoubleBarrelShotgunCartridgeFall, | |||
AmmoType = Base.ShotgunShells, | |||
WeaponReloadType = doublebarrelshotgunsawn, | |||
JamGunChance = 0, | |||
AttachmentType = Rifle, | |||
InsertAllBulletsReload = TRUE, | |||
RackAfterShoot = FALSE, | |||
haveChamber = FALSE, | |||
StopPower = 40, | |||
} | |||
</pre> | |||
==See also== | |||
* [[JS-2000 Shotgun]] | |||
* [[Double Barrel Shotgun]] | |||
* [[Sawed-off JS-2000 Shotgun Shotgun]] | |||
{{Navbox_weapons}} |
Revision as of 04:23, 11 January 2022
A sawed off version of the Double Barrel Shotgun, Has less range Requires a saw to make
Code
From items_weapons.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 41.65
item DoubleBarrelShotgunSawnoff { DisplayCategory = Weapon, ImpactSound = null, MaxRange = 8, RangeFalloff = TRUE, WeaponSprite = ShotgunDoubleBarrelSawn, SoundVolume = 200, MinAngle = 0.657, Type = Weapon, KnockBackOnNoDeath = TRUE, Ranged = TRUE, ProjectileCount = 5, ConditionLowerChanceOneIn = 60, Weight = 4, SplatNumber = 5, PushBackMod = 0.8, SubCategory = Firearm, AimingMod = 2, ConditionMax = 10, ShareDamage = FALSE, MaxHitCount = 4, IsAimedHandWeapon = TRUE, IsAimedFirearm = TRUE, DoorDamage = 30, UseEndurance = FALSE, DisplayName = Sawn Off Double Barrel Shotgun, MinRange = 0.67, SwingTime = 2, AngleFalloff = TRUE, MultipleHitConditionAffected = FALSE, SwingSound = SawnOffDoubleBarrelShotgunShoot, ClickSound = SawnOffDoubleBarrelShotgunJam, SoundRadius = 100, MinDamage = 2, MaxDamage = 2.7, KnockdownMod = 8, SplatBloodOnNoDeath = TRUE, Icon = ShotgunDoublebarrel, RunAnim = Run_Weapon2, CriticalChance = 80, CritDmgMultiplier = 2, AimingPerkCritModifier = 4, HitChance = 80, AimingPerkHitChanceModifier = 5, RecoilDelay = 50, SoundGain = 2, ReloadTime = 25, AimingTime = 20, RequiresEquippedBothHands = TRUE, BreakSound = SawnOffDoubleBarrelShotgunBreak, MetalValue = 45, TwoHandWeapon = TRUE, AmmoBox = ShotgunShellsBox, MaxAmmo = 2, EquipSound = SawnOffDoubleBarrelShotgunEquip, UnequipSound = SawnOffDoubleBarrelShotgunUnEquip, InsertAmmoSound = SawnOffDoubleBarrelShotgunInsertAmmo, EjectAmmoSound = SawnOffDoubleBarrelShotgunEjectAmmo, InsertAmmoStartSound = SawnOffDoubleBarrelShotgunInsertAmmoStart, InsertAmmoStopSound = SawnOffDoubleBarrelShotgunInsertAmmoStop, EjectAmmoStartSound = SawnOffDoubleBarrelShotgunEjectAmmoStart, EjectAmmoStopSound = SawnOffDoubleBarrelShotgunEjectAmmoStop, ShellFallSound = SawnOffDoubleBarrelShotgunCartridgeFall, AmmoType = Base.ShotgunShells, WeaponReloadType = doublebarrelshotgunsawn, JamGunChance = 0, AttachmentType = Rifle, InsertAllBulletsReload = TRUE, RackAfterShoot = FALSE, haveChamber = FALSE, StopPower = 40, }