Red Dot: Difference between revisions

From PZwiki
m (Minor)
m (Distribution table update)
(20 intermediate revisions by 5 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.png
|image_width=128px
<!--GENERAL-->
<!--GENERAL-->
|weight=0.2
|weight=0.2
Line 15: Line 13:
|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}}
{{Quote|text=Weapon attachment. Increases firearm's aiming speed.|author=In-game tooltip}}
Line 35: Line 33:
*[[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|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>
  | lang = java
item RedDot
  | line = true
Type = WeaponPart,
  | start = 2586
DisplayName = Red Dot,
  | source = newitems.txt
Icon = RedDot,
  | retrieved = true
Weight = 0.2,
  | version = 41.78.16
WeightModifier = 0.2,
  | code =
AimingTimeModifier = 5,
item RedDot
MountOn = Pistol,
    {
PartType = Scope,
        DisplayCategory = WeaponPart,
Tooltip = Tooltip_RedDot,
        Type = WeaponPart,
MetalValue = 15,
        DisplayName = Red Dot,
</pre>
        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==
Line 57: Line 99:
*[[Weapons]]
*[[Weapons]]


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

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