Red Dot: Difference between revisions

From PZwiki
(Created page with "{{languages}}{{Notice|Short}} {{Consumables |image = MODRedDotSight.png |weight = 0.2 }} ==Description== ==Compatible Weapons== 32px|link=Pistol|Pistol [...")
 
(Update distribution file)
 
(33 intermediate revisions by 11 users not shown)
Line 1: Line 1:
{{languages}}{{Notice|Short}}
{{Header|Project Zomboid|Items|Weapons|Firearms|Weapon parts}}
{{Page version|41.78.16}}
{{Infobox item
|name=Red Dot
|model=Handgun_RedDotScope_Model.png
|icon=RedDot.png
<!--GENERAL-->
|weight=0.2
|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
<!--MODIFIERS-->
|weight_mod=0.2
|aiming_mod=5
<!--TECHNICAL DETAILS-->
|item_id=Base.RedDot
}}
{{Quote|text=Weapon attachment. Increases firearm's aiming speed.|author=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==
*[[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]]


{{Consumables
==Distribution==
|image = MODRedDotSight.png
The loot distributions can be found in the table(s) below.
|weight = 0.2
 
}}
<!--BOT FLAG|RedDot|41.78.16-->
==Description==
{{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">
    Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the [[lucky]] and [[unlucky]] traits.    <div class="toggle-content">
<div class="pz-container">
<div id="containers" style="flex-basis:30%">
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
    |+ {{ll|Containers}}
    ! Building/Room
    ! Container
    ! Effective chance
    |-
    | garagestorage
    | {{ll|locker}}
    | 15.1%
    |-
    | gunstore
    | {{ll|counter}}
    | 15.1%
    |}
</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-->


==Compatible Weapons==
==Code==
[[File:Pistol.png|32px|link=Pistol|Pistol]] [[Pistol|Pistol]]
{{CodeBox
== Code ==
| {{CodeSnip
<nowiki>item RedDot
  | lang = java
  | line = true
  | start = 2586
  | source = newitems.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item RedDot
     {
     {
        DisplayCategory = WeaponPart,
         Type = WeaponPart,
         Type = WeaponPart,
         DisplayName = Red Dot,
         DisplayName = Red Dot,
Line 18: Line 84:
         WeightModifier = 0.2,
         WeightModifier = 0.2,
         AimingTimeModifier = 5,
         AimingTimeModifier = 5,
         MountOn = Pistol,
         MountOn = Pistol; Pistol2; Pistol3; Revolver; Revolver_Long; AssaultRifle; AssaultRifle2; HuntingRifle; VarmintRifle,
         PartType = Scope,
         PartType = Scope,
         Tooltip = Tooltip_RedDot,
         Tooltip = Tooltip_RedDot,
    }</nowiki>
        StaticModel = RedDot,
 
        MetalValue = 15,
== History ==
        WorldStaticModel = Handgun_RedDotScope_Ground,
 
    }
{| class="wikitable" width="550" style="text-align:center;"
}}
|-
}}
! Alpha || 
|-
| - || -
|}
 
==See Also==
* [[Items#Firearm Modifications|Firearm Modifications]]


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


{{Navbox/Weapons}}
{{Navbox items|firearms}}
[[Category:weapons]]

Latest revision as of 13:41, 30 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
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the lucky and unlucky traits.
Containers
Building/Room Container Effective chance
garagestorage locker 15.1%
gunstore counter 15.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 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