DayZ
SLC Swords
 This topic has been pinned, so it's probably important
festihead 11 Dec, 2023 @ 9:27am
Standalone Validated Files For Custom Types Users
I've created and shared the types, spawnabletypes and cfgeconomycore files to save people some time who like me use a custom types folder, thanks for a great mod <3 :)

**I have added <value name="Tier1"/>** to the types file 'cos my own servers zeds are evil and I hope players will be able to pick up a sword soon after spawning in as they'll need one! Remove it to have default values!




slc_swords_types.xml (copy & paste, save as...)

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<types>
// Start types.xml

// Tachi : "SLC_Tachi"
// Katana : "SLC_Katana"
// Ninjato : "SLC_Ninjato"
// Wakazashi : SLC_Wakazashi
// Ninjato Sheath : SLCNinjatoSheath
// Katana Sheath : SLCKatanaSheath
// Tachi Sheath : SLCTachiSheath


// Tachi
<type name="SLC_Tachi">
<nominal>5</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"/>
<usage name="Town"/>
<usage name="Village"/>
<value name="Tier1"/>
</type>
// SLCTachiSheath
<type name="SLCTachiSheath">
<nominal>5</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"/>
<usage name="Town"/>
<usage name="Village"/>
<value name="Tier1"/>
</type>
// Katana
<type name="SLC_Katana">
<nominal>10</nominal>
<lifetime>14400</lifetime>
<restock>0</restock>
<min>5</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"/>
<usage name="Town"/>
<usage name="Village"/>
<usage name="Police"/>
<usage name="Military"/>
<value name="Tier1"/>
<value name="Tier2"/>
<value name="Tier3"/>
<value name="Tier4"/>
</type>
// SLCKatanaSheath
<type name="SLCKatanaSheath">
<nominal>10</nominal>
<lifetime>14400</lifetime>
<restock>0</restock>
<min>5</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"/>
<usage name="Town"/>
<usage name="Village"/>
<usage name="Police"/>
<usage name="Military"/>
<value name="Tier1"/>
<value name="Tier2"/>
<value name="Tier3"/>
<value name="Tier4"/>
</type>
// Ninjato
<type name="SLC_Ninjato">
<nominal>10</nominal>
<lifetime>14400</lifetime>
<restock>0</restock>
<min>10</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"/>
<usage name="Police"/>
<usage name="Military"/>
<value name="Tier1"/>
<value name="Tier2"/>
<value name="Tier3"/>
<value name="Tier4"/>
</type>
// SLCNinjatoSheath
<type name="SLCNinjatoSheath">
<nominal>10</nominal>
<lifetime>14400</lifetime>
<restock>0</restock>
<min>10</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"/>
<usage name="Police"/>
<usage name="Military"/>
<value name="Tier1"/>
<value name="Tier2"/>
<value name="Tier3"/>
<value name="Tier4"/>
</type>
// Wakazashi
<type name="SLC_Wakazashi">
<nominal>10</nominal>
<lifetime>14400</lifetime>
<restock>0</restock>
<min>10</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"/>
<usage name="Police"/>
<usage name="Military"/>
<value name="Tier1"/>
<value name="Tier2"/>
<value name="Tier3"/>
<value name="Tier4"/>
</type>
// SLCWakazashiSheath
<type name="SLCWakazashiSheath">
<nominal>10</nominal>
<lifetime>14400</lifetime>
<restock>0</restock>
<min>10</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"/>
<usage name="Police"/>
<usage name="Military"/>
<value name="Tier1"/>
<value name="Tier2"/>
<value name="Tier3"/>
<value name="Tier4"/>
</type>
</types>




slc_swords_spawnabletypes.xml (copy & paste)

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<spawnabletypes>
<type name="SLCNinjatoSheath">
<attachments chance="0.20">
<item name="SLC_Ninjato" chance="1.0" />
</attachments>
</type>
<type name="SLCKatanaSheath">
<attachments chance="0.40">
<item name="SLC_Katana" chance="1.0" />
</attachments>
</type>
<type name="SLCWakazashiSheath">
<attachments chance="0.40">
<item name="SLC_Wakazashi" chance="1.0" />
</attachments>
</type>
<type name="SLCTachiSheath">
<attachments chance="0.30">
<item name="SLC_Tachi" chance="1.0" />
</attachments>
</type>
</spawnabletypes>




cfgeconomycore.xml (add to your existing <ce> list in the custom folder, add <ce></ce> below the defaults part if you don't have it yet and paste the following between)

<file name="slc_swords_types.xml" />
<file name="slc_swords_spawnabletypes.xml" />
Last edited by festihead; 14 Dec, 2023 @ 4:52pm
< >
Showing 1-2 of 2 comments
Sleeper  [developer] 28 Dec, 2023 @ 6:19pm 
Thanks for This
Thank you!!
< >
Showing 1-2 of 2 comments
Per page: 1530 50