X8 Scope: Difference between revisions

From PZwiki
m (Automated {{Languages}} removal.)
m (Distribution table update)
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Header/sandbox2|Project Zomboid|Items|Weapons|Firearms|Weapon parts}}
{{Header|Project Zomboid|Items|Weapons|Firearms|Weapon parts}}
{{Page version|40.43}}
{{Page version|41.78.16}}
{{Infobox item
{{Infobox item
|name=x8 Scope
|name=x8 Scope
Line 15: Line 15:
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|item_id=Base.x8Scope
|item_id=Base.x8Scope
}}{{Quote|text=Weapon attachment. Increases firearm's maximum range.|author=In-game tooltip}}A '''x8 scope''' is a weapon mod.
}}
{{Quote|text=Weapon attachment. Increases firearm's maximum range.|author=In-game tooltip}}A '''x8 scope''' is a weapon mod.


==Usage==
==Usage==
Line 28: Line 29:
*[[File:AssaultRifle.png|link=M16 Assault Rifle]] [[M16 Assault Rifle]]
*[[File:AssaultRifle.png|link=M16 Assault Rifle]] [[M16 Assault Rifle]]


{{clear}}
==Distribution==
==Distribution==
The loot distributions can be found in the table(s) below.
The loot distributions can be found in the table(s) below.


{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;"
<!--BOT FLAG|x8Scope|41.78.16-->
! colspan="4" | Containers
{{clear}}
|-
<div class="togglebox theme-red">
!Building/Room
    <div>x8Scope distribution
!Container
        <span class="mw-customtoggle-togglebox-x8Scope" 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>
! style="width: 3.2em;" |Rolls
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-x8Scope">
! style="width: 3.2em;" |Chance
    <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
|-
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
| all
    |+ {{ll|Containers}}
| [[militarycrate]]
    ! Building / Room
| 4
    ! Container
| 6
    ! Rolls
|-
    ! Chance
| garagestorage
    |-
| [[locker]]
    | all
| 4
    | {{ll|militarycrate}}
| 4
    | 4
|-
    | 6.0
| gunstore
    |-
| [[counter]]
    | garagestorage
| 4
    | {{ll|locker}}
| 4
    | 4
|-
    | 4.0
| policestorage
    |-
| [[locker]]
    | gunstore
| 4
    | {{ll|counter}}
| 1
    | 4
|}
    | 4.0
    |-
    | policestorage
    | {{ll|locker}}
    | 4
    | 1.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
    | 1
    |}
</div>
    </div><div style="clear:both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-x8Scope" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|x8Scope|41.78.16-->
 
==Code==
==Code==
{{CodeBox
{{CodeBox
Line 65: Line 88:
   | lang = java
   | lang = java
   | line = true
   | line = true
   | start = 0
   | start = 2496
   | source = newitems.txt
   | source = newitems.txt
   | retrieved = true
   | retrieved = true
   | version = 40.43
   | version = 41.78.16
   | code =
   | code =
item x8Scope
item x8Scope
{
    {
    Type             = WeaponPart,
        DisplayCategory = WeaponPart,
    DisplayName     = x8 Scope,
        Type = WeaponPart,
    Icon             = Scope8x,
        DisplayName = x8 Scope,
    Weight           = 0.8,
        Icon = Scope8x,
    WeightModifier   = 0.8,
        Weight = 0.8,
    MaxRangeModifier = 20,
        WeightModifier = 0.8,
    MinRangeModifier = 10,
        MaxRangeModifier = 20,
    MountOn         = HuntingRifle; VarmintRifle,
        MinRangeModifier = 10,
    PartType         = Scope,
        MountOn = HuntingRifle; VarmintRifle; AssaultRifle; AssaultRifle2,
    Tooltip         = Tooltip_Scope,
        PartType = Scope,
    MetalValue       = 22,
        Tooltip = Tooltip_Scope,
}
        MetalValue = 22,
  }}
        WorldStaticModel = Rifle_8XScope_Ground,
    }
}}
}}
}}


Line 91: Line 116:
*[[Weapons]]
*[[Weapons]]


{{Navbox weapons}}
{{Navbox items|weapons}}

Revision as of 17:01, 24 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]
x8 Scope
Rifle 8XScope Model.png
General
Encumbrance
Moodle Icon HeavyLoad.png
0.8
Used in
RifleHunting.png RifleVarmint.png
Part type
Scope
Performance
Min range
+10
Max range
+20
Encumbrance mod.
+0.8
Technical
Item ID
Base.x8Scope
Weapon attachment. Increases firearm's maximum range.
— In-game tooltip

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

x8Scope distribution Show / Hide
Containers
Building / Room Container Rolls Chance
all militarycrate 4 6.0
garagestorage locker 4 4.0
gunstore counter 4 4.0
policestorage locker 4 1.0
Vehicles
Vehicle Type/Location Rolls Chance
PoliceTruckBed 4 1

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 x8Scope
    {
        DisplayCategory = WeaponPart,
        Type = WeaponPart,
        DisplayName = x8 Scope,
        Icon = Scope8x,
        Weight = 0.8,
        WeightModifier = 0.8,
        MaxRangeModifier = 20,
        MinRangeModifier = 10,
        MountOn = HuntingRifle; VarmintRifle; AssaultRifle; AssaultRifle2,
        PartType = Scope,
        Tooltip = Tooltip_Scope,
        MetalValue = 22,
        WorldStaticModel = Rifle_8XScope_Ground,
    }

See also