MSR700 Rifle: Difference between revisions

From PZwiki
(Added the weapon code information from the project zomboid "items_weapons.txt")
 
(Updated this page to reflect the same level of detail as in the other firearm articles.)
Line 1: Line 1:
<!--Comment: This section is for the language and the format of the page. The languages section is used for linking pages. So a example might be {{languages|Nails}} in which every page is connected with a /## on the end will link to that specific page. Eg: Nails/es Nails/fr even if there contain redirects. The header format can be seen in the header template with working explanation. The header connects categories and Version no. PLEASE ENTER THE VERSION AND INCREMENT No. WHEN YOU MAKE A PAGE. It helps everyone else know how old the page is versionwise -->
{{languages}}
{{header|The Game World|Items|Weapons|Firearms|type=Weapon|version=Version 41|incver=65}}<!--
Comment: This section is for the infobox which will be positioned on the right of the page. The information can be pulled from the items/newitems.txt file in [Zomboid Folder\media\scripts]. For more info on how to use the infobox, see: https://pzwiki.net/wiki/Template:Infobox_weapon.
-->{{Infobox weapon
|display_name=MSR700 Rifle
|name_colour=Weapon
|name_text_colour=Weapon
|image=VarmintRifle_Model.png
|image_width=200px
|alternate_image=RifleVarmint.png
|alternate_name=Varmint Rifle
|alternate_link=
|alternate_image2=
|alternate_name2=
|alternate_link2=
|alternate_image3=
|alternate_name3=
|alternate_link3=
<!--GENERAL-->
|category=Weapon
|weight=4
|function=
|equipped=Two-handed
|secondary_item=
|condition_max=10
|attachment_type=Back
<!--CHARACTERISTICS-->
|ammo_type=.223 Rounds
|clip_size=3
|sound_radius=70
|recoil_delay=90
|reload_time=25
|aiming_time=30
<!--DAMAGE-->
|type=Gunshot
|swing_time=0.5
|min_range=0.61
|max_range=10
|hit_chance=27
|min_damage=0.6
|max_damage=1.3
|push_back=0.5
<!--TECHNICAL DETAILS-->
|ingredients=
|class_name=Base.VarmintRifle
}}
<!--Comment: General introductory for the item-->
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.
__TOC__
<!--Comment: This is where the 'Table Of Contents' will go if it is needed-->
==Usage==
<!--Comment: This section contains how the item can be used, weather it be as a weapon, tool or in recipes. -->
===Weapon===
The MSR700 Rifle is a bolt action rifle, utilizing an internal 3 round magazine using [[.223_Round|.223 Rounds]] as ammo. This means that the rifle does not need any clips to function.
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 {{key|X}} to rack it and unjam it.
The MSR700 with it's small clip count of 3 and reload time makes it ill fit for face paced combat 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 it's low mag count and 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:
*[[X2_Scope|x2]], [[X4_Scope|x4]], [[X8_Scope|x8 Scopes]]: Increases firing range.
*[[Laser]]: Increases Accuracy.
*[[Recoil_Pad]]: Reduces recoil.
*[[Red_Dot]]: Increases aiming speed.
*[[Fiberglass_Stock]]: Decreases weight and increases accuracy.
*[[Bayonet]]: Seemingly has no function in-game as of build 41.65.
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==
<!--Comment: This section contains all the info about the condition of the weapon. -->
The MSR700 Rifle is a [[Skills#Firearm|firearm]] As such, the durablity of the weapon is dependent on the player's aiming skill. This weapon's chance of losing durablity is: <code>1 in (60 + aiming x 2)</code>
===Repairing===
<!--Comment: This uses the code found in the repair file [Zomboid Folder\media\scripts\fixing.txt] which defines what it costs to repair the weapon. The table below is a graphical representation of what is required to repair. -->
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==
<!--Comment: The locations this item can be found should be placed here. Spawn locations can be found in the distribution.lua and vehicledistribution.lua files. -->
===Buildings===
The MSR700 Rifle can be found in most homes (Notably in wardrobes/closets) and [[Businesses|gun shops]].
==Gallery==
<gallery>
File:VarmintRifle_Player.PNG|In-game screenshot of the MSR700 being held by a player.
File:VarmintRifle.png|MSR700 Rifle Icon
</gallery>
==Code==
==Code==
'''''From items_weapons.txt (Project Zomboid directory/media/scripts/)'''''
'''''From items_weapons.txt (Project Zomboid directory/media/scripts/)'''''


{{Retrieved|version=41|incver=56}}
{{Retrieved|version=41|incver=65}}
<pre>
<pre>
     item VarmintRifle
     item VarmintRifle
     {
     {
      DisplayCategory = Weapon,
       ImpactSound = null,
       ImpactSound = null,
       MaxRange = 10,
       MaxRange = 10,
Line 39: Line 131:
       HitSound = BulletHitBody,
       HitSound = BulletHitBody,
  ClickSound = MSR700Jam,
  ClickSound = MSR700Jam,
       SoundRadius = 150,
       SoundRadius = 70,
       MinDamage = 0.6,
       MinDamage = 0.6,
       MaxDamage = 1.3,
       MaxDamage = 1.3,
Line 91: Line 183:
       AttachmentType = Rifle,
       AttachmentType = Rifle,
       StopPower = 15,
       StopPower = 15,
    }
</pre>
===Repair===
'''''From fixing.txt (Project Zomboid directory/media/scripts/)'''''
{{Retrieved|version=41|incver=65}}
<pre>
    fixing Fix Varmint Rifle
    {
      Require : VarmintRifle,
      Fixer : VarmintRifle; Aiming=4,
     }</pre>
     }</pre>
==See also==
<!--Comment: Location of links to relevant guides or other pages that may not have been mentioned on this page but still relate to the item in some way. -->
* [[M14_Rifle|M14 Rifle]]
* [[MSR788_Rifle|MSR788 Rifle]]
<!--Comment: Navbox placement goes here. Code example = {{Navbox_weapons}}, (see all current navboxs via the template section)-->
{{Navbox_weapons}}

Revision as of 15:05, 13 January 2022


The Game WorldItemsWeaponsFirearmsMSR700 Rifle
MSR700 Rifle
MSR700 Rifle
Varmint Rifle
General
Category Weapon
Encumbrance
Heavy Load
4
Equipped Two-handed
Condition max. 10
Skill Gunshot
Attachment Back
Characteristics
Ammo type .223 Rounds
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 clips to function. 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 it's small clip count of 3 and reload time makes it ill fit for face paced combat 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 it's low mag count and 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.65

    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