Red Dot: Difference between revisions

From PZwiki
(Add iwbums navbox)
m (Distribution table update)
(26 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{languages}}
{{Header|Project Zomboid|Items|Weapons|Firearms|Weapon parts}}
{{header|The Game World|Items|Weapons|Firearms|Weapon Parts|type=Weapon|version=Version 40|incver=43}}
{{Page version|41.78.16}}
{{Infobox weapon mod
{{Infobox item
|display_name = Red Dot
|name=Red Dot
|name_colour = Weapon
|model=Handgun_RedDotScope_Model.png
|name_text_colour = Weapon
|icon=RedDot.png
|image = RedDot_128px.png
|image_width = 128px
<!--GENERAL-->
<!--GENERAL-->
|weight = 0.2
|weight=0.2
|weapon = [[File:RifleHunting.png|link=Hunting Rifle]] [[File:RifleVarmint.png|link=Varmint Rifle]] [[File:HandGun.png|link=Pistol]]
|weapon=[[File:HandGun.png|link=D-E Pistol]][[File:HandGun2.png|link=M1911 Pistol]] [[File:HandGun3.png|link=M9 Pistol]] [[File:Revolver.png|link=M625 Revolver]] [[File:RevolverLong.png|link=Magnum]] [[File:RifleHunting.png|link=Hunting Rifle]] [[File:RifleVarmint.png|link=Varmint Rifle]] [[File:AssaultRifle2.png|link=M14 Rifle]] [[File:AssaultRifle.png|link=M16 Assault Rifle]]
|part_type = Scope
|part_type=Scope
<!--MODIFIERS-->
<!--MODIFIERS-->
|weight_mod = 0.2
|weight_mod=0.2
|aiming_mod = 5
|aiming_mod=5
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name = Base.RedDot
|item_id=Base.RedDot
}}{{quote|text=Weapon attachment. Increases firearm's aiming speed.|author=In-game tooltip}}A '''red dot''' is a weapon mod.
}}
{{Quote|text=Weapon attachment. Increases firearm's aiming speed.|author=In-game tooltip}}
A '''red dot''' is a weapon mod.


==Usage==
==Usage==
Increases a pistols aiming speed.
Increases firearms' aiming speed.


Can be added to a [[pistol]] using a [[screwdriver]].
To install an attachment, right click either the weapon you want to modify or attachment you want to add, and select "Upgrade" to modify the weapon. Requires a [[screwdriver]].


==Compatible weapons==
==Compatible weapons==
[[File:HandGun.png|link=Pistol]] [[Pistol]]
*[[File:HandGun.png|link=D-E Pistol]] [[D-E Pistol]]
*[[File:HandGun2.png|link=M1911 Pistol]] [[M1911 Pistol]]
*[[File:HandGun3.png|link=M9 Pistol]] [[M9 Pistol]]
*[[File:Revolver.png|link=M625 Revolver]] [[M625 Revolver]]
*[[File:RevolverLong.png|link=Magnum]] [[Magnum]]
*[[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.
 
<!--BOT FLAG|RedDot|41.78.16-->
{{clear}}
<div class="togglebox theme-red">
    <div>RedDot distribution
        <span class="mw-customtoggle-togglebox-RedDot" 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-RedDot">
    <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
    |-
    | garagestorage
    | {{ll|locker}}
    | 4
    | 6.0
    |-
    | gunstore
    | {{ll|counter}}
    | 4
    | 6.0
    |}
</div>
    </div><div style="clear:both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-RedDot" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|RedDot|41.78.16-->


==Code==
==Code==
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=40|incver=43}}
| {{CodeSnip
<pre> item RedDot
  | lang = java
Type = WeaponPart,
  | line = true
DisplayName = Red Dot,
  | start = 2586
Icon = RedDot,
  | source = newitems.txt
Weight = 0.2,
  | retrieved = true
WeightModifier = 0.2,
  | version = 41.78.16
AimingTimeModifier = 5,
  | code =
MountOn = Pistol,
item RedDot
PartType = Scope,
    {
Tooltip = Tooltip_RedDot,
        DisplayCategory = WeaponPart,
MetalValue = 15,</pre>
        Type = WeaponPart,
        DisplayName = Red Dot,
        Icon = RedDot,
        Weight = 0.2,
        WeightModifier = 0.2,
        AimingTimeModifier = 5,
        MountOn = Pistol; Pistol2; Pistol3; Revolver; Revolver_Long; AssaultRifle; AssaultRifle2; HuntingRifle; VarmintRifle,
        PartType = Scope,
        Tooltip = Tooltip_RedDot,
        StaticModel = RedDot,
        MetalValue = 15,
        WorldStaticModel = Handgun_RedDotScope_Ground,
    }
}}
}}


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


{{Navbox/Weapons}}
{{Navbox items|firearms}}
{{Navbox_weapons}}

Revision as of 16:25, 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]
Red Dot
Handgun RedDotScope Model.png
General
Encumbrance
Moodle Icon HeavyLoad.png
0.2
Used in
HandGun.pngHandGun2.png HandGun3.png Revolver.png RevolverLong.png RifleHunting.png RifleVarmint.png AssaultRifle2.png AssaultRifle.png
Part type
Scope
Performance
Aiming time
5
Encumbrance mod.
0.2
Technical
Item ID
Base.RedDot
Weapon attachment. Increases firearm's aiming speed.
— In-game tooltip

A red dot is a weapon mod.

Usage

Increases firearms' aiming speed.

To install an attachment, right click either the weapon you want to modify or attachment you want to add, and select "Upgrade" to modify the weapon. Requires a screwdriver.

Compatible weapons

Distribution

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

RedDot distribution Show / Hide
Containers
Building / Room Container Rolls Chance
garagestorage locker 4 6.0
gunstore counter 4 6.0

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 RedDot
    {
        DisplayCategory = WeaponPart,
        Type = WeaponPart,
        DisplayName = Red Dot,
        Icon = RedDot,
        Weight = 0.2,
        WeightModifier = 0.2,
        AimingTimeModifier = 5,
        MountOn = Pistol; Pistol2; Pistol3; Revolver; Revolver_Long; AssaultRifle; AssaultRifle2; HuntingRifle; VarmintRifle,
        PartType = Scope,
        Tooltip = Tooltip_RedDot,
        StaticModel = RedDot,
        MetalValue = 15,
        WorldStaticModel = Handgun_RedDotScope_Ground,
    }

See also