Server ToolsLauncherServer ListWiki Sign in Discord chat Download
Wiki menu

Sword

Faithful replica of a medieval sword. Still sharp and deadly.

Classname Sword
Weight
1.5 kg
Inventory size
2×8 16 slots
Worn or carried in
Shoulder, Melee slot
Durability
200
Spawns on
Chernarus, Livonia

Characteristics

Repaired with

Melee

Attack Health Shock Blood Reach
Light attack 22 12 100 1.8 m
Heavy attack 38 18 100 1.8 m
Sprint attack 38 18 100 3.7 m

Where it spawns

Spawns as loot on Chernarus, Livonia: Historical, Hunting.

ChernarusLivoniaSakhal
Nominal 2 2 0
Minimum 1 1 0
Lifetime 4 h 4 h 4 h
Restock 0 0 0
Quantity · · ·
Loot category Clothes Clothes Weapons
Places Historical Hunting Hunting
Tiers · · ·

Nominal is how many the economy keeps on the map, minimum is where restocking starts. Lifetime is how long an untouched item lies before cleanup.

types.xml

Vanilla entries from the mission files of each map. Paste one into db/types.xml of your mission to bring back the default.

types.xml · Chernarus
<type name="Sword">
    <nominal>2</nominal>
    <lifetime>14400</lifetime>
    <restock>0</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="clothes"/>
    <usage name="Historical"/>
</type>
types.xml · Livonia
<type name="Sword">
    <nominal>2</nominal>
    <lifetime>14400</lifetime>
    <restock>0</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="clothes"/>
    <usage name="Hunting"/>
</type>
types.xml · Sakhal
<type name="Sword">
    <nominal>0</nominal>
    <lifetime>14400</lifetime>
    <restock>0</restock>
    <min>0</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"/>
    <usage name="Hunting"/>
</type>

Crafting

Recipes are read from the game scripts. Some have extra conditions in code, those are marked partial.

Config

Classname
Sword
Config class
CfgVehicles
Inherits from
Inventory_Base › Static › All
Model
\dz\weapons\melee\blade\medieval_sword.p3d
Defined in
Addons/weapons_melee.pbo::blade/config.bin
Inventory slots
Shoulder, Melee