X8 Scope: Difference between revisions
(added header and new infobox) |
m (firearms) |
||
(26 intermediate revisions by 9 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Header|Project Zomboid|Items|Weapons|Firearms|Weapon parts}} | ||
{{Page version|41.78.16}} | |||
{{Infobox | {{Infobox item | ||
| | |name=x8 Scope | ||
| | |model=Rifle_8XScope_Model.png | ||
|icon=Scope8x.png | |||
| | |||
<!--GENERAL--> | <!--GENERAL--> | ||
|weight | |weight=0.8 | ||
|weapon | |weapon=[[File:RifleHunting.png|link=Hunting Rifle]] [[File:RifleVarmint.png|link=Varmint Rifle]] | ||
|part_type | |part_type=Scope | ||
<!--MODIFIERS--> | <!--MODIFIERS--> | ||
|weight_mod | |weight_mod=+0.8 | ||
|max_range_mod | |max_range_mod=+20 | ||
|min_range_mod | |min_range_mod=+10 | ||
<!--TECHNICAL DETAILS--> | <!--TECHNICAL DETAILS--> | ||
| | |item_id=Base.x8Scope | ||
}}{{ | }} | ||
{{Quote|text=Weapon attachment. Increases firearm's maximum range.|author=In-game tooltip}}A '''x8 scope''' is a weapon mod. | |||
==Usage== | ==Usage== | ||
Line 27: | Line 26: | ||
*[[File:RifleVarmint.png|link=Varmint Rifle]] [[Varmint Rifle]] | *[[File:RifleVarmint.png|link=Varmint Rifle]] [[Varmint Rifle]] | ||
*[[File:RifleHunting.png|link=Hunting Rifle]] [[Hunting 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. | |||
<!--BOT FLAG|x8Scope|41.78.16--> | |||
{{clear}} | |||
<div class="togglebox theme-red"> | |||
<div>x8Scope distribution | |||
<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> | |||
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-x8Scope"> | |||
<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 | |||
| 4.0 | |||
|- | |||
| gunstore | |||
| {{ll|counter}} | |||
| 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 | |||
| {{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 2496 | |||
| source = newitems.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
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== | ==See also== | ||
* [[Weapon mods]] | *[[Weapon mods]] | ||
* [[Weapons]] | *[[Weapons]] | ||
{{Navbox | {{Navbox items|firearms}} |
Latest revision as of 14:32, 27 April 2024
x8 Scope
Performance
Min range
+10
Max range
+20
Encumbrance mod.
+0.8
Technical
Item ID
Base.x8Scope
“
Weapon attachment. Increases firearm's maximum range.
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
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 |
Vehicle Type/Location | Rolls | Chance |
---|---|---|
PoliceTruckBed | 4 | 1 |
Code
Code snippet! This section contains source code from Project ZomboidShow / Hide
Source: ProjectZomboid\media\scripts\newitems.txt
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,
}