X4 Scope: Difference between revisions

From PZwiki
m (Remove 128px, minor fixes)
m (firearms)
 
(23 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{Languages}}{{Header|The Game World|Items|Weapons|Firearms|Weapon Parts|type=Weapon|version=Version 40|incver=43}}{{Infobox weapon mod
{{Header|Project Zomboid|Items|Weapons|Firearms|Weapon parts}}
|display_name=x4 Scope
{{Page version|41.78.16}}
|name_colour=Weapon
{{Infobox item
|name_text_colour=Weapon
|name=x4 Scope
|image= Scope4x.png
|model=Rifle_4XScope_Model.png
|image_width=120px
|icon=Scope4x.png
<!--GENERAL-->
<!--GENERAL-->
|weight=0.4
|weight=0.4
Line 14: Line 14:
|min_range_mod=+8
|min_range_mod=+8
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.x4Scope
|item_id=Base.x4Scope
}}{{quote|text=Weapon attachment. Increases firearm's maximum range.|author=In-game tooltip}}A '''x4 scope''' is a weapon mod.
}}
{{Quote|text=Weapon attachment. Increases firearm's maximum range.|author=In-game tooltip}}A '''x4 scope''' is a weapon mod.


==Usage==
==Usage==
Line 27: Line 28:
*[[File:AssaultRifle2.png|link=M14 Rifle]] [[M14 Rifle]]
*[[File:AssaultRifle2.png|link=M14 Rifle]] [[M14 Rifle]]
*[[File:AssaultRifle.png|link=M16 Assault Rifle]] [[M16 Assault Rifle]]
*[[File:AssaultRifle.png|link=M16 Assault Rifle]] [[M16 Assault Rifle]]
==Distribution==
The loot distributions can be found in the table(s) below.
<!--BOT FLAG|x4Scope|41.78.16-->
{{clear}}
<div class="togglebox theme-red">
    <div>x4Scope distribution
        <span class="mw-customtoggle-togglebox-x4Scope" title="{{int:show}} / {{int:hide}}" style="float:right; padding-right:30px; padding-top:4px; font-size:0.7em; font-weight:normal;">{{int:show}} / {{int:hide}}</span></div>
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-x4Scope">
    <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
    |+ {{ll|Containers}}
    ! Building / Room
    ! Container
    ! Rolls
    ! Chance
    |-
    | all
    | {{ll|militarycrate}}
    | 4
    | 6.0
    |-
    | garagestorage
    | {{ll|locker}}
    | 4
    | 6.0
    |-
    | gunstore
    | {{ll|counter}}
    | 4
    | 6.0
    |-
    | policestorage
    | {{ll|locker}}
    | 4
    | 2.0
    |}
</div>
<div style="float:left;">
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
    |+ {{ll|Vehicles}}
    ! Vehicle Type/Location
    ! Rolls
    ! Chance
    |-
    | PoliceTruckBed
    | 4
    | 2
    |}
</div>
    </div><div style="clear:both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-x4Scope" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|x4Scope|41.78.16-->


==Code==
==Code==
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=40|incver=43}}
| {{CodeSnip
<pre>
  | lang = java
item x4Scope
  | line = true
Type = WeaponPart,
  | start = 2479
DisplayName = x4 Scope,
  | source = newitems.txt
Icon = Scope4x,
  | retrieved = true
Weight = 0.4,
  | version = 41.78.16
WeightModifier = 0.4,
  | code =
MaxRangeModifier = 13,
item x4Scope
MinRangeModifier = 8,
    {
MountOn = HuntingRifle; VarmintRifle,
        DisplayCategory = WeaponPart,
PartType = Scope,
        Type = WeaponPart,
Tooltip = Tooltip_Scope,
        DisplayName = x4 Scope,
MetalValue = 22,
        Icon = Scope4x,
</pre>
        Weight = 0.4,
        WeightModifier = 0.4,
        MaxRangeModifier = 13,
        MinRangeModifier = 8,
        MountOn = HuntingRifle; VarmintRifle; AssaultRifle; AssaultRifle2,
        PartType = Scope,
        Tooltip = Tooltip_Scope,
        MetalValue = 22,
        WorldStaticModel = Rifle_4XScope_Ground,
    }
}}
}}


==See also==
==See also==
Line 50: Line 116:
*[[Weapons]]
*[[Weapons]]


{{Navbox_weapons}}
{{Navbox items|firearms}}

Latest revision as of 14:32, 27 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]
x4 Scope
Rifle 4XScope Model.png
General
Encumbrance
Moodle Icon HeavyLoad.png
0.4
Used in
RifleHunting.png RifleVarmint.png
Part type
Scope
Performance
Min range
+8
Max range
+13
Encumbrance mod.
+0.4
Technical
Item ID
Base.x4Scope
Weapon attachment. Increases firearm's maximum range.
— In-game tooltip

A x4 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.

x4Scope distribution Show / Hide
Containers
Building / Room Container Rolls Chance
all militarycrate 4 6.0
garagestorage locker 4 6.0
gunstore counter 4 6.0
policestorage locker 4 2.0
Vehicles
Vehicle Type/Location Rolls Chance
PoliceTruckBed 4 2

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 x4Scope
    {
        DisplayCategory = WeaponPart,
        Type = WeaponPart,
        DisplayName = x4 Scope,
        Icon = Scope4x,
        Weight = 0.4,
        WeightModifier = 0.4,
        MaxRangeModifier = 13,
        MinRangeModifier = 8,
        MountOn = HuntingRifle; VarmintRifle; AssaultRifle; AssaultRifle2,
        PartType = Scope,
        Tooltip = Tooltip_Scope,
        MetalValue = 22,
        WorldStaticModel = Rifle_4XScope_Ground,
    }

See also