Server ToolsLauncherServer ListWiki Sign in Discord chat Download
Wiki menu

Improvised Spear

An improvised weapon made from a sharp rock or bone at the top of a long stick. It may not be durable, but it will definitely get the job done.

Classname SpearStone
Section
Equipment
Weight
500 g
Inventory size
1×8 8 slots
Worn or carried in
Shoulder, Melee slot
Durability
100
Spawns on
Not in vanilla loot
2 variants

Characteristics

Melee

Attack Health Shock Blood Reach
Light attack 18 8 100 1.8 m
Heavy attack 28 14 100 1.8 m
Sprint attack 28 14 100 3.7 m

Where it spawns

Can be crafted, the recipe is below.

ChernarusLivoniaSakhal
Nominal 0 0 0
Minimum 0 0 1
Lifetime 4 h 4 h 4 h
Restock 0 0 0
Quantity · · ·
Loot category Tools Tools ·
Places · · ·
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, Livonia
<type name="SpearStone">
    <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="1" deloot="0"/>
    <category name="tools"/>
</type>
types.xml · Sakhal
<type name="SpearStone">
    <nominal>0</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="1" deloot="0"/>
</type>

Crafting

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

Variants

Improvised Spear SpearBone
Improvised Spear SpearStone This page

The same item in other colors or versions. Each one has its own classname and loot settings.

Config

Classname
SpearStone
Config class
CfgVehicles
Inherits from
Spear › Inventory_Base › Static › All
Model
\dz\gear\crafting\advanced_spear.p3d
Defined in
Addons/gear_crafting.pbo::config.bin
Inventory slots
Shoulder, Melee