DayZ
fatal_nite Dec 18, 2024 @ 8:00am
Trying to start the Christmas event on my private server
Trying to switch on the event, I went into event.xml and changed the 0 to a 1 on both crash sites and the christmas trees. I loaded it up and i do not see any trees, and not sure if there are crashes or not. I do not really know what i am doing, so i might be missing something.
< >
Showing 1-5 of 5 comments
etwas Dec 18, 2024 @ 10:00am 
this is how the entries in the events.xml should look like (for chernarus):

santa crash site:

<event name="StaticSantaCrash">
<nominal>3</nominal>
<min>0</min>
<max>0</max>
<lifetime>2100</lifetime>
<restock>0</restock>
<saferadius>1000</saferadius>
<distanceradius>1000</distanceradius>
<cleanupradius>1000</cleanupradius>
<secondary>InfectedSanta</secondary>
<flags deletable="1" init_random="0" remove_damaged="0"/>
<position>fixed</position>
<limit>child</limit>
<active>1</active>
<children>
<child lootmax="15" lootmin="10" max="3" min="1" type="Wreck_SantasSleigh"/>
</children>
</event>

xmas trees:

<event name="StaticChristmasTree">
<nominal>13</nominal>
<min>0</min>
<max>0</max>
<lifetime>43200</lifetime>
<restock>0</restock>
<saferadius>1000</saferadius>
<distanceradius>1000</distanceradius>
<cleanupradius>1000</cleanupradius>
<flags deletable="0" init_random="0" remove_damaged="1"/>
<position>uniform</position>
<limit>child</limit>
<active>1</active>
<children>
<child lootmax="15" lootmin="10" max="13" min="13" type="ChristmasTree"/>
</children>
</event>

bad santa:

<event name="InfectedSanta">
<nominal>50</nominal>
<min>25</min>
<max>250</max>
<lifetime>3</lifetime>
<restock>0</restock>
<saferadius>100</saferadius>
<distanceradius>50</distanceradius>
<cleanupradius>100</cleanupradius>
<flags deletable="0" init_random="0" remove_damaged="1"/>
<position>player</position>
<limit>custom</limit>
<active>1</active>
<children>
<child lootmax="5" lootmin="0" max="0" min="100" type="ZmbM_Santa"/>
</children>
</event>

if this isnt helping, just try the vanilla files - provided here (for chernarus, livonia, sakhal):
https://github.com/BohemiaInteractive/DayZ-Central-Economy/tree/master
fatal_nite Dec 20, 2024 @ 10:53am 
Originally posted by etwas:
this is how the entries in the events.xml should look like (for chernarus):

santa crash site:

<event name="StaticSantaCrash">
<nominal>3</nominal>
<min>0</min>
<max>0</max>
<lifetime>2100</lifetime>
<restock>0</restock>
<saferadius>1000</saferadius>
<distanceradius>1000</distanceradius>
<cleanupradius>1000</cleanupradius>
<secondary>InfectedSanta</secondary>
<flags deletable="1" init_random="0" remove_damaged="0"/>
<position>fixed</position>
<limit>child</limit>
<active>1</active>
<children>
<child lootmax="15" lootmin="10" max="3" min="1" type="Wreck_SantasSleigh"/>
</children>
</event>

xmas trees:

<event name="StaticChristmasTree">
<nominal>13</nominal>
<min>0</min>
<max>0</max>
<lifetime>43200</lifetime>
<restock>0</restock>
<saferadius>1000</saferadius>
<distanceradius>1000</distanceradius>
<cleanupradius>1000</cleanupradius>
<flags deletable="0" init_random="0" remove_damaged="1"/>
<position>uniform</position>
<limit>child</limit>
<active>1</active>
<children>
<child lootmax="15" lootmin="10" max="13" min="13" type="ChristmasTree"/>
</children>
</event>

bad santa:

<event name="InfectedSanta">
<nominal>50</nominal>
<min>25</min>
<max>250</max>
<lifetime>3</lifetime>
<restock>0</restock>
<saferadius>100</saferadius>
<distanceradius>50</distanceradius>
<cleanupradius>100</cleanupradius>
<flags deletable="0" init_random="0" remove_damaged="1"/>
<position>player</position>
<limit>custom</limit>
<active>1</active>
<children>
<child lootmax="5" lootmin="0" max="0" min="100" type="ZmbM_Santa"/>
</children>
</event>

if this isnt helping, just try the vanilla files - provided here (for chernarus, livonia, sakhal):
https://github.com/BohemiaInteractive/DayZ-Central-Economy/tree/master

That help me a lot. Thank you. Do you know why, glass and plastic bottles spawn instead of presents, and the crashed santa just gives regular helicopter loot as well.
Last edited by fatal_nite; Dec 20, 2024 @ 10:54am
etwas Dec 20, 2024 @ 2:43pm 
glad i could help :)

for the glassbottles and such..... they have no usage name set in the vanilla files, so they can spawn at places they shouldnt (christmastrees or the crashsites).

just add some usage names for those items, like here (the numbers are for my personal server, dont forget to change em to your liking):

<type name="WaterBottle">
<nominal>42</nominal>
<lifetime>86400</lifetime>
<restock>900</restock>
<min>21</min>
<quantmin>20</quantmin>
<quantmax>70</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="food" />
<usage name="Town" />
<usage name="Lunapark" />
<usage name="Office" />
<usage name="Hunting" />
<usage name="Industrial" />
<usage name="School" />
</type>

u can add/change as many usage names as u want. u see a full list of used names in the cfglimitsdefinition.xml file.
just do the same with the glassbottles.
Last edited by etwas; Dec 20, 2024 @ 2:43pm
fatal_nite Dec 21, 2024 @ 7:54am 
Originally posted by etwas:
glad i could help :)

for the glassbottles and such..... they have no usage name set in the vanilla files, so they can spawn at places they shouldnt (christmastrees or the crashsites).

just add some usage names for those items, like here (the numbers are for my personal server, dont forget to change em to your liking):

<type name="WaterBottle">
<nominal>42</nominal>
<lifetime>86400</lifetime>
<restock>900</restock>
<min>21</min>
<quantmin>20</quantmin>
<quantmax>70</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="food" />
<usage name="Town" />
<usage name="Lunapark" />
<usage name="Office" />
<usage name="Hunting" />
<usage name="Industrial" />
<usage name="School" />
</type>

u can add/change as many usage names as u want. u see a full list of used names in the cfglimitsdefinition.xml file.
just do the same with the glassbottles.

I read that about 10 times, i think i get it now. You are giving me an example which is waterbottle and I need to add a glassbottle one? So they are spawning glassbottles and waterbottles, and i need to add what you call a usage name? Do i need to add presents, the trees are spawning plastic/glass bottles and the crash sites, just regular heli crash loot (no presents). I might have just confused myself, :sad_seagull:
etwas Dec 21, 2024 @ 11:52am 
this is how the bottle entries look in the vanilla types.xml:

<type name="GlassBottle">
<nominal>80</nominal>
<lifetime>14400</lifetime>
<restock>0</restock>
<min>70</min>
<quantmin>0</quantmin>
<quantmax>0</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>

<type name="WaterBottle">
<nominal>100</nominal>
<lifetime>14400</lifetime>
<restock>0</restock>
<min>85</min>
<quantmin>20</quantmin>
<quantmax>70</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>

as u see, no "usage name" was added for those - so they will spawn on any location of the map.

this are the possible spawn locations (usage names):

<usage name="Military"/>
<usage name="Police"/>
<usage name="Medic"/>
<usage name="Firefighter"/>
<usage name="Industrial"/>
<usage name="Farm"/>
<usage name="Coast"/>
<usage name="Town"/>
<usage name="Village"/>
<usage name="Hunting"/>
<usage name="Office"/>
<usage name="School"/>
<usage name="Prison"/>
<usage name="Lunapark"/>
<usage name="SeasonalEvent"/>
<usage name="ContaminatedArea"/>
<usage name="Historical"/>

just choose some lines of those where u want to spawn the bottles, as i did in the example for the waterbottle and do the same with the glassbottle in your types.xml. just dont use "seasonalevent", cos thats the christmas thing :)

i hope this helps. feel free to ask on, maybe someone else can make it more clear.
< >
Showing 1-5 of 5 comments
Per page: 1530 50