Advertisement
OneShot1984

Files needed for Dayz 1.23 supply crates

Nov 12th, 2023
1,733
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 6.45 KB | None | 0 0
  1.  Add this part into your events.xml file
  2.  
  3.  
  4.  <event name="StaticAirplaneCrate">
  5.         <nominal>9</nominal>
  6.         <min>0</min>
  7.         <max>0</max>
  8.         <lifetime>1800</lifetime>
  9.         <restock>0</restock>
  10.         <saferadius>1000</saferadius>
  11.         <distanceradius>1</distanceradius>
  12.         <cleanupradius>1000</cleanupradius>
  13.         <flags deletable="1" init_random="0" remove_damaged="0"/>
  14.         <position>fixed</position>
  15.         <limit>child</limit>
  16.         <active>1</active>
  17.         <children>
  18.             <child lootmax="8" lootmin="4" max="4" min="2" type="StaticObj_Misc_SupplyBox1_DE"/>
  19.             <child lootmax="8" lootmin="4" max="4" min="2" type="StaticObj_Misc_SupplyBox2_DE"/>
  20.             <child lootmax="8" lootmin="4" max="4" min="2" type="StaticObj_Misc_SupplyBox3_DE"/>
  21.         </children>
  22.     </event>
  23.    
  24.    
  25.    
  26.     Add this part into your cfgeventspawns.xml
  27.    
  28.     <event name="StaticAirplaneCrate">
  29.         <zone smin="0" smax="0" dmin="0" dmax="0" r="0" />
  30.                 <pos x="2350" z="2235" />
  31.                 <pos x="4407.497070" z="10240.783203" a="25.000000" />
  32.                 <pos x="4408.201660" z="10227.108398" />
  33.                 <pos x="4408.502441" z="10242.607422" a="25.000000" />
  34.                 <pos x="4408.953125" z="10239.821289" a="25.000000" />
  35.                 <pos x="4409.389160" z="10244.279297" a="25.000000" />
  36.                 <pos x="4409.949219" z="10241.607422" a="205.000000" />
  37.                 <pos x="4410.242676" z="10245.882813" a="205.000000" />
  38.                 <pos x="4410.941406" z="10243.389648" a="205.000000" />
  39.                 <pos x="4411.875000" z="10245.064453" a="205.000000" />
  40.                 <pos x="4412.098633" z="10225.173828" />
  41.                 <pos x="4417.962891" z="10225.666992" a="150.000000" />
  42.                 <pos x="4418.629883" z="10223.896484" a="150.000000" />
  43.                 <pos x="4419.493652" z="10222.450195" a="150.000000" />
  44.                 <pos x="4419.810059" z="10238.427734" a="10.000000" />
  45.                 <pos x="4420.064453" z="10240.121094" a="10.000000" />
  46.                 <pos x="4420.266113" z="10241.659180" a="10.000000" />
  47.                 <pos x="4420.473633" z="10243.168945" a="10.000000" />
  48.                 <pos x="4424.472656" z="10227.924805" a="125.000000" />
  49.                 <pos x="4425.941895" z="10226.922852" a="125.000000" />
  50.                 <pos x="4426.065430" z="10242.805664" />
  51.                 <pos x="4426.670898" z="10238.280273" />
  52.                 <pos x="4427.444824" z="10225.956055" a="125.000000" />
  53.                 <pos x="4710.880859" z="10332.765625" a="100.000000"/>
  54.                 <pos x="4713.376465" z="10332.264648" a="100.000000"/>
  55.                 <pos x="4715.752930" z="10331.850586" a="100.000000"/>
  56.                 <pos x="4719.551758" z="10318.416992" a="130.000000"/>
  57.                 <pos x="4720.963867" z="10316.429688" a="130.000000"/>
  58.     </event>
  59.    
  60.    
  61.    
  62.     Add this to your mapgroupproto.xml
  63.    
  64.     <group name="StaticObj_Misc_SupplyBox1_DE" lootmax="8">
  65.                 <usage name="Military" />
  66.                 <usage name="Village" />
  67.                 <usage name="Town" />
  68.                 <container name="lootFloor">
  69.                         <category name="food" />
  70.                         <tag name="floor" />
  71.                         <tag name="ground" />
  72.                         <point pos="-0.466845 -0.577179 -1.298379" range="0.280357" height="0.700892" flags="32" />
  73.                         <point pos="0.084186 -0.644623 1.159460" range="0.739037" height="0.162445" flags="32" />
  74.                         <point pos="-1.035482 -0.653107 0.301545" range="0.406250" height="1.015625" flags="32" />
  75.                         <point pos="0.310169 -0.593872 -1.174397" range="0.444704" height="1.111755" flags="32" />
  76.                         <point pos="-1.153436 -0.605530 -0.597895" range="0.502139" height="2.000000" flags="32" />
  77.                         <point pos="0.906094 -0.628113 0.677857" range="0.213721" height="0.534301" flags="32" />
  78.                         <point pos="0.864444 -0.620605 -0.197463" range="0.258789" height="0.646973" flags="32" />
  79.                         <point pos="-0.229351 0.550568 -0.329906" range="0.443750" height="1.109375" />
  80.                         <point pos="0.403208 0.561493 -0.224684" range="0.197594" height="0.686218" />
  81.                         <point pos="-0.139909 0.552948 0.399432" range="0.291055" height="0.851563" />
  82.                         <point pos="0.345056 0.561157 0.339634" range="0.369713" height="0.937500" />
  83.                 </container>
  84.         </group>
  85.         <group name="StaticObj_Misc_SupplyBox2_DE" lootmax="8">
  86.                 <usage name="Military" />
  87.                 <container name="lootFloor">
  88.                         <category name="weapons" />
  89.                         <tag name="floor" />
  90.                         <tag name="ground" />
  91.                         <point pos="0.002854 0.438721 0.542980" range="0.134375" height="0.335938" />
  92.                         <point pos="0.010212 0.431763 -0.010903" range="0.409375" height="1.023438" />
  93.                         <point pos="-0.190548 0.425385 -0.506625" range="0.125495" height="0.335938" />
  94.                         <point pos="0.087892 -0.884277 1.071619" range="0.304182" height="0.760455" flags="32" />
  95.                         <point pos="-0.655645 -0.890137 0.651234" range="0.158478" height="0.396195" flags="32" />
  96.                         <point pos="-0.747071 -0.899292 -0.072718" range="0.251009" height="0.627523" flags="32" />
  97.                         <point pos="-0.699315 -0.908264 -0.791738" range="0.259988" height="0.100006" flags="32" />
  98.                         <point pos="0.011688 -0.910675 -1.026367" range="0.280357" height="0.100006" flags="32" />
  99.                         <point pos="0.713865 -0.907501 -0.818310" range="0.243164" height="0.607910" flags="32" />
  100.                         <point pos="0.735190 -0.892029 0.413747" range="0.222352" height="0.555878" flags="32" />
  101.                         <point pos="0.878849 -0.900024 -0.231583" range="0.366364" height="0.920135" flags="32" />
  102.                 </container>
  103.         </group>
  104.         <group name="StaticObj_Misc_SupplyBox3_DE" lootmax="8">
  105.                 <usage name="Medic" />
  106.                 <container name="lootFloor">
  107.                         <category name="clothes" />
  108.                         <category name="tools" />
  109.                         <tag name="floor" />
  110.                         <tag name="ground" />
  111.                         <point pos="0.002854 0.438721 0.542980" range="0.134375" height="0.335938" />
  112.                         <point pos="0.010212 0.431763 -0.010903" range="0.409375" height="1.023438" />
  113.                         <point pos="-0.190548 0.425385 -0.506625" range="0.125495" height="0.335938" />
  114.                         <point pos="0.087892 -0.884277 1.071619" range="0.304182" height="0.760455" flags="32" />
  115.                         <point pos="-0.655645 -0.890137 0.651234" range="0.158478" height="0.396195" flags="32" />
  116.                         <point pos="-0.747071 -0.899292 -0.072718" range="0.251009" height="0.627523" flags="32" />
  117.                         <point pos="-0.699315 -0.908264 -0.791738" range="0.259988" height="0.100006" flags="32" />
  118.                         <point pos="0.011688 -0.910675 -1.026367" range="0.280357" height="0.100006" flags="32" />
  119.                         <point pos="0.713865 -0.907501 -0.818310" range="0.243164" height="0.607910" flags="32" />
  120.                         <point pos="0.735190 -0.892029 0.413747" range="0.222352" height="0.555878" flags="32" />
  121.                         <point pos="0.878849 -0.900024 -0.231583" range="0.366364" height="0.920135" flags="32" />
  122.                 </container>
  123.         </group>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement