Map: Namalsk (hardcore) - GarageMan/Setting-up-a-DayZ-server GitHub Wiki
All about installing and configuring Namalsk (hardcore)
Scalespeeder's installation instructions on Youtube.
Download the latest mission files from Github
Coose between regular and harcore (no base building, no cars - see below my advice about how to enable it)
...
serverTimeAcceleration=6;
serverNightTimeAcceleration=2;
...
// the mission
class Missions
{
class DayZ
{
template="hardcore.namalsk";
};
};
...
void main()
{
CreateHive();
GetHive().InitOffline();
int year, month, day, hour, minute;
GetGame().GetWorld().GetDate( year, month, day, hour, minute );
if ( month < 12 )
{
year = 2011;
month = 12;
day = 21; <!-- shortest day, can be set to 1 -->
GetGame().GetWorld().SetDate( year, month, day, hour, minute );
}
};
class CustomMission: MissionServer
{
override void OnInit()
{
super.OnInit();
if ( m_EventManagerServer )
{
m_EventManagerServer.OnInitServer( true, 550, 1000, 2 );
m_EventManagerServer.RegisterEvent( Aurora, 0.85 );
m_EventManagerServer.RegisterEvent( Blizzard, 0.5 );
m_EventManagerServer.RegisterEvent( ExtremeCold, 0.4 );
m_EventManagerServer.RegisterEvent( Snowfall, 0.7 );
m_EventManagerServer.RegisterEvent( EVRStorm, 0.6 );
m_EventManagerServer.RegisterEvent( HeavyFog, 0.6 );
}
}
void SetRandomHealth(EntityAI itemEnt)
{
if (itemEnt)
{
float rndHlt = Math.RandomFloat( 0.50, 0.85 );
itemEnt.SetHealth01( "", "", rndHlt );
}
}
override void StartingEquipSetup(PlayerBase player, bool clothesChosen)
{
player.RemoveAllItems();
player.GetInventory().CreateInInventory("BeanieHat_Grey_Dovecote");
player.GetInventory().CreateInInventory("Hoodie_Dovecote");
player.GetInventory().CreateInInventory("Jeans_Grey_Dovecote");
player.GetInventory().CreateInInventory("Sneakers_White_Dovecote");
player.GetInventory().CreateInInventory("ImpCourierBag_Dovecote");
player.GetInventory().CreateInInventory("Heatpack");
ItemBase knife = player.GetInventory().CreateInInventory("Stoneknife");
ItemBase rags = player.GetInventory().CreateInInventory("Rag");
ItemBase watch = player.GetInventory().CreateInInventory("dzn_tool_watch2");
player.SetQuickBarEntityShortcut(rags, 0, true);
player.SetQuickBarEntityShortcut(knife, 1, true);
player.SetQuickBarEntityShortcut(watch, 2, true);
ItemBase pda = player.GetInventory().CreateInInventory("ItemPDA");
pda.GetInventory().CreateAttachment("Battery9V");
player.SetQuickBarEntityShortcut(knife, 0, true);
player.SetQuickBarEntityShortcut(rags, 1, true);
player.SetQuickBarEntityShortcut(pda, 2, true);
player.SetQuickBarEntityShortcut(watch, 3, true);
player.GetStatWater().Set( 900 );
player.GetStatEnergy().Set( 1100 );
}
};
Mission CreateCustomMission(string path)
{
return new CustomMission();
};
Change the logon/logoff time
<var name="TimeLogin" type="0" value="5"/> <!-- default is 15 sec -->
<var name="TimeLogout" type="0" value="15"/>
Tier1
Tier2
Tier3
Tier4
Tier5
Tier6
Tier7
Tier12
Tier23
Tier34
Tier45
Tier56
Tier67
Tier123
Tier234
Tier345
Tier567
Tier1234
bags
clothes
containers
explosives
food
lantia
lore
pistols
rifles
tools
vehiclesparts
weapons
civilian
farm
firefighter
fishing
hunting
industrial
medical
military
police
seaice
seasonalevent
Does not exist on Namalsk!!
Does not exist on Namalsk!
The file types_dzn.xml
adds Namalsk-specifiz objects:
Object1 | Objec2 | Objec3 | Objec4 |
---|---|---|---|
dzn_alicebag_wintercamo | dzn_EpoxyPutty | dzn_milberet_red | dzn_smershvest_black |
dzn_apsi | dzn_FirstAidKit | dzn_milberet_specnaz | dzn_smershvest_white |
dzn_assaultbag_winter | dzn_ghilliebushragtandark | dzn_module_card | dzn_snowball_large |
dzn_athena_action1 | dzn_ghilliebushragwinter | dzn_module_ext | dzn_snowball_medium |
dzn_athena_action2 | dzn_ghilliehoodtandark | dzn_module_ext2 | dzn_snowball_small |
dzn_athena_planning | dzn_ghilliehoodwinter | dzn_module_lantia | dzn_SodaCan_Cola |
dzn_athena3_august | dzn_ghilliesuittandark | dzn_module_surge | dzn_SodaCan_Fronta |
dzn_athena3_exp1 | dzn_ghilliesuitwinter | dzn_netanyas_log | dzn_SodaCan_Kvass |
dzn_athena3_exp2 | dzn_ghillietoptandark | dzn_oxygenated_blood | dzn_SodaCan_Pipsi |
dzn_athena3_october | dzn_ghillietopwinter | dzn_Pajka | dzn_SodaCan_Spite |
dzn_att_ghillie_tandark | dzn_gorka_pants_winter | dzn_Pajka_Opened | dzn_SpaghettiCan |
dzn_att_ghillie_winter | dzn_gorka_up_winter | dzn_Pate | dzn_SpaghettiCan_Opened |
dzn_bagtortilla_white | dzn_GorkaHelmet_White | dzn_Pate_Opened | dzn_sumrak_pants_coldw |
dzn_BakedBeansCan | dzn_gorkahood_autumn | dzn_PeachesCan | dzn_sumrak_up_coldw |
dzn_BakedBeansCan_Opened | dzn_gorkahood_flat | dzn_PeachesCan_Opened | dzn_sumrakhood_coldw |
dzn_BallisticHelmet_White | dzn_gorkahood_pautrev | dzn_phoenix_log_1 | dzn_tacticalshirt_olive_ru |
dzn_ballisticvest_nac | dzn_gorkahood_winter | dzn_phoenix_log_2 | dzn_tacticalshirt_tan_ru |
dzn_bandana_wintercamopattern | dzn_highcapacityvest_nac | dzn_phoenix_log_3 | dzn_tacticalshirt_white_ru |
dzn_blueprint_lehs | dzn_Honey | dzn_phoenix_log_4 | dzn_tool_watch |
dzn_BrisketSpread | dzn_lantia_december | dzn_phoenix_log_5 | dzn_tool_watch2 |
dzn_BrisketSpread_Opened | dzn_lantia_vega7 | dzn_phoenix_stash | dzn_TunaCan |
dzn_bubblegoose_blue | dzn_lehs | dzn_platecarrierholster_nac | dzn_TunaCan_Opened |
dzn_bubblegoose_green | dzn_lehs_battery | dzn_platecarrierpouches_nac | dzn_ukassvest_white |
dzn_bubblegoose_orange | dzn_lehs_helmet | dzn_platecarriervest_nac | dzn_UnknownFoodCan |
dzn_bubblegoose_red | dzn_lehs_helmet_visor | dzn_PorkCan | dzn_UnknownFoodCan_Opened |
dzn_Canteen | dzn_lehs_o2tank | dzn_PorkCan_Opened | dzn_vega7_enzyme |
dzn_CatFoodCan | dzn_Lunchmeat | dzn_Pot | dzn_vinyl_bubson |
dzn_CatFoodCan_Opened | dzn_Lunchmeat_Opened | dzn_printer_filament_abs | dzn_WaterBottle |
dzn_coyotebag_white | dzn_map_namalsk | dzn_printer_filament_nylon | dzn_yeger_pants_coldw |
dzn_ | dzn_Marmalade | dzn_printer_filament_tpc | dzn_yeger_pants_woodl |
dzn_DogFoodCan | dzn_meme_banana | dzn_SardinesCan | dzn_yeger_up_coldw |
dzn_DogFoodCan_Opened | dzn_milberet_black | dzn_SardinesCan_Opened | dzn_yeger_up_woodl |
dzn_DuctTape | dzn_milberet_blue | dzn_smershbackpack_black | dzn_yegerhood_coldw |
dzn_ElectronicRepairKit | dzn_milberet_green | dzn_smershbackpack_white | dzn_yegerhood_woodl |
init.c
(Original configuration)
(my customization)
RCON password is stored in the file BEServer.cfg
in the folder /battleye
Add the following lines to the events.xml
:
<!-- dbo_creatures aka blood suckers START -->
<event name="InfectedBloodsucker">
<waves>0</waves>
<nominal>0</nominal>
<min>0</min>
<max>25</max>
<lifetime>30</lifetime>
<restock>0</restock>
<saferadius>250</saferadius>
<distanceradius>250</distanceradius>
<cleanupradius>500</cleanupradius>
<flags deletable="0" init_random="0" remove_damaged="1" sec_spawner="0" />
<position>player</position>
<limit>custom</limit>
<active>1</active>
<children>
<child lootmax="0" lootmin="0" max="0" min="30" type="ZmbM_BloodSucker_normal" />
<child lootmax="0" lootmin="0" max="0" min="24" type="ZmbM_BloodSucker_medium" />
<child lootmax="0" lootmin="0" max="0" min="16" type="ZmbM_BloodSucker_hard" />
<child lootmax="0" lootmin="0" max="0" min="12" type="ZmbM_BloodSucker_superhard" />
<child lootmax="0" lootmin="0" max="0" min="6" type="ZmbM_BloodSucker_superhardR" />
<child lootmax="0" lootmin="0" max="0" min="4" type="ZmbM_BloodSucker_superweird" />
</children>
</event>
<!-- dbo_creatures END -->
Although most of the customized spawnable.xml objects are stored in the individual files (in my case in folder custom_types
some changes are necessary to the original cfgspawnabletypes.xml
:
<type name="ZmbF_BlueCollarFat_Blue" >
<cargo preset="toolsgeneral" />
<cargo preset="Zmb_brain" />
<cargo preset="add_a_pokemon_card" />
<attachments preset="Zmb_headtorch" />
</type>
<type name="dzn_apsi" >
<attachments preset="add_a_battery" />
</type>
<type name="dzn_detector" >
<attachments preset="add_a_battery" />
</type>
<type name="UniversalLight" >
<attachments preset="add_a_battery" />
</type>
<type name="TLRLight" >
<attachments preset="add_a_battery" />
</type>
<type name="GPSReceiver" >
<attachments preset="add_a_battery" />
</type>
<type name="Rangefinder" >
<attachments preset="add_a_battery" />
</type>
<type name="Flashlight" >
<attachments preset="add_a_battery" />
</type>
<type name="Headtorch_Grey" >
<attachments preset="add_a_battery" />
</type>
<type name="Headtorch_Black" >
<attachments preset="add_a_battery" />
</type>
<type name="PortableGasStove" >
<attachments chance="0.25" >
<item name="LargeGasCanister" chance="0.15"/>
<item name="MediumGasCanister" chance="0.35"/>
<item name="SmallGasCanister" chance="0.50"/>
</attachments>
<attachments chance="0.25" >
<item name="dzn_Pot" chance="0.50" />
<item name="FryingPan" chance="0.50" />
</attachments>
</type>
<type name="PortableGasLamp" >
<attachments chance="0.25" >
<item name="LargeGasCanister" chance="0.15"/>
<item name="MediumGasCanister" chance="0.35"/>
<item name="SmallGasCanister" chance="0.50"/>
</attachments>
</type>
<type name="ASVAL" >
<attachments chance="1.00" >
<item name="UniversalLight" chance="1.00" >
<attachments chance="0.25" >
<item name="Battery9V" chance="1.00" />
</attachments>
</item>
</attachments>
<attachments chance="0.80" >
<item name="ReflexOptic" chance="0.38" />
<item name="M4_T3NRDSOptic" chance="0.27" />
<item name="M68Optic" chance="0.20" />
<item name="ACOGOptic" chance="0.15" />
</attachments>
<attachments chance="0.60" >
<item name="Mag_VSS_10Rnd" chance="0.40" />
<item name="Mag_VAL_20Rnd" chance="0.60" />
</attachments>
</type>
<type name="Colt1911" >
<attachments chance="0.80" >
<item name="Mag_1911_7Rnd" chance="1.00" />
</attachments>
<attachments chance="0.30" >
<item name="TLRLight" chance="1.00" >
<attachments preset="add_a_battery" />
</item>
</attachments>
<attachments chance="0.10" >
<item name="PistolSuppressor" chance="1.00" />
</attachments>
</type>
<type name="MilitaryBoots_Beige" >
<attachments preset="add_a_knife" />
</type>
<type name="MilitaryBoots_Black" >
<attachments preset="add_a_knife" />
</type>
<type name="MilitaryBoots_Bluerock" >
<attachments preset="add_a_knife" />
</type>
<type name="MilitaryBoots_Brown" >
<attachments preset="add_a_knife" />
</type>
<type name="MilitaryBoots_Redpunk" >
<attachments preset="add_a_knife" />
</type>
<!-- NVG and related - by Garageman -->
<type name="Mich2001Helmet" >
<attachments preset="add_a_NVG" />
<attachments preset="add_a_taclight" />
</type>
<type name="NVGHeadstrap" >
<attachments chance="0.25" >
<item name="NVGoggles" chance="1.00" >
<attachments preset="add_a_battery" />
</item>
</attachments>
</type>
<!-- <type name="NVGoggles" > -->
<!-- <attachments preset="add_a_battery" /> -->
<!-- </type> -->
<!-- End NVG changes -->
I have added loot to be spawned in several objects (like the Zombies, clothing etc.)
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<randompresets>
<!-- ====== -->
<!-- CARGOs -->
<!-- ====== -->
<!-- db_creatures aka blood suckers -->
<cargo chance="0.20" name="bloodsuckerloot" >
<item name="Zen_Virus_Brain" chance="0.25" />
<!-- element of workshop "Zen Virus" -->
<item name="dzn_apsi" chance="0.10" >
<attachments chance="0.25" >
<item name="Battery9V" chance="0.20" />
<item name="Battery9V_1" chance="0.27" /> <!-- element of workshop "CJ187 More Items" -->
<item name="Battery9V_2" chance="0.20" /> <!-- element of workshop "CJ187 More Items" -->
<item name="Battery9V_3" chance="0.13" /> <!-- element of workshop "CJ187 More Items" -->
<item name="Battery9V_4" chance="0.07" /> <!-- element of workshop "CJ187 More Items" -->
</attachments>
</item>
<item name="dzn_module_card" chance="0.10" />
<item name="dzn_detector" chance="0.15" >
<attachments chance="0.25" >
<item name="Battery9V" chance="0.33" />
<item name="Battery9V_1" chance="0.27" /> <!-- element of workshop "CJ187 More Items" -->
<item name="Battery9V_2" chance="0.20" /> <!-- element of workshop "CJ187 More Items" -->
<item name="Battery9V_3" chance="0.13" /> <!-- element of workshop "CJ187 More Items" -->
<item name="Battery9V_4" chance="0.07" /> <!-- element of workshop "CJ187 More Items" -->
</attachments>
</item>
<item name="AmmoBox_556x45_20Rnd" chance="0.20" />
<item name="AE_AmmoBox_127x99_10rnd" chance="0.15" />
<item name="AE_AmmoBox_338_20rnd" chance="0.15" />
<item name="AmmoBox_762x54_20Rnd" chance="0.15" />
</cargo>
<cargo chance="0.01" name="add_a_rare_pokemon_set" >
<!-- will add one set of Pokemon cards from 'CJ185 Pokemon cards' -->
<item name ="Pokemon Booster001_1" chance="0.07143" />
<item name ="Pokemon Booster002_1" chance="0.07143" />
<item name ="Pokemon Booster003_1" chance="0.07143" />
<item name ="Pokemon Booster001_3" chance="0.07143" />
<item name ="Pokemon Booster002_3" chance="0.07143" />
<item name ="Pokemon Booster003_3" chance="0.07143" />
<item name ="Pokemon Booster001_5" chance="0.07143" />
<item name ="Pokemon Booster002_5" chance="0.07143" />
<item name ="Pokemon Booster003_5" chance="0.07143" />
</cargo>
<!-- add a brain to a killed Zombie for workshop 'Zen Virus' -->
<cargo chance="0.05" name="Zmb_brain" >
<item name="Zen_Virus_Brain" chance="1.00" />
</cargo>
<!-- adds one bitcoin, Pokémon cards, playing card, etc. - for Zombies -->
<cargo chance="0.01" name="add_a_bitcoin" >
<item name="Collectable_Bitcoin" chance="1.00" />
</cargo>
<cargo chance="0.05" name="add_a_pokemon_card" >
<!-- will add one Pokemon card from 'CJ185 Pokemon cards' -->
<!-- chance is 5% -->
<item name="PokemonEnergy1" chance="0.0060" />
...
<item name="PokemonEnergy8" chance="0.0060" />
<item name="PokemonTrainer1" chance="0.0060" />
...
<item name="PokemonTrainer8" chance="0.0060" />
<item name="Pokemoncard001" chance="0.0060" />
...
<item name="Pokemoncard151" chance="0.0060" />
</cargo>
<cargo chance="0.90" name="add_a_pokemon_card_0.90" >
<!-- will add one Pokemon card from 'CJ185 Pokemon cards' -->
<!-- chance is 90% -->
<item name="PokemonEnergy1" chance="0.0060" />
...
<item name="PokemonEnergy8" chance="0.0060" />
<item name="PokemonTrainer1" chance="0.0060" />
...
<item name="PokemonTrainer8" chance="0.0060" />
<item name="Pokemoncard001" chance="0.0060" />
...
<item name="Pokemoncard151" chance="0.0060" />
</cargo>
<!-- More Food START -->
<cargo chance="0.25" name="MoreFood_Bread" >
<item name="DONFOOD_SANDWICH_HAMCHEESE" chance="0.11" />
<item name="DONFOOD_BREAD" chance="0.11" />
<item name="DONFOOD_CEREALBREAD" chance="0.11" />
<item name="DONFOOD_BREAD2" chance="0.11" />
<item name="DONFOOD_BREAD3" chance="0.11" />
<item name="DONFOOD_BREAD4" chance="0.11" />
<item name="DONFOOD_BREADROLL2" chance="0.11" />
<item name="DONFOOD_BREADROLL3" chance="0.11" />
<item name="DONFOOD_BREADROLL4" chance="0.11" />
</cargo>
<cargo chance="0.25" name="MoreFood_Candy" >
<item name="DONFOOD_CANDYBAR_KATKIT" chance="0.059" />
<item name="DONFOOD_CANDYBAR_ILKA_CARAMEL" chance="0.059" />
<item name="DONFOOD_CANDYBAR_ILKA_CHIPSAHOY" chance="0.059" />
<item name="DONFOOD_CANDYBAR_ILKA_CLASSIC" chance="0.059" />
<item name="DONFOOD_CANDYBAR_ILKA_DESSERT" chance="0.059" />
<item name="DONFOOD_CANDYBAR_ILKA_IUC" chance="0.059" />
<item name="DONFOOD_CANDYBAR_ILKA_NOISETTE" chance="0.059" />
<item name="DONFOOD_CANDYBAR_ILKA_OREO" chance="0.059" />
<item name="DONFOOD_CANDYBAR_ILKA_OREOWHITE" chance="0.059" />
<item name="DONFOOD_CANDYBAR_ILKA_PEANUTCARAMEL" chance="0.059" />
<item name="DONFOOD_CANDYBAR_ILKA_STRAWBERRY" chance="0.059" />
<item name="DONFOOD_CANDYBAR_ILKA_WAVES" chance="0.059" />
<item name="DONFOOD_CANDYBAR_ILKA_WHITE" chance="0.059" />
<item name="DONFOOD_BAG_MANDMMILKCHOCOLATE" chance="0.059" />
<item name="DONFOOD_BAG_MANDMPEANUTBUTTER" chance="0.059" />
<item name="DONFOOD_BAG_MANDMCRISPY" chance="0.059" />
<item name="DONFOOD_BAG_MANDMWILDCHERRY" chance="0.059" />
</cargo>
<cargo chance="0.25" name="MoreFood_Chips" >
<item name="DONFOOD_CHIPS_SaltVinegar" chance="0.071" />
<item name="DONFOOD_CHIPS_Paprika" chance="0.071" />
<item name="DONFOOD_CHIPS_Bacon" chance="0.071" />
<item name="DONFOOD_CHIPS_BLT" chance="0.071" />
<item name="DONFOOD_CHIPS_CheeseBurger" chance="0.071" />
<item name="DONFOOD_CHIPS_ChickenWaffle" chance="0.071" />
<item name="DONFOOD_CHIPS_Classic" chance="0.071" />
<item name="DONFOOD_CHIPS_FlamingHot" chance="0.071" />
<item name="DONFOOD_CHIPS_GarlicBread" chance="0.071" />
<item name="DONFOOD_CHIPS_HotSpicy" chance="0.071" />
<item name="DONFOOD_CHIPS_BlackPepperSourCream" chance="0.071" />
<item name="DONFOOD_CHIPS_P_SeaSalt" chance="0.071" />
<item name="DONFOOD_CHIPS_SourCreamOnion" chance="0.071" />
<item name="DONFOOD_CHIPS_Poutine" chance="0.071" />
</cargo>
<cargo chance="0.25" name="MoreFood_Drinks" >
<item name="DONDRINK_HONEYBEAR" chance="0.022" />
<item name="DONDRINK_BOTTLE_PEPSIR" chance="0.022" />
<item name="DONDRINK_JUICEBOTTLE_ORANGE" chance="0.022" />
<item name="DONDRINK_JUICEPACK_CHERRY" chance="0.022" />
<item name="DONDRINK_JUICEPACK_CRANBERRY" chance="0.022" />
<item name="DONDRINK_JUICEPACK_GRAPE" chance="0.022" />
<item name="DONDRINK_JUICEPACK_MANGO" chance="0.022" />
<item name="DONDRINK_JUICEPACK_CHOKEBERRY" chance="0.022" />
<item name="DONDRINK_MONOKOBOX_BLUE" chance="0.022" />
<item name="DONFOOD_SodaCan_ArsenalnoeKlassicheskoe" chance="0.022" />
<item name="DONFOOD_SodaCan_ArsenalnoeTraditsionnoe" chance="0.022" />
<item name="DONFOOD_SodaCan_BaltikaDarkLager" chance="0.022" />
<item name="DONFOOD_SodaCan_BioSpring" chance="0.022" />
<item name="DONFOOD_SodaCan_FantaPeach" chance="0.022" />
<item name="DONFOOD_SodaCan_GladioMiniCranberryPomegranate" chance="0.022" />
<item name="DONFOOD_SodaCan_GladioMiniOrangeMango" chance="0.022" />
<item name="DONFOOD_SodaCan_GladioMiniPearApple" chance="0.022" />
<item name="DONFOOD_SodaCan_IvanovBlackCurrant" chance="0.022" />
<item name="DONFOOD_SodaCan_IvanovCranberry" chance="0.022" />
<item name="DONFOOD_SodaCan_MasterfruitCherry" chance="0.022" />
<item name="DONFOOD_SodaCan_MasterfruitCranberry" chance="0.022" />
<item name="DONFOOD_SodaCan_MasterfruitForestberry" chance="0.022" />
<item name="DONFOOD_SodaCan_MasterfruitOrange" chance="0.022" />
<item name="DONFOOD_SodaCan_MasterfruitPeach" chance="0.022" />
<item name="DONFOOD_SodaCan_MasterfruitPomegranate" chance="0.022" />
<item name="DONFOOD_SodaCan_MasterfruitWatermelon" chance="0.022" />
<item name="DONFOOD_SodaCan_NectarCarrot" chance="0.022" />
<item name="DONFOOD_SodaCan_NectarCherry" chance="0.022" />
<item name="DONFOOD_SodaCan_NectarRaspberryApple" chance="0.022" />
<item name="DONFOOD_SodaCan_PomegranateJuice" chance="0.022" />
<item name="DONFOOD_SodaCan_SpriteSugarFree" chance="0.022" />
<item name="DONFOOD_SodaCan_YesTeaLemon" chance="0.022" />
<item name="DONFOOD_SodaCan_YesTeaWildberry" chance="0.022" />
<item name="DONFOOD_SodaCan_ZhigulyovskoyeLager" chance="0.022" />
<item name="DONFOOD_SodaCan_WostokPineLemonade" chance="0.022" />
<item name="DONFOOD_SodaCan_MelloYello" chance="0.022" />
<item name="DONDRINK_SlimSodaCan_Springwater" chance="0.022" />
<item name="DONDRINK_SlimSodaCan_CoconutWater" chance="0.022" />
<item name="DONDRINK_SlimSodaCan_ForestBerryTea" chance="0.022" />
<item name="DONDRINK_SlimSodaCan_MelloYello" chance="0.022" />
<item name="DONDRINK_SlimSodaCan_Monoko" chance="0.022" />
<item name="DONDRINK_SlimSodaCan_KVASS" chance="0.022" />
<item name="DONDRINK_SlimSodaCan_NOTACOLA" chance="0.022" />
<item name="DONDRINK_SlimSodaCan_PIPSI" chance="0.022" />
<item name="DONDRINK_SlimSodaCan_SPITE" chance="0.022" />
</cargo>
<!-- More Food END -->
<cargo chance="0.25" name="toolsgeneral" >
<item name="KitchenKnife" chance="0.10" />
<item name="HuntingKnife" chance="0.10" />
<item name="SteakKnife" chance="0.05" />
<item name="CanOpener" chance="0.05" />
<item name="Matchbox" chance="0.10" />
<item name="Battery9V" chance="0.05" />
<item name="Flashlight" chance="0.05" >
<attachments chance="0.25" >
<item name="Battery9V" chance="0.33" />
<item name="Battery9V_1" chance="0.27" /> <!-- element of workshop "CJ187 More Items" -->
<item name="Battery9V_2" chance="0.20" /> <!-- element of workshop "CJ187 More Items" -->
<item name="Battery9V_3" chance="0.13" /> <!-- element of workshop "CJ187 More Items" -->
<item name="Battery9V_4" chance="0.07" /> <!-- element of workshop "CJ187 More Items" -->
</attachments>
</item>
<item name="Rope" chance="0.05" />
<item name="Rag" chance="0.10" />
<item name="BandageDressing" chance="0.05" />
<item name="DuctTape" chance="0.10" />
<item name="SewingKit" chance="0.10" />
<item name="LeatherSewingKit" chance="0.05" />
<item name="GPSReceiver" chance="0.05" >
<attachments chance="0.25" >
<item name="Battery9V" chance="0.33" />
<item name="Battery9V_1" chance="0.27" /> <!-- element of workshop "CJ187 More Items" -->
<item name="Battery9V_2" chance="0.20" /> <!-- element of workshop "CJ187 More Items" -->
<item name="Battery9V_3" chance="0.13" /> <!-- element of workshop "CJ187 More Items" -->
<item name="Battery9V_4" chance="0.07" /> <!-- element of workshop "CJ187 More Items" -->
</attachments>
</item>
</cargo>
<cargo chance="0.25" name="toolshunting" >
<item name="HuntingKnife" chance="0.133" />
<item name="Matchbox" chance="0.133" />
<item name="Battery9V" chance="0.067" />
<item name="Headtorch_Black" chance="0.133" >
<attachments chance="0.25" >
<item name="Battery9V" chance="0.33" />
<item name="Battery9V_1" chance="0.27" /> <!-- element of workshop "CJ187 More Items" -->
<item name="Battery9V_2" chance="0.20" /> <!-- element of workshop "CJ187 More Items" -->
<item name="Battery9V_3" chance="0.13" /> <!-- element of workshop "CJ187 More Items" -->
<item name="Battery9V_4" chance="0.07" /> <!-- element of workshop "CJ187 More Items" -->
</attachments>
</item>
<item name="Headtorch_Grey" chance="0.133" >
<attachments chance="0.25" >
<item name="Battery9V" chance="0.33" />
<item name="Battery9V_1" chance="0.27" /> <!-- element of workshop "CJ187 More Items" -->
<item name="Battery9V_2" chance="0.20" /> <!-- element of workshop "CJ187 More Items" -->
<item name="Battery9V_3" chance="0.13" /> <!-- element of workshop "CJ187 More Items" -->
<item name="Battery9V_4" chance="0.07" /> <!-- element of workshop "CJ187 More Items" -->
</attachments>
</item>
<item name="Flashlight" chance="0.067" >
<attachments chance="0.25" >
<item name="Battery9V" chance="0.33" />
<item name="Battery9V_1" chance="0.27" /> <!-- element of workshop "CJ187 More Items" -->
<item name="Battery9V_2" chance="0.20" /> <!-- element of workshop "CJ187 More Items" -->
<item name="Battery9V_3" chance="0.13" /> <!-- element of workshop "CJ187 More Items" -->
<item name="Battery9V_4" chance="0.07" /> <!-- element of workshop "CJ187 More Items" -->
</attachments>
</item>
<item name="Rope" chance="0.067" />
<item name="BandageDressing" chance="0.067" />
<item name="SewingKit" chance="0.067" />
<item name="LeatherSewingKit" chance="0.067" />
<item name="GPSReceiver" chance="0.067" >
<attachments chance="0.25" >
<item name="Battery9V" chance="0.33" />
<item name="Battery9V_1" chance="0.27" /> <!-- element of workshop "CJ187 More Items" -->
<item name="Battery9V_2" chance="0.20" /> <!-- element of workshop "CJ187 More Items" -->
<item name="Battery9V_3" chance="0.13" /> <!-- element of workshop "CJ187 More Items" -->
<item name="Battery9V_4" chance="0.07" /> <!-- element of workshop "CJ187 More Items" -->
</attachments>
</item>
</cargo>
<cargo chance="0.25" name="toolsmilitary" >
<item name="CombatKnife" chance="0.15" />
<item name="Battery9V" chance="0.15" />
<item name="UniversalLight" chance="0.10" >
<attachments chance="0.25" >
<item name="Battery9V" chance="0.33" />
<item name="Battery9V_1" chance="0.27" /> <!-- element of workshop "CJ187 More Items" -->
<item name="Battery9V_2" chance="0.20" /> <!-- element of workshop "CJ187 More Items" -->
<item name="Battery9V_3" chance="0.13" /> <!-- element of workshop "CJ187 More Items" -->
<item name="Battery9V_4" chance="0.07" /> <!-- element of workshop "CJ187 More Items" -->
</attachments>
</item>
<item name="TLRLight" chance="0.10" >
<attachments chance="0.25" >
<item name="Battery9V" chance="0.33" />
<item name="Battery9V_1" chance="0.27" /> <!-- element of workshop "CJ187 More Items" -->
<item name="Battery9V_2" chance="0.20" /> <!-- element of workshop "CJ187 More Items" -->
<item name="Battery9V_3" chance="0.13" /> <!-- element of workshop "CJ187 More Items" -->
<item name="Battery9V_4" chance="0.07" /> <!-- element of workshop "CJ187 More Items" -->
</attachments>
</item>
<item name="Roadflare" chance="0.20" />
<item name="BandageDressing" chance="0.15" />
<item name="Epinephrine" chance="0.15" />
<item name="GPSReceiver" chance="0.10" >
<attachments chance="0.25" >
<item name="Battery9V" chance="0.33" />
<item name="Battery9V_1" chance="0.27" /> <!-- element of workshop "CJ187 More Items" -->
<item name="Battery9V_2" chance="0.20" /> <!-- element of workshop "CJ187 More Items" -->
<item name="Battery9V_3" chance="0.13" /> <!-- element of workshop "CJ187 More Items" -->
<item name="Battery9V_4" chance="0.07" /> <!-- element of workshop "CJ187 More Items" -->
</attachments>
</item>
</cargo>
<cargo chance="0.25" name="toolsmedic" >
<item name="Heatpack" chance="0.125" />
<item name="SewingKit" chance="0.0833" />
<item name="BandageDressing" chance="0.125" />
<item name="BloodTestKit" chance="0.125" />
<item name="BloodBagEmpty" chance="0.0833" />
<item name="SalineBag" chance="0.0833" />
<item name="StartKitIV" chance="0.0417" />
<item name="Morphine" chance="0.0417" />
<item name="PainkillerTablets" chance="0.125" />
<item name="Epinephrine" chance="0.083" />
<item name="TetracyclineAntibiotics" chance="0.083" />
</cargo>
<cargo chance="0.25" name="toolspolice" >
<item name="BandageDressing" chance="0.10" />
<item name="Battery9V" chance="0.10" />
<item name="PersonalRadio" chance="0.10" />
<item name="Flashlight" chance="0.20" >
<attachments chance="0.25" >
<item name="Battery9V" chance="0.33" />
<item name="Battery9V_1" chance="0.27" /> <!-- element of workshop "CJ187 More Items" -->
<item name="Battery9V_2" chance="0.20" /> <!-- element of workshop "CJ187 More Items" -->
<item name="Battery9V_3" chance="0.13" /> <!-- element of workshop "CJ187 More Items" -->
<item name="Battery9V_4" chance="0.07" /> <!-- element of workshop "CJ187 More Items" -->
</attachments>
</item>
<item name="CombatKnife" chance="0.10" />
<item name="Roadflare" chance="0.20" />
<item name="Handcuffs" chance="0.10" />
<item name="HandcuffKeys" chance="0.10" />
</cargo>
<cargo chance="0.25" name="ammocivil" >
<item name="Ammo_22" chance="0.10" />
<item name="Ammo_380" chance="0.10" />
<item name="AmmoBox_380_35rnd" chance="0.10" />
<item name="Ammo_9x19" chance="0.10" />
<item name="AmmoBox_9x19_25rnd" chance="0.10" />
<item name="Ammo_12gaPellets" chance="0.10" />
<item name="AmmoBox_00buck_10rnd" chance="0.10" />
<item name="Ammo_12gaSlug" chance="0.10" />
<item name="AmmoBox_12gaSlug_10Rnd" chance="0.05" />
<item name="Ammo_BO_3006" chance="0.05" />
</cargo>
<cargo chance="0.25" name="ammopolice" >
<item name="Ammo_380" chance="0.10" />
<item name="AmmoBox_380_35rnd" chance="0.10" />
<item name="Ammo_9x19" chance="0.20" />
<item name="AmmoBox_9x19_25rnd" chance="0.1ß" />
<item name="Ammo_45ACP" chance="0.20" />
<item name="AmmoBox_45acp_25rnd" chance="0.10" />
<item name="Ammo_357" chance="0.10" />
<item name="Ammo_AE50AE" chance="0.10" />
</cargo>
<cargo chance="0.25" name="ammohunting" >
<item name="Ammo_762x39" chance="0.30" />
<item name="AmmoBox_762x39_20Rnd" chance="0.10" />
<item name="Ammo_762x54" chance="0.30" />
<item name="AmmoBox_762x54_20Rnd" chance="0.15" />
<item name="Ammo_308Win" chance="0.15" />
<!-- 308 add_ed by Garageman -->
</cargo>
<cargo chance="0.25" name="ammomilitary" >
<item name="Ammo_556x45" chance="0.10" />
<item name="AmmoBox_556x45_20Rnd" chance="0.05" />
<item name="Ammo_762x39" chance="0.05" />
<item name="AmmoBox_762x39_20Rnd" chance="0.05" />
<item name="Ammo_762x54" chance="0.05" />
<item name="AmmoBox_762x54_20Rnd" chance="0.05" />
<item name="Ammo_9x39" chance="0.05" />
<item name="AmmoBox_9x39_20Rnd" chance="0.05" />
<item name="Ammo_9x39AP" chance="0.10" />
<item name="AmmoBox_9x39AP_20Rnd" chance="0.05" />
<item name="Ammo_308Win" chance="0.10" />
<item name="Ammo_308WinTracer" chance="0.05" />
<item name="Ammo_Ammo_AE300" chance="0.05" />
<item name="Ammo_AE338" chance="0.05" />
<item name="Ammo_AE57x28" chance="0.05" />
<item name="Ammo_BO_65C " chance="0.05" />
<item name="Ammo_BO_86B " chance="0.05" />
</cargo>
<cargo chance="0.25" name="magscivil" >
<item name="Mag_IJ70_8Rnd" chance="1.00" />
</cargo>
<cargo chance="0.25" name="magspolice" >
<item name="Mag_CZ75_15Rnd" chance="0.20" />
<item name="Mag_MP5_15Rnd" chance="0.20" />
<item name="Mag_MP5_30Rnd" chance="0.20" />
<item name="Mag_CZ61_20Rnd" chance="0.20" />
<item name="Mag_UMP_25Rnd" chance="0.20" />
</cargo>
<cargo chance="0.25" name="magshunting" >
<item name="Mag_CZ527_5rnd" chance="1.00" />
</cargo>
<cargo chance="0.25" name="magsmilitary" >
<item name="Mag_FNX45_15Rnd" chance="0.31" />
<item name="Mag_CMAG_10Rnd" chance="0.25" />
<item name="Mag_CMAG_20Rnd" chance="0.19" />
<item name="Mag_AKM_30Rnd" chance="0.13" />
<item name="Mag_AKM_Palm30Rnd" chance="0.13" />
<item name="Mag_CMAG_30Rnd" chance="0.13" />
<item name="Mag_STANAG_30Rnd" chance="0.13" />
<item name="Mag_CMAG_40Rnd" chance="0.06" />
<item name="Mag_SVD_10Rnd" chance="0.6" />
<item name="Mag_STANAG_60Rnd" chance="0.06" />
<item name="Mag_AKM_Drum75Rnd" chance="0.06" />
</cargo>
<!-- gift boxes -->
<cargo chance="0.50" name="Gifts_AmmoBoxes" >
<item name="AmmoBox_380_35rnd" chance="0.133" />
<item name="AmmoBox_9x19_25rnd" chance="0.20" />
<item name="AmmoBox_00buck_10rnd" chance="0.20" />
<item name="AmmoBox_12gaSlug_10Rnd" chance="0.133" />
<item name="AmmoBox_45acp_25rnd" chance="0.1338" />
<item name="AmmoBox_762x54_20Rnd" chance="0.067" />
<item name="AmmoBox_556x45_20Rnd" chance="0.067" />
<item name="AmmoBox_762x39_20Rnd" chance="0.067" />
</cargo>
<cargo chance="0.50" name="Gifts_Explosives" >
<item name="M67Grenade" chance="0.45" />
<item name="RGD5Grenade" chance="0.45" />
<item name="LandMineTrap" chance="0.10" />
</cargo>
<cargo chance="0.50" name="Gifts_Food" >
<item name="Zagorky" chance="0.14" />
<item name="ZagorkyChocolate" chance="0.14" />
<item name="ZagorkyPeanuts" chance="0.14" />
<item name="dzn_SodaCan_Fronta" chance="0.16" />
<item name="dzn_PeachesCan" chance="0.14" />
<item name="dzn_Marmalade" chance="0.14" />
<item name="dzn_Honey" chance="0.14" />
</cargo>
<cargo chance="0.50" name="Gifts_RepairKits" >
<item name="DuctTape" chance="0.25" />
<item name="SewingKit" chance="0.25" />
<item name="EpoxyPutty" chance="0.25" />
<item name="Whetstone" chance="0.25" />
</cargo>
<cargo chance="0.50" name="Gifts_SmallMags" >
<item name="Mag_Ruger1022_15Rnd" chance="0.11" />
<item name="Mag_FNX45_15Rnd" chance="0.11" />
<item name="Mag_Glock_15Rnd" chance="0.11" />
<item name="Mag_MKII_10Rnd" chance="0.11" />
<item name="Mag_1911_7Rnd" chance="0.11" />
<item name="Mag_CZ75_15Rnd" chance="0.11" />
<item name="Mag_IJ70_8Rnd" chance="0.11" />
<item name="Mag_SVD_10Rnd" chance="0.11" />
<item name="Mag_Deagle_9rnd" chance="0.12" />
</cargo>
<cargo chance="0.50" name="Gifts_Optics" >
<item name="PUScopeOptic" chance="0.16" />
<item name="PSO1Optic" chance="0.14" />
<item name="ACOGOptic" chance="0.14" />
<item name="HuntingOptic" chance="0.14" />
<item name="ACOGOptic_6x" chance="0.14" />
<item name="StarlightOptic" chance="0.14" >
<attachments chance="0.25" >
<item name="Battery9V" chance="0.33" />
<item name="Battery9V_1" chance="0.27" /> <!-- element of workshop "CJ187 More Items" -->
<item name="Battery9V_2" chance="0.20" /> <!-- element of workshop "CJ187 More Items" -->
<item name="Battery9V_3" chance="0.13" /> <!-- element of workshop "CJ187 More Items" -->
<item name="Battery9V_4" chance="0.07" /> <!-- element of workshop "CJ187 More Items" -->
</attachments>
</item>
<item name="KazuarOptic" chance="0.14" />
</cargo>
<cargo chance="0.50" name="Gifts_MedMags" >
<item name="Mag_Ruger1022_30Rnd" chance="0.25" />
<item name="Mag_MP5_30Rnd" chance="0.25" />
<item name="Mag_UMP_25Rnd" chance="0.25" />
<item name="Mag_CZ61_20Rnd" chance="0.25" />
</cargo>
<cargo chance="0.50" name="Gifts_BigMags" >
<item name="Mag_Saiga_Drum20Rnd" chance="0.25" />
<item name="Mag_STANAG_60Rnd" chance="0.25" />
<item name="Mag_AKM_Drum75Rnd" chance="0.25" />
<item name="Mag_CMAG_40Rnd" chance="0.25" />
</cargo>
<cargo chance="0.10" name="Gifts_SmallModules" >
<item name="dzn_module_card" chance="1.00" />
</cargo>
<cargo chance="0.10" name="Gifts_BigModules" >
<item name="dzn_module_lantia" chance="0.34" />
<item name="dzn_module_surge" chance="0.33" />
<item name="dzn_module_ext" chance="0.33" />
</cargo>
<cargo chance="0.50" name="Gifts_SmallClothes" >
<item name="TacticalGloves_Beige" chance="0.20" />
<item name="TacticalGloves_Black" chance="0.20" />
<item name="TacticalGloves_Green" chance="0.20" />
<item name="OMNOGloves_Gray" chance="0.20" />
<item name="OMNOGloves_Brown" chance="0.20" />
</cargo>
<cargo chance="0.50" name="Gifts_MediumClothes" >
<item name="BalaclavaMask_White" chance="0.20" />
<item name="BalaclavaMask_Black" chance="0.20" />
<item name="Balaclava3Holes_Black" chance="0.20" />
<item name="RadarCap_Black" chance="0.20" />
<item name="BeanieHat_Black" chance="0.20" />
</cargo>
<!-- =========== -->
<!-- ATTACHMENTS -->
<!-- =========== -->
<!-- Military boots, knife attachment, add_ed by garageman 2022.12.19 -->
<!-- Backbag attachments, add_ed by garageman 2022.12.19 -->
<!-- useage: <attachments preset="add_a_chemlight" /> -->
<attachments chance="1.00" name="dummy" > <!-- dummy to avoid issues with the first attachments in the row -->
<item name="dzn_meme_banana" chance="1.00" />
</attachments>
<attachments chance="0.10" name="attach_a_canteen" >
<item name="dzn_Canteen" chance="0.50" />
<item name="MSFC_Canteen_MulticamSnow" chance="0.50" />
</attachments>
<!-- taclights -->
<attachments chance="0.25" name="add_a_taclight" > <!-- all 'add_' under ATTACHMENTS should be renamed with 'attach_' to make the usage clear -->
<item name="UniversalLight" chance="1.00" >
<attachments chance="0.25" >
<item name="Battery9V" chance="0.33" />
<item name="Battery9V_1" chance="0.27" />
<item name="Battery9V_2" chance="0.20" />
<item name="Battery9V_3" chance="0.13" />
<item name="Battery9V_4" chance="0.07" />
</attachments>
</item>
</attachments>
<!-- - -->
<!-- NVG -->
<item name="CJ_NVG_TIG7" >
<attachments chance="0.25" >
<item name="Battery9V" chance="0.33" />
<item name="Battery9V_1" chance="0.27" />
<item name="Battery9V_2" chance="0.20" />
<item name="Battery9V_3" chance="0.13" />
<item name="Battery9V_4" chance="0.07" />
</attachments>
</item>
<item name="CJ_NVG_ANPVS7" >
<attachments chance="0.25" >
<item name="Battery9V" chance="0.33" />
<item name="Battery9V_1" chance="0.27" />
<item name="Battery9V_2" chance="0.20" />
<item name="Battery9V_3" chance="0.13" />
<item name="Battery9V_4" chance="0.07" />
</attachments>
</item>
<item name="CJ_NVG_ANPVS14" >
<attachments chance="0.25" >
<item name="Battery9V" chance="0.33" />
<item name="Battery9V_1" chance="0.27" />
<item name="Battery9V_2" chance="0.20" />
<item name="Battery9V_3" chance="0.13" />
<item name="Battery9V_4" chance="0.07" />
</attachments>
</item>
<item name="CJ_NVG_BCNVG21" >
<attachments chance="0.25" >
<item name="CJ_MilBattery_Black" chance="0.33" />
<item name="CJ_MilBattery_Green" chance="0.33" />
<item name="CJ_MilBattery_Tan" chance="0.33" />
</attachments>
</item>
<item name="CJ_NVG_ANPVS23" >
<attachments chance="0.25" >
<item name="CJ_MilBattery_Black" chance="0.33" />
<item name="CJ_MilBattery_Green" chance="0.33" />
<item name="CJ_MilBattery_Tan" chance="0.33" />
</attachments>
</item>
<item name="CJ_NVG_GPNVG18_Black" >
<attachments chance="0.25" >
<item name="CJ_MilBattery_Black" chance="0.33" />
<item name="CJ_MilBattery_Green" chance="0.33" />
<item name="CJ_MilBattery_Tan" chance="0.33" />
</attachments>
</item>
<item name="CJ_NVG_GPNVG18_Green" >
<attachments chance="0.25" >
<item name="CJ_MilBattery_Black" chance="0.33" />
<item name="CJ_MilBattery_Green" chance="0.33" />
<item name="CJ_MilBattery_Tan" chance="0.33" />
</attachments>
</item>
<item name="CJ_NVG_GPNVG18_Tan" >
<attachments chance="0.25" >
<item name="CJ_MilBattery_Black" chance="0.33" />
<item name="CJ_MilBattery_Green" chance="0.33" />
<item name="CJ_MilBattery_Tan" chance="0.33" />
</attachments>
</item>
<item name="CJ_NVG_GPNVG18_White" >
<attachments chance="0.25" >
<item name="CJ_MilBattery_Black" chance="0.33" />
<item name="CJ_MilBattery_Green" chance="0.33" />
<item name="CJ_MilBattery_Tan" chance="0.33" />
</attachments>
</item>
</attachments>
<!-- -->
<attachments chance="0.25" name="add_a_chemlight" >
<item name="Chemlight_White" chance="0.20" />
<item name="Chemlight_Blue" chance="0.20" />
<item name="Chemlight_Green" chance="0.20" />
<item name="Chemlight_Yellow" chance="0.20" />
<item name="Chemlight_Red" chance="0.20" />
</attachments>
<attachments chance="0.25" name="add_a_knife" >
<item name="CombatKnife" chance="0.071" />
<item name="HuntingKnife" chance="0.143" />
<item name="KitchenKnife" chance="0.214" />
<item name="FangeKnife" chance="0.143" />
<item name="SteakKnife" chance="0.214" />
<item name="MSFC_HuntsmanKnife" chance="0.143" />
<item name="MSFC_CombatKnife" chance="0.071" />
</attachments>
<attachments chance="0.25" name="add_gloves" >
<item name="WorkingGloves_Beige" chance="0.05" />
<item name="WorkingGloves_Black" chance="0.05" />
<item name="WorkingGloves_Brown" chance="0.05" />
<item name="WorkingGloves_Yellow" chance="0.05" />
<item name="TacticalGloves_Beige" chance="0.05" />
<item name="TacticalGloves_Black" chance="0.05" />
<item name="TacticalGloves_Green" chance="0.05" />
<item name="OMNOGloves_Gray" chance="0.05" />
<item name="OMNOGloves_Brown" chance="0.05" />
<item name="Loftd_militarygloves" chance="0.05" />
<item name="Loftd_militarysetgloves" chance="0.05" />
<item name="Loftd_leathergloves" chance="0.05" />
<item name="Loftd_CHRSAT_gloves" chance="0.05" />
<item name="MSFC_Gloves_MulticamSnow" chance="0.05" />
<item name="MSFC_NBC_Gloves_MulticamSnow" chance="0.05" />
<item name="Fingerless_Gloves" chance="0.05" />
<item name="Fingerless_Gloves_Brown" chance="0.05" />
<item name="Fingerless_Gloves_Wool" chance="0.05" />
<item name="Fingerless_Gloves_Wool_Grey" chance="0.05" />
<item name="Fingerless_Gloves_Wool_Black" chance="0.05" />
</attachments>
<attachments chance="0.25" name="add_a_personalradio" >
<item name="PersonalRadio" chance="1.00" >
<attachments chance="0.25" >
<item name="Battery9V" chance="0.33" />
<item name="Battery9V_1" chance="0.27" /> <!-- element of workshop "CJ187 More Items" -->
<item name="Battery9V_2" chance="0.20" /> <!-- element of workshop "CJ187 More Items" -->
<item name="Battery9V_3" chance="0.13" /> <!-- element of workshop "CJ187 More Items" -->
<item name="Battery9V_4" chance="0.07" /> <!-- element of workshop "CJ187 More Items" -->
</attachments>
</item>
</attachments>
<attachments chance="0.33" name="add_a_filter" >
<item name="GasMask_Filter" chance="1.00" />
</attachments>
<attachments chance="0.25" name="add_a_hook" >
<item name="Hook" chance="1.00" />
</attachments>
<attachments chance="0.25" name="add_a_battery" >
<item name="Battery9V" chance="0.33" />
<item name="Battery9V_1" chance="0.27" /> <!-- element of workshop "CJ187 More Items" -->
<item name="Battery9V_2" chance="0.20" /> <!-- element of workshop "CJ187 More Items" -->
<item name="Battery9V_3" chance="0.13" /> <!-- element of workshop "CJ187 More Items" -->
<item name="Battery9V_4" chance="0.07" /> <!-- element of workshop "CJ187 More Items" -->
</attachments>
<attachments chance="0.25" name="add_a_military_battery" >
<item name="CJ_MilBattery_Black" chance="0.33" />
<item name="CJ_MilBattery_Green" chance="0.33" />
<item name="CJ_MilBattery_Tan" chance="0.33" />
</attachments>
<attachments chance="0.25" name="add_a_holster" >
<item name="MSFC_PlateCarrier_Holster_MulticamSnow" chance="0.067" />
<item name="dzb_platecarrierholster_nac" chance="0.133" />
<item name="BNGP_SnowCamo_Multicam_Holster" chance="0.067" />
<item name="BNGP_SnowCamo_Digital_Holster" chance="0.067" />
<item name="Loftd_holster" chance="0.133" />
<item name="PlateCarrierHolster" chance="0.133" />
<item name="PlateCarrierHolster_Black" chance="0.133" />
<item name="PlateCarrierHolster_Green" chance="0.133" />
<item name="PlateCarrierHolster_Camo" chance="0.133" />
</attachments>
<attachments chance="0.25" name="add_a_knifeholster" >
<item name="Loftd_knifeholster" chance="0.33" />
<item name="Loftd_knifeholster_black" chance="0.33" />
<item name="Loftd_knifeholster_black" chance="0.33" />
</attachments>
<attachments chance="0.25" name="add_a_tacticalaxe" >
<item name="Loftd_tacticalaxe" chance="0.50" />
<item name="Loftd_tacticalaxe_black" chance="0.50" />
</attachments>
<attachments chance="0.25" name="add_a_scabbard" >
<item name="Loftd_swordscabbard" chance="0.25" />
<item name="Loftd_dragonkatanascabbard" chance="0.25" />
<item name="Loftd_michonnekatanascabbard" chance="0.25" />
<item name="Loftd_sakurascabbard" chance="0.25" />
</attachments>
<attachments chance="0.25" name="add_a_sword" >
<item name="Loftd_sword" chance="0.25" />
<item name="Loftd_dragonkatana" chance="0.25" />
<item name="Loftd_michonnekatana" chance="0.25" />
<item name="Loftd_sakura" chance="0.25" />
</attachments>
<attachments chance="0.25" name="add_a_tacticalaxecase" >
<item name="Loftd_tacticalaxecase_camo" chance="0.33" />
<item name="Loftd_tacticalaxecase_dubok" chance="0.33" />
<item name="Loftd_tacticalaxecase_winter" chance="0.33" />
</attachments>
<attachments chance="0.25" name="add_a_sheath" >
<item name="NylonKnifeSheath" chance="0.22" />
<item name="LeatherKnifeSheath" chance="0.33" />
<item name="Loftd_NylonKnifeSheath_Black" chance="0.11" />
<item name="Loftd_NylonKnifeSheath_green" chance="0.11" />
<item name="Loftd_NylonKnifeSheath_camo" chance="0.11" />
<item name="Loftd_NylonKnifeSheath_White" chance="0.11" />
</attachments>
<attachments chance="0.25" name="add_a_pistol" >
<item name="dzn_meme_banana" chance="0.0508" />
<item name="p1" chance="0.0339" />
<item name="BO_MagnumSuperSport" chance="0.0169" />
<item name="BO_Beretta" chance="0.0169" />
<item name="BO_Beretta_Desert" chance="0.0169" />
<item name="Deagle" chance="0.0339" />
<item name="Deagle_Gold" chance="0.0169" />
<item name="BO_DesertEagle" chance="0.0339" />
<item name="BO_DesertEagle_BlackSky" chance="0.0339" />
<item name="BO_DesertEagle_Gold" chance="0.0169" />
<item name="BO_MK23" chance="0.0339" />
<item name="KMII" chance="0.0508" />
<item name="Red9" chance="0.0339" />
<item name="LongHorn" chance="0.0339" />
<item name="CZ75" chance="0.0508" />
<item name="FNX45" chance="0.0508" />
<item name="Colt1911" chance="0.0508" />
<item name="Engraved1911" chance="0.0339" />
<item name="MSFC_1911_Golden" chance="0.0169" />
<item name="BO_FiveSeven" chance="0.0169" />
<item name="Glock19" chance="0.0339" />
<item name="MSFC_Glock19_Black" chance="0.0339" />
<item name="MSFC_Glock19_Green" chance="0.0339" />
<item name="MSFC_Glock19_Desert" chance="0.0339" />
<item name="MSFC_Glock19_White" chance="0.0508" />
<item name="BO_Glock18C" chance="0.0339" />
<item name="BO_Glock26" chance="0.0339" />
<item name="MakarovIJ70" chance="0.0508" />
<item name="BO_Makarov" chance="0.0508" />
</attachments>
<!-- Blackout's EDO Blackout START -->
<attachments chance="0.60" name="BO_optics" >
<item name="BO_ACOGOptic_Crosshair_Red" chance="0.09" />
<item name="BO_ACOGOptic_300blk_Blue" chance="0.09" />
<item name="BO_ACOGOptic_300blk_Red" chance="0.09" />
<item name="BO_ACOGOptic_Chevron_Green" chance="0.09" />
<item name="BO_ACOGOptic_ACSS_Red" chance="0.09" />
<item name="BO_HAMROptic" chance="0.09" />
<item name="BO_LeupoldHoloDEVO" chance="0.09" />
<item name="BO_Bravo4" chance="0.09" />
<item name="BO_SpecterDROptic" chance="0.09" />
<item name="BO_EotechHHS" chance="0.09" />
<item name="BO_Spitfire" chance="0.09" />
</attachments>
<attachments chance="0.60" name="BO_reddot" >
<item name="BO_VortexAMG_UH1_Optic" chance="0.10" />
<item name="BO_AimpointT1" chance="0.10" />
<item name="BO_AimpointCS" chance="0.10" />
<item name="BO_DeltaPoint" chance="0.10" />
<item name="BO_Holosun_HS510C_Optic" chance="0.10" />
<item name="BO_Holosun_HS507C" chance="0.10" />
<item name="BO_LeopoldCarbineOptics" chance="0.10" />
<item name="BO_Eotech552" chance="0.10" />
<item name="BO_RMR_Black" chance="0.10" />
<item name="BO_RMR_FDE" chance="0.10" />
</attachments>
<attachments chance="0.60" name="BO_scopes" >
<item name="BO_AccuPowerOptic" chance="0.07" />
<item name="BO_HMOptic" chance="0.07" />
<item name="BO_LeopoldMk4" chance="0.07" />
<item name="BO_TheFix_Optic" chance="0.07" />
<item name="BO_DragonScope" chance="0.07" />
<item name="BO_Tango6" chance="0.07" />
<item name="BO_NFATACR_1_8" chance="0.07" />
<item name="BO_SchmidtBender20" chance="0.07" />
<item name="BO_SchmidtBender25" chance="0.07" />
<item name="BO_Sight_4_6" chance="0.07" />
<item name="BO_Vudu" chance="0.07" />
<item name="BO_VortexRazor_Black" chance="0.07" />
<item name="BO_VortexRazor_Brown" chance="0.07" />
</attachments>
<attachments chance="0.60" name="BO_pistol_suppressor" > <!-- was: "pistol" -->
<item name="Pistol_Suppressor" chance="0.33" />
<item name="BO_OspreySuppressor" chance="0.33" />
<item name="BO_MK23_Suppressor" chance="0.33" />
</attachments>
<attachments chance="0.60" name="BO_pistol_optic" >
<!-- created by Garageman -->
<item name="FNP45_MRDSOptic" chance="0.33" > <!-- PistolOptic is usable on Deagle, I guess -->
<attachments chance="0.25" >
<item name="Battery9V" chance="0.33" />
<item name="Battery9V_1" chance="0.27" /> <!-- element of workshop "CJ187 More Items" -->
<item name="Battery9V_2" chance="0.20" /> <!-- element of workshop "CJ187 More Items" -->
<item name="Battery9V_3" chance="0.13" /> <!-- element of workshop "CJ187 More Items" -->
<item name="Battery9V_4" chance="0.07" /> <!-- element of workshop "CJ187 More Items" -->
</attachments>
</item>
<item name="TLRLight" chance="0.50" >
<attachments chance="0.25" >
<item name="Battery9V" chance="0.33" />
<item name="Battery9V_1" chance="0.27" /> <!-- element of workshop "CJ187 More Items" -->
<item name="Battery9V_2" chance="0.20" /> <!-- element of workshop "CJ187 More Items" -->
<item name="Battery9V_3" chance="0.13" /> <!-- element of workshop "CJ187 More Items" -->
<item name="Battery9V_4" chance="0.07" /> <!-- element of workshop "CJ187 More Items" -->
</attachments>
</item>
</attachments>
<attachments chance="0.15" name="BO_pistol_optic_deagle" >
<!-- created by Garageman -->
<item name="PistolOptic" chance="1.00" />
</attachments>
<attachments chance="0.60" name="BO_bttsttck" >
<item name="BO_SOPMODBttstck" chance="0.20" />
<item name="BO_SOPMODBttstck_FDE" chance="0.20" />
<item name="BO_MK18Bttstck" chance="0.20" />
<item name="BO_MK18Bttstck_FDE" chance="0.20" />
<item name="BO_CAR15_Bttstk" chance="0.20" />
</attachments>
<attachments chance="0.60" name="BO_ak" >
<item name="AK_Suppressor" chance="0.50" />
<item name="BO_TacticalSuppressor" chance="0.50" />
</attachments>
<attachments chance="0.60" name="BO_m4" >
<item name="M4_Suppressor" chance="0.20" />
<item name="BO_LegionSuppressor_Tan" chance="0.20" />
<item name="BO_LegionSuppressor_Black" chance="0.20" />
<item name="BO_MCXTacops_Suppressor_MODX" chance="0.20" />
<item name="BO_MCXTacops_Suppressor_QD" chance="0.20" />
</attachments>
<attachments chance="0.60" name="BO_308" >
<!-- former BO_fal, changed by Garageman -->
<item name="BO_CorduraSuppressor" chance="0.33" />
<item name="BO_CorduraSuppressor_Black" chance="0.33" />
<item name="BO_MCXSpear_Suppressor" chance="0.33" />
</attachments>
<attachments chance="0.20" name="BO_338" >
<item name="BO_HarvesterSuppressor" chance="1.00" />
</attachments>
<attachments chance="0.20" name="BO_408" >
<item name="BO_M200_Suppressor" chance="1.00" />
</attachments>
<attachments chance="0.20" name="BO_50bmg" >
<item name="BO_BarrettM82Suppressor" chance="1.00" />
</attachments>
<attachments chance="0.60" name="BO_300" >
<item name="BO_300WinMag_Suppressor_Black" chance="0.50" />
<item name="BO_300WinMag_Suppressor_FDE" chance="0.50" />
</attachments>
<attachments chance="1.00" name="BO_bttsttckMCX">
<item name="BO_MCXSpear_Bttstck_Tan" chance="0.33" />
<item name="BO_SOPMODBttstck_FDE" chance="0.33" />
<item name="BO_MK18Bttstck" chance="0.33" />
</attachments>
<!-- Blackout's EDO Blackout END -->
<!-- Zomby Headtorches add_ed by Garageman -->
<attachments chance="0.20" name="Zmb_headtorch" >
<item name="Headtorch_Black" chance="0.50" />
<item name="Headtorch_Grey" chance="0.50" />
</attachments>
...
</randompresets>
I added the following required typpes from Chernarus to Namalsk hardcore types.xml:
<!-- vvvvvv added vanilla building items, Garageman vvvvvv -->
<type name="Spotlight">
<nominal>3</nominal>
<lifetime>604800</lifetime> <!-- persistance = 7 days -->
<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="tools"/>
<value user="Tier123" />
<tag name="industrial" />
<tag name="farm" />
</type>
<type name="PowerGenerator">
<nominal>2</nominal>
<lifetime>604800</lifetime> <!-- persistance = 7 days -->
<restock>0</restock>
<min>50</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="tools"/>
<value user="Tier123" />
<tag name="industrial" />
<tag name="farm" />
</type>
<type name="CableReel">
<nominal>5</nominal>
<lifetime>604800</lifetime> <!-- persistance = 7 days -->
<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="tools"/>
<value user="Tier123" />
<tag name="industrial" />
<tag name="farm" />
</type>
<type name="SparkPlug">
<nominal>2</nominal>
<lifetime>3600</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="tools"/>
<value user="Tier123" />
<tag name="industrial" />
<tag name="farm" />
</type>
<type name="CanisterGasoline">
<nominal>5</nominal>
<lifetime>3600</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="tools"/>
<value user="Tier123" />
<tag name="industrial" />
<tag name="farm" />
</type>
<type name="Nail">
<nominal>0</nominal>
<min>0</min>
<lifetime>3600</lifetime>
<restock>0</restock>
<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>
<type name="NailBox">
<nominal>25</nominal>
<min>0</min>
<lifetime>3600</lifetime>
<restock>0</restock>
<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="tools"/>
<tag name="industrial" />
<tag name="farm" />
</type>
<type name="NailedBaseballBat">
<nominal>0</nominal>
<min>0</min>
<lifetime>3600</lifetime>
<restock>0</restock>
<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>
<type name="Hammer">
<nominal>5</nominal>
<min>0</min>
<lifetime>3600</lifetime>
<restock>0</restock>
<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="tools"/>
<tag name="industrial" />
<tag name="farm" />
</type>
<type name="BarbedBaseballBat">
<nominal>2</nominal>
<min>0</min>
<lifetime>3600</lifetime>
<restock>0</restock>
<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>
<type name="BarbedWire">
<nominal>5</nominal>
<min>0</min>
<lifetime>3600</lifetime>
<restock>0</restock>
<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="tools"/>
<tag name="industrial" />
<tag name="farm" />
</type>
<type name="Pliers">
<nominal>2</nominal>
<min>0</min>
<lifetime>3600</lifetime>
<restock>0</restock>
<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="tools"/>
<tag name="industrial" />
<tag name="farm" />
</type>
<type name="TerritoryFlag">
<lifetime>3888000</lifetime> <!-- persistance = 45 days -->
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="1" deloot="0"/>
</type>
<type name="TerritoryFlagKit">
<lifetime>3600</lifetime>
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="1" deloot="0"/>
</type>
<type name="Watchtower">
<lifetime>3888000</lifetime> <!-- persistance = 45 days -->
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="1" deloot="0"/>
</type>
<type name="WatchtowerKit">
<lifetime>3600</lifetime>
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="1" deloot="0"/>
</type>
<type name="Fence">
<lifetime>3888000</lifetime> <!-- persistance = 45 days -->
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="1" deloot="0"/>
</type>
<type name="FenceKit">
<lifetime>3600</lifetime>
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="1" deloot="0"/>
</type>
<type name="CombinationLock">
<nominal>5</nominal>
<lifetime>3600</lifetime>
<restock>600</restock>
<min>3</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="tools"/>
<tag name="industrial" />
<tag name="farm" />
</type>
<type name="CombinationLock4">
<nominal>4</nominal>
<lifetime>3600</lifetime>
<restock>600</restock>
<min>2</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="tools"/>
<tag name="industrial" />
<tag name="farm" />
</type>
<!-- ^^^^^^ added vanilla building items, Garageman ^^^^^^ -->
<!-- GENERAL VEHICLE PARTS -->
<type name="CanisterGasoline">
<nominal>25</nominal>
<min>22</min>
<lifetime>5400</lifetime>
<restock>0</restock>
<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="tools" />
<tag name="civilian" />
<tag name="industrial" />
</type>
<type name="SparkPlug">
<nominal>60</nominal>
<lifetime>14400</lifetime>
<restock>0</restock>
<min>40</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="tools"/>
<tag name="shelves"/>
<usage name="Industrial"/>
</type>
<type name="CarBattery">
<nominal>60</nominal>
<lifetime>28800</lifetime>
<restock>360</restock>
<min>40</min>
<quantmin>20</quantmin>
<quantmax>100</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="tools"/>
<usage name="Industrial"/>
</type>
<type name="CarRadiator">
<nominal>60</nominal>
<lifetime>28800</lifetime>
<restock>0</restock>
<min>40</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="tools"/>
<tag name="floor"/>
<usage name="Industrial"/>
</type>
<type name="HeadlightH7">
<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>
<type name="HeadlightH7_Box">
<nominal>60</nominal>
<lifetime>14400</lifetime>
<restock>0</restock>
<min>40</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="tools"/>
<tag name="shelves"/>
<usage name="Industrial"/>
</type>
Source: https://cdn.discordapp.com/attachments/785222119889698837/1154190852839714836/namalsk.png
The main trader is located on Tara island. The vehicle trader, rare item trader, and the heli trader are located at other locations.
I removed the (one) Zombie spawn point from zombie_territories.xml
. Read more about that in chapter
You will find all files (dze, and the configuration files for the traders) here.
The dze.-files have to be copy/pasted into the folder EditorFiles
, so that the DayZEditorLoader will load these files.
You have to remove a few lines from the mapgrouppos.xml
, so that no loot will spawn at the trader locations ;-)
There are no medical facilities on Namalsk, except the one hospital on Tara isle. So, I set up some medical tents and showers in the city of Vorkuta, and in both military camps.
In order for these a) to appear/spawn in, and b) for loot to spawn in, various configurations must be made.
The following file has been created using the DayZ Editor
by exporting the data to Object Spawner (*.json):
{
"Objects": [
{
"name": "Land_Medical_Tent_Big",
"pos": [7315.06982421875,45.470001220703128,10558.0],
"ypr": [-88.49999237060547,0.3999998867511749,0.3999998867511749]},
{
"name": "Land_Medical_Tent_Big",
"pos": [7347.7998046875,45.220001220703128,10547.400390625],
"ypr": [0.0,-0.09999997168779373,0.20000000298023225]},
{
"name": "Land_Medical_Tent_Shower",
"pos": [5184.8798828125,75.41999816894531,8956.759765625],
"ypr": [-149.4010009765625,0.5999997854232788,-1.5]},
{
"name": "Land_Medical_Tent_Shower",
"pos": [5169.10986328125,75.5999984741211,8927.6103515625],
"ypr": [-8.999716758728028,0.7999997735023499,0.2999998927116394]},
{
"name": "Land_Medical_Tent_Big",
"pos": [4970.5,48.21969985961914,8085.5],
"ypr": [-135.67599487304688,0.0,0.0]},
{
"name": "Land_Medical_Tent_Big",
"pos": [5001.2099609375,48.29999923706055,8085.18994140625],
"ypr": [0.0,0.0,0.0]},
{
"name": "Land_Medical_Tent_Big",
"pos": [6793.47998046875,15.024999618530274,11279.2998046875],
"ypr": [26.999794006347658,-0.0756400004029274,0.09135999530553818]},
{
"name": "Land_Medical_Tent_Big",
"pos": [6789.31005859375,15.0,11270.900390625],
"ypr": [26.99989128112793,0.13323193788528443,0.2102310061454773]},
{
"name": "Land_Medical_Tent_Big",
"pos": [6770.259765625,15.079999923706055,11291.099609375],
"ypr": [-152.99993896484376,0.0,0.0]},
{
"name": "Land_Medical_Tent_Shower",
"pos": [6763.81982421875,16.649999618530275,11283.7001953125],
"ypr": [26.99989128112793,-0.13174398243427277,0.2330099493265152]},
{
"name": "Static_Misc_Barbedwire",
"pos": [6764.759765625,15.861100196838379,11295.400390625],
"ypr": [116.99899291992188,0.0,0.0]},
{
"name": "Static_Misc_Barbedwire",
"pos": [6762.22021484375,15.899999618530274,11290.5],
"ypr": [117.0,0.0,0.0]},
{
"name": "Static_Misc_Barbedwire",
"pos": [6757.1201171875,15.961099624633789,11281.400390625],
"ypr": [117.0,0.0,0.0]},
{
"name": "Static_Misc_Barbedwire",
"pos": [6758.419921875,15.961099624633789,11276.0],
"ypr": [45.0,0.0,0.0]},
{
"name": "Static_Misc_Barbedwire",
"pos": [6778.240234375,16.061067581176759,11294.7734375],
"ypr": [134.99990844726563,0.0,-0.0]},
{
"name": "Static_Misc_Barbedwire",
"pos": [6782.740234375,15.783100128173829,11266.2998046875],
"ypr": [-35.999996185302737,0.0,0.0]},
{
"name": "Static_Misc_Barbedwire",
"pos": [6793.240234375,15.961099624633789,11287.5],
"ypr": [98.99989318847656,0.0,0.0]},
{
"name": "Static_Misc_ConcreteBlock2",
"pos": [6778.7158203125,15.249144554138184,11271.5439453125],
"ypr": [35.99998474121094,-0.0,-0.0]},
{
"name": "Static_Misc_ConcreteBlock2_Damaged",
"pos": [6776.68603515625,15.214479446411133,11273.47265625],
"ypr": [27.0,-0.0,-0.0]},
{
"name": "Static_Hanged_doctor",
"pos": [6780.56005859375,19.810300827026368,11290.2001953125],
"ypr": [0.0,0.0,0.0]},
{
"name": "Static_chair_broken",
"pos": [6780.53515625,15.100000381469727,11290.7841796875],
"ypr": [0.0,0.0,0.0]}
]
}
The file Medical_Tents.json will be used in the cfggameplay.json file. That allows spawning objects.
Just add the path and filename in the objectSpawnersArr
:
"WorldsData":
{
"lightingConfig": 222,
"objectSpawnersArr": ["custom_spawn/Medical_Tents.json"],
...
To allow items to spawn in at the new locations/inside the new objects, the coordinates have to be added to the mapgrouppos.xml.
This data can be generated with the DayZ Editor
by using the export function "to MapGroupPos (*.xml)".
...
<group name="Land_Medical_Tent_Big" pos="7315.069824 45.470001 10558.000000" rpy="0.400000 0.400000 -88.499992" a="178.5"/>
<group name="Land_Medical_Tent_Big" pos="7347.799805 45.220001 10547.400391" rpy="0.200000 -0.100000 0.000000" a="90"/>
<group name="Land_Medical_Tent_Shower" pos="5184.879883 75.419998 8956.759766" rpy="-1.500000 0.600000 -149.401001" a="-120.599"/>
<group name="Land_Medical_Tent_Shower" pos="5169.109863 75.599998 8927.610352" rpy="0.300000 0.800000 -8.999717" a="98.9997"/>
<group name="Land_Medical_Tent_Big" pos="4970.500000 48.219700 8085.500000" rpy="0.000000 0.000000 -135.675995" a="-134.324"/>
<group name="Land_Medical_Tent_Big" pos="5001.209961 48.299999 8085.189941" rpy="0.000000 0.000000 0.000000" a="90"/>
<group name="Land_Medical_Tent_Big" pos="6793.479980 15.025000 11279.299805" rpy="0.091360 -0.075640 26.999794" a="63.0002"/>
<group name="Land_Medical_Tent_Big" pos="6789.310059 15.000000 11270.900391" rpy="0.210231 0.133232 26.999893" a="63.0001"/>
<group name="Land_Medical_Tent_Big" pos="6770.259766 15.080000 11291.099609" rpy="0.000000 0.000000 -152.999954" a="-117"/>
<group name="Land_Medical_Tent_Shower" pos="6763.819824 16.650000 11283.700195" rpy="0.233010 -0.131744 26.999893" a="63.0001"/>
...
The last action to take is adding the relative spawnpoints for each new object. These are the point for loot to spawn in. If the used objects are currently not part of the map (like Namalsk), you simply have to copy/paste the data from the Chernarus or Livonia file. Remember, that Namalsk uses different category names than Chernarus or Livonia.
<group name="Land_Medical_Tent_Shower" lootmax="4"> <!-- lootmax controls the number of items -->
<usage name="Medic" />
<container name="lootFloor" >
<category name="tools" />
<category name="containers" />
<category name="clothes" />
<category name="weapons" /> <!-- delete that line, if you do not want weapons to spawn in -->
<category name="explosives" /> <!-- delete that line, if you do not want explosives to spawn in -->
<tag name="medic_tent" /> <!-- THAT IS THE REFERENCE TO THE MEDICAL TENT -->
<tag name="shelves" /> <!-- shelves does not exist on Namalsk! -->
<point pos="0.895633 -1.529320 -1.835329" range="0.168750" height="0.421875" />
<point pos="1.277878 -1.514824 -0.455658" range="0.100000" height="0.250000" />
<point pos="0.775118 -1.529320 0.380147" range="0.306250" height="0.765625" />
<point pos="0.337254 -1.529320 -2.234220" range="0.395020" height="0.132553" />
<point pos="0.449405 -1.529320 2.401438" range="0.506836" height="1.267090" />
<point pos="1.533569 -1.503838 2.144874" range="0.100000" height="0.250000" />
</container>
</group>
<group name="Land_Medical_Tent_Big" lootmax="8"> <!-- lootmax controls the number of items -->
<usage name="Medic" />
<container name="lootFloor">
<category name="tools" />
<category name="containers" />
<category name="clothes" />
<tag name="medic_tent" />
<point pos="0.878961 0.008423 2.423510" range="1.052892" height="2.000015" />
<point pos="-2.109011 0.006996 2.902564" range="1.064976" height="2.000008" />
<point pos="2.306444 0.034348 -4.022240" range="0.588774" height="1.887747" />
<point pos="-2.594043 0.007942 -1.565960" range="0.704102" height="1.760254" />
<point pos="1.771812 0.020363 0.493978" range="0.725098" height="1.812744" />
<point pos="1.503654 0.018127 -1.789303" range="1.130121" height="2.000000" />
</container>
<container name="lootshelves" lootmax="6"> <!-- lootmax controls the number of items -->
<category name="tools" />
<category name="containers" />
<category name="clothes" />
<category name="books" />
<tag name="shelves" /> <!-- shelves does not exist on Namalsk! -->
<tag name="medic_tent" />
<point pos="1.910018 0.722397 3.717247" range="0.237500" height="0.593750" />
<point pos="2.943820 1.016510 4.603766" range="0.237500" height="0.593750" />
<point pos="2.450612 1.016510 4.175817" range="0.271875" height="0.679688" />
<point pos="-0.903013 1.016510 1.451418" range="0.203125" height="0.507813" />
<point pos="-2.385782 0.722397 1.227147" range="0.203125" height="0.507813" />
<point pos="0.345196 0.482315 -4.685581" range="0.134375" height="0.264999" />
<point pos="-0.469727 0.860893 -4.790687" range="0.134375" height="0.264999" />
<point pos="-1.374149 0.862373 -4.644001" range="0.134375" height="0.265007" />
<point pos="-1.399362 0.107498 -4.634909" range="0.134375" height="0.260010" />
<point pos="-0.943328 1.240356 -4.663788" range="0.100000" height="0.250000" />
<point pos="-0.874001 1.016510 -2.567032" range="0.203125" height="0.507813" />
<point pos="2.658795 0.862427 -4.660295" range="0.134375" height="0.265007" />
<point pos="2.694934 0.107246 -4.627802" range="0.134375" height="0.260002" />
<point pos="2.347996 1.016510 -2.831473" range="0.271875" height="0.679688" />
<point pos="2.918595 1.016510 -1.072354" range="0.203125" height="0.507813" />
<point pos="2.933502 1.016510 -1.672846" range="0.203125" height="0.507813" />
<point pos="2.480503 0.722397 -0.527704" range="0.203125" height="0.507813" />
<point pos="-2.411317 0.722397 -2.843950" range="0.203125" height="0.507813" />
<point pos="-1.631707 0.722397 -2.817230" range="0.203125" height="0.507813" />
<point pos="-2.040739 1.028168 0.220865" range="0.203125" height="0.507782" />
<point pos="-1.474229 0.722397 1.206495" range="0.100000" height="0.250000" />
</container>
<container name="lootweapons" lootmax="2">
<category name="weapons" /> <!-- delete that line, if you do not want weapons to spawn in -->
<category name="explosives" /> <!-- delete that line, if you do not want explosives to spawn in -->
<category name="tools" />
<category name="containers" />
<category name="clothes" />
<category name="books" />
<tag name="shelves" /> <!-- shelves does not exist on Namalsk! -->
<tag name="medic_tent" />
<point pos="-1.171777 1.016510 1.977780" range="0.237500" height="0.593750" />
<point pos="-0.992395 0.480705 -4.598229" range="0.100000" height="0.250000" />
<point pos="0.726908 0.860680 -4.633949" range="0.100000" height="0.250000" />
<point pos="0.332947 1.242317 -4.713015" range="0.100000" height="0.250000" />
<point pos="-0.143931 0.106758 -4.771693" range="0.134375" height="0.260002" />
<point pos="-0.927929 1.016510 -3.103087" range="0.168750" height="0.421875" />
<point pos="-0.696853 0.007942 -1.023209" range="1.199951" height="2.000000" />
<point pos="3.077715 0.480370 -4.522451" range="0.100000" height="0.250000" />
<point pos="1.968083 1.016510 -3.261031" range="0.237500" height="0.593750" />
<point pos="1.490574 0.722397 -0.639466" range="0.100000" height="0.250000" />
<point pos="0.130665 0.007607 -3.332138" range="0.935200" height="2.000000" />
<point pos="-1.798197 1.030388 0.705568" range="0.134375" height="0.335938" />
</container>
</group>
...
-
Subscribe and load the workshop
@BuilderItems
to your server. The camping site uses some of the elements provided by that workshop. -
Ensure the file cfggameplay.json exists in the mpmission folder.
-
Ensure the variable
enableCfgGameplayFile = 1;
is part of your serverDZ.cfg file. -
One new file, and three file extensions are necessary for the custom site:
4.1. Create the json
-file defining the objects and their locations.
4.2. The cfggameplay.json-file must be extended to load that object-file.
4.3. The relative spawn points for loot to spawn in has to be added to the mapgroupsspos.xml
4.4. If wanted: Zombie spawn point(s) to be added in the file zombies_territories.xml
-
Call that file Camping_Site2.json
-
Store it in the folder
custom_locations
:
{
"Objects": [
{
"name": "StaticObj_Wall_Tin6_2_4",
"pos": [5783.5078125,35.66862106323242,10223.5908203125],
"ypr": [-126.00006103515625,0.0,-0.0],
"scale": 1.0},
{
"name": "StaticObj_Wall_Tin6_1_4",
"pos": [5785.8994140625,35.42119216918945,10220.435546875],
"ypr": [-126.00006103515625,0.0,-0.0],
"scale": 1.0},
{
"name": "bldr_wall_fen1_5",
"pos": [5788.546875,35.189632415771487,10216.794921875],
"ypr": [54.379703521728519,0.0,0.0],
"scale": 0.9999999403953552},
{
"name": "bldr_wall_fen1_5",
"pos": [5787.96533203125,35.15116500854492,10213.375],
"ypr": [144.80628967285157,0.0,0.0],
"scale": 1.0},
{
"name": "bldr_wall_fen1_5",
"pos": [5783.99951171875,35.182682037353519,10210.5693359375],
"ypr": [144.80628967285157,0.0,0.0],
"scale": 1.0},
{
"name": "bldr_wall_fen1_5",
"pos": [5779.9609375,36.106197357177737,10207.640625],
"ypr": [-36.395233154296878,0.0,0.0],
"scale": 0.9999964237213135},
{
"name": "bldr_wall_fen1_5",
"pos": [5775.97021484375,36.099998474121097,10204.7001953125],
"ypr": [-35.53189468383789,0.0,0.0],
"scale": 1.0},
{
"name": "bldr_wall_fen1_5",
"pos": [5771.85986328125,36.189998626708987,10201.7001953125],
"ypr": [-34.077293395996097,0.0,0.0],
"scale": 1.0},
{
"name": "bldr_wall_fen1_5",
"pos": [5768.08984375,36.33829879760742,10202.099609375],
"ypr": [46.841400146484378,0.0,0.0],
"scale": 1.0},
{
"name": "bldr_wall_vilvar2_4_2",
"pos": [5778.65087890625,35.17509841918945,10230.029296875],
"ypr": [-126.02698516845703,0.0,0.0],
"scale": 1.0},
{
"name": "bldr_Wall_Tin6_2_4",
"pos": [5776.35009765625,35.5673942565918,10233.3154296875],
"ypr": [-125.51763153076172,-0.0,-0.0],
"scale": 0.9999984502792358},
{
"name": "bldr_wall_tin_4_2",
"pos": [5762.3291015625,35.1409797668457,10231.1865234375],
"ypr": [130.01930236816407,0.0,0.0],
"scale": 0.9999988675117493},
{
"name": "bldr_wall_tin_4_2",
"pos": [5764.8544921875,35.15266799926758,10234.1923828125],
"ypr": [130.01930236816407,0.0,0.0],
"scale": 0.9999988079071045},
{
"name": "bldr_wall_tin_4_2",
"pos": [5767.4091796875,35.143741607666019,10237.25],
"ypr": [130.01930236816407,0.0,0.0],
"scale": 0.9999988079071045},
{
"name": "bldr_wall_tin_4_2",
"pos": [5759.72412109375,35.14467239379883,10228.15625],
"ypr": [130.01930236816407,0.0,0.0],
"scale": 0.9999988079071045},
{
"name": "StaticObj_Wall_Tin6_1_4",
"pos": [5773.92431640625,35.48499298095703,10236.5654296875],
"ypr": [-126.40503692626953,0.0,-0.0],
"scale": 0.9999967217445374},
{
"name": "bldr_wall_vilvar2_4_2",
"pos": [5770.6962890625,35.1253662109375,10238.44921875],
"ypr": [-172.9547576904297,0.0,0.0],
"scale": 0.9999988079071045},
{
"name": "bldr_Wall_Tin6_2_4",
"pos": [5757.0400390625,35.61360168457031,10225.2001953125],
"ypr": [136.5229949951172,0.0,0.0],
"scale": 1.0},
{
"name": "bldr_wall_fen1_5",
"pos": [5764.87158203125,36.3234748840332,10205.8955078125],
"ypr": [53.27960205078125,0.0,0.0],
"scale": 0.9999947547912598},
{
"name": "bldr_wall_fen1_5",
"pos": [5757.2998046875,35.040000915527347,10216.099609375],
"ypr": [49.045501708984378,0.0,0.0],
"scale": 0.9999999403953552},
{
"name": "bldr_wall_tin_4_2",
"pos": [5754.1923828125,35.16634750366211,10219.333984375],
"ypr": [44.178680419921878,0.0,0.0],
"scale": 0.9999969005584717},
{
"name": "bldr_wall_tin_4_2",
"pos": [5754.07763671875,35.18032455444336,10222.3564453125],
"ypr": [130.01930236816407,0.0,0.0],
"scale": 0.9999988079071045},
{
"name": "StaticObj_Wall_Fen4_Pole",
"pos": [5755.66015625,34.849998474121097,10218.0],
"ypr": [0.0,0.0,0.0],
"scale": 1.0},
{
"name": "bldr_prop_Barrel_Yellow",
"pos": [5758.5498046875,36.02000045776367,10214.0],
"ypr": [0.0,-6.999999046325684,-1.5],
"scale": 1.0},
{
"name": "bldr_prop_BarrelHoles_Red",
"pos": [5762.31982421875,36.637001037597659,10208.099609375],
"ypr": [0.0,0.0,0.0],
"scale": 1.0},
{
"name": "Land_Misc_Well_Pump_Blue",
"pos": [5771.5,35.702945709228519,10217.7998046875],
"ypr": [0.0,0.0,0.0],
"scale": 1.0},
{
"name": "bldr_prop_Barrel_Yellow",
"pos": [5763.2099609375,36.7515983581543,10208.099609375],
"ypr": [135.0,0.0,0.0],
"scale": 1.0},
{
"name": "bldr_prop_BarrelHoles_Yellow",
"pos": [5762.7490234375,35.318115234375,10208.7900390625],
"ypr": [53.999996185302737,0.0,0.0],
"scale": 0.9999999403953552},
{
"name": "BarrelHoles_Blue",
"pos": [5759.2001953125,36.099998474121097,10213.599609375],
"ypr": [0.0,-5.699999809265137,0.09999996423721314],
"scale": 1.0},
{
"name": "bldr_Misc_WoodenCrate_5x",
"pos": [5769.890625,37.42432403564453,10201.5400390625],
"ypr": [53.99998474121094,-0.0,-0.0],
"scale": 1.0},
{
"name": "bldr_Misc_WoodenCrate_3x",
"pos": [5768.84423828125,37.30574035644531,10203.134765625],
"ypr": [-20.556045532226564,-0.0,-0.0],
"scale": 1.0},
{
"name": "StaticObj_Garbage_Pile5",
"pos": [5777.62939453125,35.114227294921878,10239.1416015625],
"ypr": [-7.641700744628906,-0.0,-0.0],
"scale": 0.9999990463256836},
{
"name": "Land_Wreck_Uaz_DE",
"pos": [5770.47216796875,35.6115608215332,10237.189453125],
"ypr": [-82.05207824707031,0.0,0.0],
"scale": 0.9999979734420776},
{
"name": "bldr_misc_drainage",
"pos": [5774.564453125,35.88395690917969,10212.0283203125],
"ypr": [0.0,-0.0,-0.0],
"scale": 0.9999992847442627},
{
"name": "bldr_misc_pallets3",
"pos": [5762.05126953125,37.607723236083987,10206.404296875],
"ypr": [53.999969482421878,-0.0,-0.0],
"scale": 0.9999992251396179},
{
"name": "bldr_misc_tirepile",
"pos": [5766.90185546875,40.958595275878909,10204.60546875],
"ypr": [8.999993324279786,-0.0,-0.0],
"scale": 0.9999992847442627},
{
"name": "land_ala_warehouse_small",
"pos": [5770.25390625,36.934600830078128,10229.31640625],
"ypr": [-36.999332427978519,0.0,0.0],
"scale": 0.9999983310699463},
{
"name": "land_misc_barel_fire_3",
"pos": [5769.47802734375,35.2464599609375,10227.6494140625],
"ypr": [0.0,-0.0,-0.0],
"scale": 0.9999992847442627},
{
"name": "Land_Slum_House3",
"pos": [5769.14013671875,37.963924407958987,10208.900390625],
"ypr": [53.9998893737793,0.0,0.0],
"scale": 1.0},
{
"name": "land_camp_house_winter",
"pos": [5779.89990234375,37.234222412109378,10217.0],
"ypr": [139.220947265625,0.0,0.0],
"scale": 0.9999998807907105},
{
"name": "Land_Wall_FenForest_Gate",
"pos": [5780.30615234375,35.66441345214844,10227.84765625],
"ypr": [53.999969482421878,-0.0,-0.0],
"scale": 0.9999996423721314},
{
"name": "StaticObj_Wall_FenForest_5_D",
"pos": [5781.83740234375,35.620609283447269,10224.9541015625],
"ypr": [-125.99992370605469,0.0,-0.0],
"scale": 0.9999995827674866},
{
"name": "land_camp_house_winter",
"pos": [5764.16015625,37.900001525878909,10220.099609375],
"ypr": [-48.20259475708008,0.0,0.0],
"scale": 0.9999814033508301
}
]
}
Add the location and filename of the object file (json
) to the cfggameplay.xml:
"objectSpawnersArr": ["custom_locations/Camping_Site2.json"],
Add the following snipet to your mapgrouppos.xml-file:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<map>
<group name="StaticObj_Wall_Tin6_2_4" pos="5783.507813 35.668621 10223.590820" rpy="-0.000000 0.000000 -126.000061" a="-144"/>
<group name="StaticObj_Wall_Tin6_1_4" pos="5785.899414 35.421192 10220.435547" rpy="-0.000000 0.000000 -126.000061" a="-144"/>
<group name="bldr_wall_fen1_5" pos="5788.546875 35.189632 10216.794922" rpy="0.000000 0.000000 54.379704" a="35.6203"/>
<group name="bldr_wall_fen1_5" pos="5787.965332 35.151165 10213.375000" rpy="0.000000 0.000000 144.806290" a="-54.8063"/>
<group name="bldr_wall_fen1_5" pos="5783.999512 35.182682 10210.569336" rpy="0.000000 0.000000 144.806290" a="-54.8063"/>
<group name="bldr_wall_fen1_5" pos="5779.960938 36.106197 10207.640625" rpy="0.000000 0.000000 -36.395233" a="126.395"/>
<group name="bldr_wall_fen1_5" pos="5775.970215 36.099998 10204.700195" rpy="0.000000 0.000000 -35.531895" a="125.532"/>
<group name="bldr_wall_fen1_5" pos="5771.859863 36.189999 10201.700195" rpy="0.000000 0.000000 -34.077293" a="124.077"/>
<group name="bldr_wall_fen1_5" pos="5768.089844 36.338299 10202.099609" rpy="0.000000 0.000000 46.841400" a="43.1586"/>
<group name="bldr_wall_vilvar2_4_2" pos="5778.650879 35.175098 10230.029297" rpy="0.000000 0.000000 -126.026985" a="-143.973"/>
<group name="bldr_Wall_Tin6_2_4" pos="5776.350098 35.567394 10233.315430" rpy="-0.000000 -0.000000 -125.517632" a="-144.482"/>
<group name="bldr_wall_tin_4_2" pos="5762.329102 35.140980 10231.186523" rpy="0.000000 0.000000 130.019302" a="-40.0193"/>
<group name="bldr_wall_tin_4_2" pos="5764.854492 35.152668 10234.192383" rpy="0.000000 0.000000 130.019302" a="-40.0193"/>
<group name="bldr_wall_tin_4_2" pos="5767.409180 35.143742 10237.250000" rpy="0.000000 0.000000 130.019302" a="-40.0193"/>
<group name="bldr_wall_tin_4_2" pos="5759.724121 35.144672 10228.156250" rpy="0.000000 0.000000 130.019302" a="-40.0193"/>
<group name="StaticObj_Wall_Tin6_1_4" pos="5773.924316 35.484993 10236.565430" rpy="-0.000000 0.000000 -126.405037" a="-143.595"/>
<group name="bldr_wall_vilvar2_4_2" pos="5770.696289 35.125366 10238.449219" rpy="0.000000 0.000000 -172.954758" a="-97.0452"/>
<group name="bldr_Wall_Tin6_2_4" pos="5757.040039 35.613602 10225.200195" rpy="0.000000 0.000000 136.522995" a="-46.523"/>
<group name="bldr_wall_fen1_5" pos="5764.871582 36.323475 10205.895508" rpy="0.000000 0.000000 53.279602" a="36.7204"/>
<group name="bldr_wall_fen1_5" pos="5757.299805 35.040001 10216.099609" rpy="0.000000 0.000000 49.045502" a="40.9545"/>
<group name="bldr_wall_tin_4_2" pos="5754.192383 35.166348 10219.333984" rpy="0.000000 0.000000 44.178680" a="45.8213"/>
<group name="bldr_wall_tin_4_2" pos="5754.077637 35.180325 10222.356445" rpy="0.000000 0.000000 130.019302" a="-40.0193"/>
<group name="StaticObj_Wall_Fen4_Pole" pos="5755.660156 34.849998 10218.000000" rpy="0.000000 0.000000 0.000000" a="90"/>
<group name="bldr_prop_Barrel_Yellow" pos="5758.549805 36.020000 10214.000000" rpy="-1.500000 -6.999999 0.000000" a="90"/>
<group name="bldr_prop_BarrelHoles_Red" pos="5762.319824 36.637001 10208.099609" rpy="0.000000 0.000000 0.000000" a="90"/>
<group name="Land_Misc_Well_Pump_Blue" pos="5771.500000 35.702946 10217.799805" rpy="0.000000 0.000000 0.000000" a="90"/>
<group name="bldr_prop_Barrel_Yellow" pos="5763.209961 36.751598 10208.099609" rpy="0.000000 0.000000 135.000000" a="-45"/>
<group name="bldr_prop_BarrelHoles_Yellow" pos="5762.749023 35.318115 10208.790039" rpy="0.000000 0.000000 53.999996" a="36"/>
<group name="bldr_Misc_WoodenCrate_5x" pos="5769.890625 37.424324 10201.540039" rpy="-0.000000 -0.000000 53.999985" a="36"/>
<group name="bldr_Misc_WoodenCrate_3x" pos="5768.844238 37.305740 10203.134766" rpy="-0.000000 -0.000000 -20.556046" a="110.556"/>
<group name="StaticObj_Garbage_Pile5" pos="5777.629395 35.114227 10239.141602" rpy="-0.000000 -0.000000 -7.641701" a="97.6417"/>
<group name="Land_Wreck_Uaz_DE" pos="5770.472168 35.611561 10237.189453" rpy="0.000000 0.000000 -82.052078" a="172.052"/>
<group name="bldr_misc_drainage" pos="5774.564453 35.883957 10212.028320" rpy="-0.000000 -0.000000 0.000000" a="90"/>
<group name="bldr_misc_pallets3" pos="5762.051270 37.607723 10206.404297" rpy="-0.000000 -0.000000 53.999969" a="36"/>
<group name="bldr_misc_tirepile" pos="5766.901855 40.958595 10204.605469" rpy="-0.000000 -0.000000 8.999993" a="81"/>
<group name="land_ala_warehouse_small" pos="5770.253906 36.934601 10229.316406" rpy="0.000000 0.000000 -36.999332" a="126.999"/>
<group name="land_misc_barel_fire_3" pos="5769.478027 35.246460 10227.649414" rpy="-0.000000 -0.000000 0.000000" a="90"/>
<group name="Land_Slum_House3" pos="5769.140137 37.963924 10208.900391" rpy="0.000000 0.000000 53.999889" a="36.0001"/>
<group name="land_camp_house_winter" pos="5779.899902 37.234222 10217.000000" rpy="0.000000 0.000000 139.220947" a="-49.2209"/>
<group name="Land_Wall_FenForest_Gate" pos="5780.306152 35.664413 10227.847656" rpy="-0.000000 -0.000000 53.999969" a="36"/>
<group name="StaticObj_Wall_FenForest_5_D" pos="5781.837402 35.620609 10224.954102" rpy="-0.000000 0.000000 -125.999924" a="-144"/>
<group name="land_camp_house_winter" pos="5764.160156 37.900002 10220.099609" rpy="0.000000 0.000000 -48.202595" a="138.203"/>
</map>
Add the following xml
-snipet/line to your zombies_territories.xml file located in the folder mpmissions/hardcore.namalsk/env
:
<zone name="InfectedCivil" smin="4" smax="8" dmin="4" dmax="6" x="5774.14" z="10221.3" r="100"/>
Since there are only a few medical facilities on Namalsk, I think spawning medical elements in the school would be a nice idea. I would prefer it if this were only possible in the school's chemistry room - but, currently, I don't have the knowledge about that. If necessary, this can be implemented using a container; compare the following code snipet:
...
<!-- mapgroupproto.xml Chernarus -->
<group name="Land_City_School" lootmax="40">
<container name="Storage" lootmax="35">
<category name="tools" />
<category name="food" />
<category name="containers" />
<category name="clothes" />
<category name="bags" />
<tag name="civilian" />
...
<group name="Land_Medical_Tent_Big"
...
<group name="Land_Medical_Tent_Shower"
...
The coordinates of the one and only school (city of Vorkuta) on Namalsk are configured in mapgrouppos.xml. The reference name is Land_City_School
.
...
<group name="Land_City_School" pos="6816.391113 20.800653 11227.292969" rpy="-0.033754 -0.065874 117.130318" a="-27.130329" />
...
The file mapgroupproto.xml are defined two containers (Namalsk; on Chernarus three containers are defined):
...
<group name="Land_City_School" lootmax="40">
<container name="Storage" lootmax="35">
<category name="tools" />
<category name="food" />
<category name="containers" />
<category name="clothes" />
<category name="bags" />
<tag name="civilian" />
...
<container name="Weapons" lootmax="5">
<category name="rifles" />
<category name="pistols" />
<category name="weapons" />
<tag name="civilian" />
...
In each container the relative spawn points are defined. So, it should be possible to create an own container only for the chemical room of the school to spawn in items. This container should look like:
<container name="Storage" lootmax="35">
<category name="tools" />
<category name="containers" />
<category name="clothes" />
<category name="bags" />
<tag name="medical" />
<usage name="Medic" />
<container name="lootFloor" lootmax="15">
<category name="tools" />
<category name="clothes" />
<tag name=“medical“ />
...
For medical items the following values are used in the file types.xml:
<usage />
<value />
<category name="tools" />
<tag name="medical" />
I added a few new dry and camping toilets to Namalsk using the DayZEditor, and the DZEditorLoader to get these objects onto the map.
To get loot spawning at the dry toilets (like on Chernarus) I have just copied/pasted the mapgroupproto-entry from Chernarus with small modifications to the tag names:
<group name="Land_Misc_Toilet_Dry" lootmax="1">
<tag name="civilian" />
<tag name="farm" />
<container name="lootshelves" lootmax="1">
<category name="weapons" />
<category name="tools" />
<point pos="0.217285 -0.786583 -0.442139" range="0.287598" height="0.718994" />
<point pos="0.731445 -0.786583 -0.531250" range="0.157715" height="0.394287" />
<point pos="0.176758 -0.786583 0.495117" range="0.168750" height="0.421875" />
<point pos="0.758789 -0.786583 0.352051" range="0.130371" height="0.325928" />
<point pos="-0.323731 -1.401756 0.502685" range="0.243652" height="0.609131" />
<point pos="-0.384277 -1.401756 -0.443848" range="0.285889" height="0.714722" />
</container>
</group>
I found these three dry_toilets on Namalsk, which I added to the mapgroupspos.xml, to:
6441.56 24.63 10994.5
6371.33 24.5324 11000
4486.69 16.5455 11017.9
Add the location of the existing (3?) dry_toilets to the file mapgrouppos.xml:
<group name="Land_Misc_Toilet_Dry" pos="6441.560059 24.629999 10994.500000" rpy="0.000000 0.000000 56.308903" a="33.6911"/>
<group name="Land_Misc_Toilet_Dry" pos="6371.299316 24.495001 11000.005859" rpy="2.000000 1.999998 -59.168594" a="149.169"/>
<group name="Land_Misc_Toilet_Dry" pos="4486.687500 16.570000 11017.843750" rpy="0.000000 0.000000 10.828899" a="79.1711"/>
I have added a few more dry_toilets:
<group name="Land_Misc_Toilet_Dry" pos="4270.675781 5.797167 4761.210938" rpy="-0.033601 -0.202213 -144.000031" a="-126"/>
<group name="Land_Misc_Toilet_Dry" pos="4350.464355 5.793169 4768.320313" rpy="0.090542 0.014341 80.999825" a="9.00018"/>
<group name="Land_Misc_Toilet_Dry" pos="5008.939453 5.391568 6092.577637" rpy="-0.014341 0.090544 -98.999878" a="-171"/>
<group name="Land_Misc_Toilet_Dry" pos="4897.153320 42.570034 6168.226563" rpy="-0.000000 -0.000000 89.999931" a="6.86646e-05"/>
<group name="Land_Misc_Toilet_Dry" pos="4801.529297 42.449635 6291.475586" rpy="0.274712 2.651816 0.000017" a="90"/>
<group name="Land_Misc_Toilet_Dry" pos="5003.792480 48.618057 6558.174805" rpy="-1.189898 -2.595821 2.249229" a="87.7508"/>
<group name="Land_Misc_Toilet_Dry" pos="4936.802734 47.340534 6684.605957" rpy="3.292556 2.828638 179.999893" a="-89.9999"/>
<group name="Land_Misc_Toilet_Dry" pos="4079.389893 375.399994 6664.399902" rpy="0.000000 0.000000 -153.691986" a="-116.308"/>
<group name="Land_Misc_Toilet_Dry" pos="3378.671631 218.065414 6693.336914" rpy="-0.000000 -0.000000 17.999821" a="72.0002"/>
<group name="Land_Misc_Toilet_Dry" pos="4916.369629 46.801666 8198.630859" rpy="0.000000 0.000000 -89.999954" a="180"/>
<group name="Land_Misc_Toilet_Dry" pos="5777.561035 25.346195 9784.894531" rpy="-0.000000 0.000000 -116.999962" a="-153"/>
<group name="Land_Misc_Toilet_Dry" pos="5550.192383 34.918339 10359.809570" rpy="-0.000000 0.000000 170.999863" a="-80.9999"/>
<group name="Land_Misc_Toilet_Dry" pos="6257.119141 18.394838 11786.907227" rpy="-0.000000 0.000000 -171.000122" a="-98.9999"/>
<group name="Land_Misc_Toilet_Dry" pos="7588.641602 36.921822 11316.230469" rpy="-0.000000 0.000000 -125.999992" a="-144"/>
- copy/paste Bonfire-type from Chernarus to Namalsk types.xml
<type name="Bonfire">
<nominal>0</nominal>
<lifetime>3</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"/>
</type>
-
copy/paste StaticBonfire events.xml from Chernarus or Livonia/Enoch to Namalsk
Remark: The secondary must be ZmbM_FirefighterNormal, which is the firefighter Z on Namalsk. That one is called "InfectedFirefighter" on Chernarus and Enoch.
<event name="StaticBonfire">
<nominal>5</nominal> <!-- 5 events -->
<min>0</min>
<max>0</max>
<lifetime>86400</lifetime> <!-- 24hrs -->
<restock>0</restock>
<saferadius>100</saferadius>
<distanceradius>5</distanceradius>
<cleanupradius>2500</cleanupradius>
<secondary>ZmbM_FirefighterNormal</secondary> <!-- On Enoch annd Chernarus: InfectedFirefighter -->
<flags deletable="0" init_random="0" remove_damaged="1"/>
<position>fixed</position>
<limit>child</limit>
<active>1</active> <!-- set to 1 to active the dyn event -->
<children>
<child lootmax="8" lootmin="4" max="5" min="5" type="Bonfire"/> <!-- max & min have to be equal to nominal! -->
</children>
</event>
-
copy/paste local spawn location for Bonfire from/to mapgroupproto.xml
Remark: You have to adapt the configuration to Namalsk requirements, like my choises below:
<group name="Bonfire" lootmax="5">
<container name="Floor" lootmax="5">
<category name="containers" />
<tag name="seasonalevent" />
<point pos="2.876667 0.5 3.211807" range="1.65" height="1.5" flags="32" />
<point pos="2.496737 0.5 -3.174454" range="1.65" height="1.5" flags="32" />
<point pos="-3.760472 0.5 3.067368" range="1.65" height="1.5" flags="32" />
<point pos="-2.757211 0.5 -2.885785" range="1.65" height="1.5" flags="32" />
<point pos="-3.068999 0.5 0.274213" range="1.65" height="1.5" flags="32" />
<point pos="3.068931 0.5 0.468461" range="1.65" height="1.5" flags="32" />
<point pos="0.829929 0.5 3.131861" range="1.65" height="1.5" flags="32" />
<point pos="0.975612 0.5 -3.178558" range="1.65" height="1.5" flags="32" />
</container>
</group>
- create Bonfire locations in cfgeventspawns.xml
<event name="StaticBonfire"> <!-- event will be triggert via the event.xml -->
<zone smin="3" smax="5" dmin="3" dmax="5" r="55" />
<pos x="1214.244385" z="11837.542969" a="-1.0" />
<pos x="2870.648682" z="6359.111328" a="-1.0" />
<pos x="3208.972656" z="5975.039063" a="-1.0" />
<pos x="3455.905273" z="6682.13623" a="-1.0" />
<pos x="3566.197998" z="8886.884766" a="-1.0" />
<pos x="3957.675293" z="7551.757324" a="-1.0" />
<pos x="3959.859131" z="9384.238281" a="-1.0" />
<pos x="4021.057861" z="5789.468262" a="-1.0" />
<pos x="4141.02002" z="7382.759766" a="-1.0" />
<pos x="4208.385742" z="6609.20166" a="-1.0" />
<pos x="4222.47168" z="8966.384766" a="-1.0" />
<pos x="4342.939453" z="4766.740234" a="-1.0" />
<pos x="4835.844238" z="6182.922363" a="-1.0" />
<pos x="5030.77002" z="6087.620117" a="-1.0" />
<pos x="5270.981934" z="7188.873047" a="-1.0" />
<pos x="5569.025879" z="11039.063477" a="-1.0" />
<pos x="5665.252441" z="10364.305664" a="-1.0" />
<pos x="5701.300781" z="5426.05957" a="-1.0" />
<pos x="5723.777832" z="9809.483398" a="-1.0" />
<pos x="5784.551758" z="10767.363281" a="-1.0" />
<pos x="6003.200684" z="6590.395996" a="-1.0" />
<pos x="6155.844727" z="9901.024414" a="-1.0" />
<pos x="6172.786133" z="5736.286133" a="-1.0" />
<pos x="6259.963379" z="10913.365234" a="-1.0" />
<pos x="6292.108887" z="9537.189453" a="-1.0" />
<pos x="6319.359375" z="9344.091797" a="-1.0" />
<pos x="6344.641602" z="10619.891602" a="-1.0" />
<pos x="6395.230469" z="10972.512695" a="-1.0" />
<pos x="6462.338867" z="9276.811523" a="-1.0" />
<pos x="6505.767578" z="10723.350586" a="-1.0" />
<pos x="6605.958984" z="9604.052734" a="-1.0" />
<pos x="6629.711914" z="11163.710938" a="-1.0" />
<pos x="6723.701172" z="11042.864258" a="-1.0" />
<pos x="6764.432617" z="11283.739258" a="-1.0" />
<pos x="6830.745605" z="11272.827148" a="-1.0" />
<pos x="6908.296875" z="7533.358887" a="-1.0" />
<pos x="6926.12793" z="11425.833984" a="-1.0" />
<pos x="7020.910645" z="5838.20459" a="-1.0" />
<pos x="7059.309082" z="6242.832031" a="-1.0" />
<pos x="7137.861816" z="10778.030273" a="-1.0" />
<pos x="7191.839844" z="10339.584961" a="-1.0" />
<pos x="7200.448242" z="10852.646484" a="-1.0" />
<pos x="7251.20459" z="7041.25" a="-1.0" />
<pos x="7347.081543" z="7968.860352" a="-1.0" />
<pos x="7606.805176" z="11249.032227" a="-1.0" />
<pos x="7644.913574" z="8727.550781" a="-1.0" />
<pos x="7656.600098" z="7416.930176" a="-1.0" />
<pos x="7704.791016" z="5805.944336" a="-1.0" />
<pos x="7890.509766" z="7736.169922" a="-1.0" />
<pos x="7923.38623" z="10702.111328" a="-1.0" />
<pos x="8054.018555" z="11215.198242" a="-1.0" />
<pos x="8074.849121" z="10858.814453" a="-1.0" />
<pos x="8317.514648" z="10712.849609" a="-1.0" />
<pos x="8425.958008" z="10327.09375" a="-1.0" />
<pos x="8574.466797" z="10599.115234" a="-1.0" />
<pos x="9049.914063" z="10159.124023" a="-1.0" />
</event>