MSR700 Rifle

From PZwiki
Revision as of 20:08, 20 August 2022 by Frog Bat (talk | contribs) (→‎Code)


The Game WorldItemsWeaponsFirearmsMSR700 Rifle
MSR700 Rifle
MSR700 Rifle
Varmint Rifle .223 Round
General
Category Weapon
Encumbrance
Heavy Load
4
Equipped Two-handed
Condition max. 10
Skill Gunshot
Attachment Back
Characteristics
Ammo type RifleAmmo223loose.png
Magazine size 3
Noise radius 70 tiles
Recoil delay 90
Reload time 25
Aiming time 30
Damage
Type Gunshot
Attack speed 0.5
Range 0.61–10 tiles
Damage 0.6–1.3
Accuracy 27
Knockback 0.5
Technical details
Base ID Base.VarmintRifle

A MSR700 Rifle is a bolt action rifle. It is a two handed weapon and can be attached to the back of a character to reduce weight.

Usage

Weapon

The MSR700 Rifle is a bolt action rifle, utilizing an internal 3 round magazine using .223 Rounds as ammo. This means that the rifle does not need any magazines to function, unlike the vast majority of other firearms. It can only hit one target at a time and but can pierce through targets. The rifle will need to be racked after reloading. Should the rifle jam on the player, press X to rack it and unjam it.

The MSR700 with its small magazine capacity of 3 and reload time makes it ill suited for fast paced or close quarters combat. However given with enough distance and small number of zombies, it can be a surpisingly decent weapon as it's .223 rounds can pack a punch and one shot most zombies. However, this is not a rifle for low level aiming especially with its low magazine size and base hit chance of 25%, should be used by a level 4+ aiming skill player.

Attachments

The MSR700 Rifle can be fitted with the following attachments with the use of a screwdriver:

To install these attachments, ensure that you have a screwdriver in your inventory, right click the MSR700 you want to modify, click on 'Upgrade' and pick the attachment you want to install.

Condition

The MSR700 Rifle is a firearm. As such, the durablity of the weapon is dependent on the player's aiming skill. This weapon's chance of losing durablity is: 1 in (60 + aiming x 2)

Repairing

Requires level 4 Aiming and another MSR700 Rifle to repair with. The higher the aiming skill is, the chances of a better and successful repair go up. Remember that with each consective repair, the amount of durablity restored decreases.

Distribution

Buildings

The MSR700 Rifle can be found in most homes (Notably in wardrobes/closets) and gun shops.

Gallery

Code

From items_weapons.txt (Project Zomboid directory/media/scripts/)

Retrieved: Build 41.73


    item VarmintRifle
    {
        DisplayCategory = Weapon,
       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,
	   BringToBearSound = MSR700BringToBear,
       SwingSound	=	MSR700Shoot,
       HitSound = BulletHitBody,
	   ClickSound = MSR700Jam,
       SoundRadius	=	70,
       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  =   MSR700Break,
       MetalValue = 45,
       TwoHandWeapon = TRUE,
       AmmoBox = 223Box,
       MaxAmmo = 3,
		EquipSound = MSR700Equip,
		UnequipSound = MSR700UnEquip,
       InsertAmmoSound = MSR700InsertAmmo,
       EjectAmmoSound = MSR700EjectAmmo,
		InsertAmmoStartSound = MSR700InsertAmmoStart,
		InsertAmmoStopSound = MSR700InsertAmmoStop,
		EjectAmmoStartSound = MSR700EjectAmmoStart,
		EjectAmmoStopSound = MSR700EjectAmmoStop,
        ShellFallSound = MSR700CartridgeFall,
       RackSound = MSR700Rack,
       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,
       StopPower = 15,
    }

	

Repair

From fixing.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 41.65

    fixing Fix Varmint Rifle
    {
       Require : VarmintRifle,

       Fixer : VarmintRifle; Aiming=4,
    }

See also