X2 Scope: Difference between revisions

From PZwiki
(Created page with "{{languages}}{{Notice|Short}} {{Consumables |image = MOD2xScope.png |weight = 0.3 }} ==Description== ==Compatible Weapons== File:VarmintRifle.png|32px|link=Varmint Rifle|V...")
 
m (Automated Formatting)
(27 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{{languages}}{{Notice|Short}}
{{Header|Project Zomboid|Items|Weapons|Firearms|Weapon parts}}
{{Page version|41.78.16}}
{{Infobox item
|name=x2 Scope
|model=Rifle_2XScope_Model.png
|icon=Scope2x.png
<!--GENERAL-->
|weight=0.3
|weapon=[[File:RifleHunting.png|link=Hunting Rifle]] [[File:RifleVarmint.png|link=Varmint Rifle]]
|part_type=Scope
<!--MODIFIERS-->
|weight_mod=+0.3
|max_range_mod=+7
|min_range_mod=+6
<!--TECHNICAL DETAILS-->
|item_id=Base.x2Scope
}}
{{quote|text=Weapon attachment. Increases firearm's maximum range.|author=In-game tooltip}}A '''x2 scope''' is a weapon mod.
 
==Usage==
Increases firearms maximum fire range.
 
Can be added to guns using a [[screwdriver]].
 
==Compatible weapons==
*[[File:RifleVarmint.png|link=Varmint Rifle]] [[Varmint Rifle]]
*[[File:RifleHunting.png|link=Hunting Rifle]] [[Hunting Rifle]]
*[[File:AssaultRifle2.png|link=M14 Rifle]] [[M14 Rifle]]
*[[File:AssaultRifle.png|link=M16 Assault Rifle]] [[M16 Assault Rifle]]
 
==Distribution==
The loot distributions can be found in the table(s) below.


{{Consumables
{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;"
|image = MOD2xScope.png
! colspan="4" | Containers
|weight = 0.3
|-
}}
! Building/Room
==Description==
! Container
! style="width: 3.2em;" | Rolls
! style="width: 3.2em;" | Chance
|-
|all
|[[militarycrate]]
|4
|6
|-
|garagestorage
|[[locker]]
|4
|8
|-
|gunstore
|[[counter]]
|4
|8
|-
|policestorage
|[[locker]]
|4
|4
|}


==Compatible Weapons==
==Code==
[[File:VarmintRifle.png|32px|link=Varmint Rifle|Varmint Rifle]] [[Varmint Rifle|Varmint Rifle]]<br>
{{CodeBox
[[File:HuntingRifle.png|32px|link=Hunting Rifle|Hunting Rifle]] [[Hunting Rifle|Hunting Rifle]]
| {{CodeSnip
== Code ==
  | lang = java
<nowiki>item x2Scope
  | line = true
  | start = 2462
  | source = newitems.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item x2Scope
     {
     {
        DisplayCategory = WeaponPart,
         Type = WeaponPart,
         Type = WeaponPart,
         DisplayName = x2 Scope,
         DisplayName = x2 Scope,
Line 20: Line 81:
         MaxRangeModifier = 7,
         MaxRangeModifier = 7,
         MinRangeModifier = 6,
         MinRangeModifier = 6,
         MountOn = HuntingRifle; VarmintRifle,
         MountOn = HuntingRifle; VarmintRifle; AssaultRifle; AssaultRifle2,
         PartType = Scope,
         PartType = Scope,
         Tooltip = Tooltip_Scope,
         Tooltip = Tooltip_Scope,
    }</nowiki>
        MetalValue = 22,
 
        WorldStaticModel = Rifle_2XScope_Ground,
== History ==
    }
 
}}
{| class="wikitable" width="550" style="text-align:center;"
}}
|-
! Alpha || 
|-
| - || -
|}
 
==See Also==
* [[Items#Firearm Modifications|Firearm Modifications]]


==See also==
*[[Weapon mods]]
*[[Weapons]]


{{Navbox/Weapons}}
{{Navbox items|weapons}}
[[Category:weapons]]

Revision as of 13:31, 14 April 2024

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
x2 Scope
Rifle 2XScope Model.png
General
Encumbrance
Moodle Icon HeavyLoad.png
0.3
Used in
RifleHunting.png RifleVarmint.png
Part type
Scope
Performance
Min range
+6
Max range
+7
Encumbrance mod.
+0.3
Technical
Item ID
Base.x2Scope
Weapon attachment. Increases firearm's maximum range.
— In-game tooltip

A x2 scope is a weapon mod.

Usage

Increases firearms maximum fire range.

Can be added to guns using a screwdriver.

Compatible weapons

Distribution

The loot distributions can be found in the table(s) below.

Containers
Building/Room Container Rolls Chance
all militarycrate 4 6
garagestorage locker 4 8
gunstore counter 4 8
policestorage locker 4 4

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Source: ProjectZomboid\media\scripts\newitems.txt

Retrieved: Build 41.78.16
item x2Scope
    {
        DisplayCategory = WeaponPart,
        Type = WeaponPart,
        DisplayName = x2 Scope,
        Icon = Scope2x,
        Weight = 0.3,
        WeightModifier = 0.3,
        MaxRangeModifier = 7,
        MinRangeModifier = 6,
        MountOn = HuntingRifle; VarmintRifle; AssaultRifle; AssaultRifle2,
        PartType = Scope,
        Tooltip = Tooltip_Scope,
        MetalValue = 22,
        WorldStaticModel = Rifle_2XScope_Ground,
    }

See also