Home / Items / Weapons & attachments / StarlightOptic

On Chernarus, the economy keeps about 1 on the map and spawns more when none are left, after waiting 1 h. Each one lasts 1 h 30 min when nobody touches it. It spawns in ContaminatedArea places.

On Livonia, the economy keeps about 1 on the map and spawns more when none are left, after waiting 1 h. Each one lasts 1 h 30 min when nobody touches it. It spawns in ContaminatedArea places.

On Sakhal, the economy keeps about 1 on the map and spawns more when none are left, after waiting 1 h. Each one lasts 1 h 30 min when nobody touches it. It spawns in Military places, in Tier4.

types.xml values on each map

ChernarusLivoniaSakhal
Nominal
how many it aims to keep
1 1 1
Min
spawns more below this
1 1 1
Lifetime
untouched, before it despawns
1 h 30 min 1 h 30 min 1 h 30 min
Restock
wait before respawning
1 h 1 h 1 h
Quantity
how full it spawns
– – –
Places
usage
ContaminatedArea ContaminatedArea Military
Tiers
value
– – Tier4
Spot
tag
shelves shelves –
Counts
towards nominal
count_in_map count_in_map count_in_map
Crafted no no no
Event loot
deloot
no no no

Tier1 is near the coast and Tier4 deep inland. "Counts" lists where copies count towards nominal: count_in_map means copies lying in the world, count_in_cargo in containers, count_in_hoarder in tents, barrels and stashes, count_in_player on players. Every value is explained in DayZ types.xml explained.

What StarlightOptic spawns with

From cfgspawnabletypes.xml: each group spawns with its chance, and one of its items is picked.

Chernarus (same on Livonia and Sakhal)

  • Spawns with damage between 0 and 0.32 (0 is pristine, 1 ruined).

Random presets

StarlightOptic is in these named lists in cfgrandompresets.xml, which items use with preset="…": Xmas_Optics_Medium.

The vanilla types.xml entry

As in Bohemia's Chernarus file. Paste it into your own types.xml to restore the default, or change it with the free types.xml Editor.

<type name="StarlightOptic">
    <nominal>1</nominal>
    <lifetime>5400</lifetime>
    <restock>3600</restock>
    <min>1</min>
    <quantmin>-1</quantmin>
    <quantmax>-1</quantmax>
    <cost>100</cost>
    <flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>
    <category name="weapons"/>
    <tag name="shelves"/>
    <usage name="ContaminatedArea"/>
</type>

Change it on your server

Values from Bohemia's public DayZ-Central-Economy files (commit 9a21bb9, 2026-08-13). Servers can change all of them, so a community server may differ.