Varmint Rifle: Difference between revisions

From PZwiki
Varmint Rifle
(Updated the name)
(Edited the code)
Line 47: Line 47:
  <nowiki>
  <nowiki>
item VarmintRifle
item VarmintRifle
{
    {
ImpactSound = null,
      ImpactSound = null,
MaxRange = 10,
      MaxRange = 10,
WeaponSprite = VarmintRifle,
      WeaponSprite = VarmintRifle,
SoundVolume = 200,
      SoundVolume = 200,
MinAngle = 0.95,
      MinAngle = 0.95,
Type = Weapon,
      Type = Weapon,
MinimumSwingTime = 0.5,
      MinimumSwingTime = 0.5,
ToHitModifier = 1.5,
      ToHitModifier = 1.5,
NPCSoundBoost = 1.5,
      NPCSoundBoost = 1.5,
KnockBackOnNoDeath = TRUE,
      KnockBackOnNoDeath = TRUE,
Ranged = TRUE,
      Ranged = TRUE,
SwingAmountBeforeImpact = 0,
      SwingAmountBeforeImpact = 0,
ProjectileCount = 1,
      ProjectileCount = 1,
ConditionLowerChanceOneIn = 60,
      ConditionLowerChanceOneIn = 60,
Weight = 3,
      Weight = 4,
SplatNumber = 3,
      SplatNumber = 3,
PushBackMod = 0.3,
      PushBackMod = 0.3,
SubCategory = Firearm,
      SubCategory = Firearm,
ConditionMax = 10,
      ConditionMax = 10,
ShareDamage = FALSE,
      ShareDamage = FALSE,
MaxHitCount = 1,
      MaxHitCount = 1,
IsAimedFirearm = TRUE,
      IsAimedFirearm = TRUE,
DoorDamage = 20,
      DoorDamage = 20,
UseEndurance = FALSE,
      UseEndurance = FALSE,
SwingAnim = Rifle,
      SwingAnim = Rifle,
DisplayName = MSR700 Rifle,
      DisplayName = MSR700 Rifle,
MinRange = 0.61,
      MinRange = 0.61,
SwingTime = 0.5,
      SwingTime = 0.5,
MultipleHitConditionAffected = FALSE,
      MultipleHitConditionAffected = FALSE,
SwingSound = FirearmVarmintShot,
      SwingSound = FirearmVarmintShot,
SoundRadius = 150,
      SoundRadius = 150,
MinDamage = 0.6,
      MinDamage = 0.6,
MaxDamage = 1.3,
      MaxDamage = 1.3,
SplatSize = 3,
      SplatSize = 3,
KnockdownMod = 2,
      KnockdownMod = 2,
SplatBloodOnNoDeath = TRUE,
      SplatBloodOnNoDeath = TRUE,
Icon = LeverActionRifle,
      Icon = LeverActionRifle,
RunAnim = Run_Weapon2,
      RunAnim = Run_Weapon2,
IdleAnim = Idle_Weapon2,
      IdleAnim = Idle_Weapon2,
CriticalChance = 25,
      CriticalChance = 25,
CritDmgMultiplier = 8,
      CritDmgMultiplier = 8,
AimingPerkCritModifier = 12,
      AimingPerkCritModifier = 12,
HitChance = 27,
      HitChance = 27,
AimingPerkHitChanceModifier = 17,
      AimingPerkHitChanceModifier = 17,
AimingPerkMinAngleModifier = 0.01,
      AimingPerkMinAngleModifier = 0.01,
AimingPerkRangeModifier = 2,
      AimingPerkRangeModifier = 2,
RecoilDelay = 90,
      RecoilDelay = 90,
PiercingBullets = TRUE,
      PiercingBullets = TRUE,
SoundGain = 2,
      SoundGain = 2,
ReloadTime = 25,
      ReloadTime = 25,
AimingTime = 30,
      AimingTime = 30,
RequiresEquippedBothHands = TRUE,
      RequiresEquippedBothHands = TRUE,
  BreakSound = BreakMetalItem,
      BreakSound =   BreakMetalItem,
MetalValue = 45,
      MetalValue = 45,
TwoHandWeapon = TRUE,
      TwoHandWeapon = TRUE,
AmmoBox = 223Box,
      AmmoBox = 223Box,
MaxAmmo = 3,
      MaxAmmo = 3,
InsertAmmoSound = BulletInRifle,
      InsertAmmoSound = BulletInRifle,
EjectAmmoSound = Stormy9mmClipEject,
      EjectAmmoSound = BulletOutVarmint,
RackSound = BulletOutVarmint,
      RackSound = StormyRifleCock,
AmmoType = Base.223Bullets,
      AmmoType = Base.223Bullets,
WeaponReloadType = boltaction,
      WeaponReloadType = boltactionnomag,
/* ModelWeaponPart = FiberglassStock HuntingKnife none bayonet,*/
/*       ModelWeaponPart = FiberglassStock HuntingKnife none bayonet,*/
ModelWeaponPart = x2Scope VarmintRifleScope,
      ModelWeaponPart = Bayonnet Bayonnet bayonnet bayonnet,
ModelWeaponPart = x4Scope VarmintRifleScope,
      ModelWeaponPart = x2Scope x2Scope scope scope,
ModelWeaponPart = x8Scope VarmintRifleScope,
      ModelWeaponPart = x4Scope x4Scope scope scope,
RackAfterShoot = TRUE,
      ModelWeaponPart = x8Scope x8Scope scope scope,
MagazineType = Base.223Clip,
      ModelWeaponPart = IronSight IronSight scope2 scope2,
JamGunChance = 5,
      ModelWeaponPart = RecoilPad RecoilPad recoilpad recoilpad,
AttachmentType = Rifle,
      ModelWeaponPart = RedDot RedDot reddot reddot,
}
      RackAfterShoot = TRUE,
      /*MagazineType = Base.223Clip,*/
      JamGunChance = 5,
      AttachmentType = Rifle,
     }</nowiki>
     }</nowiki>



Revision as of 20:16, 23 December 2020

The Game WorldItemsWeaponsFirearmsVarmint Rifle
WhiskeyHalf.png
This article may be in need of improvement.
Editors are encouraged to add any missing information to the article, while verifying that the article's current content is correct.

Template:WeaponsThe MSR700 Rifle is a long range bolt-action rifle. It uses a clip with a capacity of 5 rounds .223 Round.

The weapon has a large range, a long recoil delay, high critical chance and deals high damage compared to other weapons, but it takes some practice (aiming skill). The weapon is very loud and will attract nearby zombies in a large area.

The rifle is also closely related to the MSR788 Rifle, which has lower maximum damage, lower hit chance and higher recoil delay, but has higher minimum damage, higher critical chance and isn't as loud.

You can also modify the weapon with 8 types of modifications.

The MSR700 Rifle along with the hunting rifle can be found in the gun shop (above Twiggy's Bar) in West Point.


Reloading

Reloading difficulty can be set to either Easy, Normal, or Hardcore.

Easy mode

In-game description: Reloading handguns refills the weapon provided there is ammunition available.

Normal mode

In-game description: Reloading handguns ejects or inserts a magazine. The magazine must be reloaded separately.

Hardcore mode

In-game description: Reloading handguns ejects or inserts a magazine. The magazine must be reloaded separately. Weapons must be racked before firing to ensure a round is chambered.

Modifications

There are 8 types of modifications which can be added to the rifle:

They can all be added to the rifle using a screwdriver.

Code

item VarmintRifle
    {
       ImpactSound	=	null,
       MaxRange	=	10,
       WeaponSprite	=	VarmintRifle,
       SoundVolume	=	200,
       MinAngle	=	0.95,
       Type	=	Weapon,
       MinimumSwingTime	=	0.5,
       ToHitModifier	=	1.5,
       NPCSoundBoost	=	1.5,
       KnockBackOnNoDeath	=	TRUE,
       Ranged	=	TRUE,
       SwingAmountBeforeImpact	=	0,
       ProjectileCount	=	1,
       ConditionLowerChanceOneIn	=	60,
       Weight	=	4,
       SplatNumber	=	3,
       PushBackMod	=	0.3,
       SubCategory	=	Firearm,
       ConditionMax	=	10,
       ShareDamage	=	FALSE,
       MaxHitCount	=	1,
       IsAimedFirearm	=	TRUE,
       DoorDamage	=	20,
       UseEndurance	=	FALSE,
       SwingAnim	=	Rifle,
       DisplayName	=	MSR700 Rifle,
       MinRange	=	0.61,
       SwingTime	=	0.5,
       MultipleHitConditionAffected	=	FALSE,
       SwingSound	=	FirearmVarmintShot,
       SoundRadius	=	150,
       MinDamage	=	0.6,
       MaxDamage	=	1.3,
       SplatSize	=	3,
       KnockdownMod	=	2,
       SplatBloodOnNoDeath	=	TRUE,
       Icon	=	LeverActionRifle,
       RunAnim	=	Run_Weapon2,
       IdleAnim	=	Idle_Weapon2,
       CriticalChance = 25,
       CritDmgMultiplier = 8,
       AimingPerkCritModifier = 12,
       HitChance = 27,
       AimingPerkHitChanceModifier = 17,
       AimingPerkMinAngleModifier = 0.01,
       AimingPerkRangeModifier = 2,
       RecoilDelay = 90,
       PiercingBullets = TRUE,
       SoundGain = 2,
       ReloadTime = 25,
       AimingTime = 30,
       RequiresEquippedBothHands = TRUE,
       BreakSound  =   BreakMetalItem,
       MetalValue = 45,
       TwoHandWeapon = TRUE,
       AmmoBox = 223Box,
       MaxAmmo = 3,
       InsertAmmoSound = BulletInRifle,
       EjectAmmoSound = BulletOutVarmint,
       RackSound = StormyRifleCock,
       AmmoType = Base.223Bullets,
       WeaponReloadType = boltactionnomag,
/*       ModelWeaponPart = FiberglassStock HuntingKnife none bayonet,*/
       ModelWeaponPart = Bayonnet Bayonnet bayonnet bayonnet,
       ModelWeaponPart = x2Scope x2Scope scope scope,
       ModelWeaponPart = x4Scope x4Scope scope scope,
       ModelWeaponPart = x8Scope x8Scope scope scope,
       ModelWeaponPart = IronSight IronSight scope2 scope2,
       ModelWeaponPart = RecoilPad RecoilPad recoilpad recoilpad,
       ModelWeaponPart = RedDot RedDot reddot reddot,
       RackAfterShoot = TRUE,
       /*MagazineType = Base.223Clip,*/
       JamGunChance = 5,
       AttachmentType = Rifle,
    }

History

Build
28 Added to the game.
41 Renamed to MSR700 Rifle ingame

See also

.223 Round

MSR788 Rifle

Template:Navbox/Weapons