X4 Scope: Difference between revisions

From PZwiki
m (Remove 128px, minor fixes)
Line 1: Line 1:
{{languages}}
{{Languages}}{{Header|The Game World|Items|Weapons|Firearms|Weapon Parts|type=Weapon|version=Version 40|incver=43}}{{Infobox weapon mod
{{header|The Game World|Items|Weapons|Firearms|Weapon Parts|type=Weapon|version=Version 40|incver=43}}
|display_name=x4 Scope
{{Infobox weapon mod
|name_colour=Weapon
|display_name = x4 Scope
|name_text_colour=Weapon
|name_colour = Weapon
|image= Scope4x.png
|name_text_colour = Weapon
|image_width=120px
|image = Scope4x_128px.png
|image_width = 128px
<!--GENERAL-->
<!--GENERAL-->
|weight = 0.4
|weight=0.4
|weapon = [[File:RifleHunting.png|link=Hunting Rifle]] [[File:RifleVarmint.png|link=Varmint Rifle]]
|weapon=[[File:RifleHunting.png|link=Hunting Rifle]] [[File:RifleVarmint.png|link=Varmint Rifle]]
|part_type = Scope
|part_type=Scope
<!--MODIFIERS-->
<!--MODIFIERS-->
|weight_mod = +0.4
|weight_mod=+0.4
|max_range_mod = +13
|max_range_mod=+13
|min_range_mod = +8
|min_range_mod=+8
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name = Base.x4Scope
|class_name=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.


Line 33: Line 31:
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
{{Retrieved|version=40|incver=43}}
{{Retrieved|version=40|incver=43}}
<pre> item x4Scope
<pre>
item x4Scope
Type = WeaponPart,
Type = WeaponPart,
DisplayName = x4 Scope,
DisplayName = x4 Scope,
Line 44: Line 43:
PartType = Scope,
PartType = Scope,
Tooltip = Tooltip_Scope,
Tooltip = Tooltip_Scope,
MetalValue = 22,</pre>
MetalValue = 22,
</pre>


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


{{Navbox/Weapons}}
{{Navbox_weapons}}
{{Navbox_weapons}}

Revision as of 13:34, 26 February 2023

x4 Scope
x4 Scope
General
Category Weapon mod
Encumbrance
Heavy Load
0.4
Weapon(s) RifleHunting.png RifleVarmint.png
Part type Scope
Modifiers
Encumbrance +0.4
Min. range +8 tiles
Max. range +13 tiles
Technical details
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

Code

From newitems.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 40.43

	item x4Scope
		Type 			= WeaponPart,
		DisplayName 		= x4 Scope,
		Icon 			= Scope4x,
		Weight 			= 0.4,
		WeightModifier 		= 0.4,
		MaxRangeModifier 	= 13,
		MinRangeModifier 	= 8,
		MountOn 		= HuntingRifle; VarmintRifle,
		PartType 		= Scope,
		Tooltip 		= Tooltip_Scope,
		MetalValue		= 22,

See also