Advertisement
DonSibleyGames

EggHouseData

Apr 25th, 2021 (edited)
7,657
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 5.02 KB | None | 0 0
  1. <!-- Search for this_house entry in mapgrouppos.xml, its around line 950-->
  2. <!-- Add "_EggHouse" or any other name at the end of the entry you want to single out -->
  3. <!-- Remeber this name must match up to an entry in mapgroupproto.xml -->
  4.  
  5.     <group name="Land_House_1W11_EggHouse" pos="1936.526245 448.322815 15054.258789" rpy="-0.022080 0.032831 -123.921562" a="-146.078430" />
  6.  
  7. <!-- Either copy the below into MapGroupProto.xml or edit in your own entry as I did in the video  -->
  8.  
  9.         <group name="Land_House_1W11_EggHouse" lootmax=“23”>
  10.                 <usage name="Eggs" />
  11.                 <container name="lootFloor" lootmax=“23”>
  12.                         <category name="AllEggs" />
  13.                         <point pos="1.355469 -2.651672 0.861816" range="0.823242" height="1.999104" />
  14.                         <point pos="-2.250000 -2.651695 3.348877" range="0.826416" height="2.002372" />
  15.                         <point pos="-4.752443 -2.817497 6.672362" range="0.956543" height="2.004842" />
  16.                         <point pos="-5.297852 -2.651680 2.517333" range="1.004883" height="2.003271" />
  17.                         <point pos="-2.956543 -2.651680 0.350830" range="1.199951" height="2.000000" />
  18.                         <point pos="-5.212891 -2.651680 0.051025" range="0.516097" height="2.000000" />
  19.                         <point pos="-3.421389 -1.251877 4.321532" range="0.100000" height="0.250000" />
  20.                         <point pos="0.198730 -2.223412 -0.744385" range="0.101074" height="0.252685" />
  21.                         <point pos="-0.771972 -1.721146 2.470947" range="0.134375" height="0.335938" />
  22.                         <point pos="-0.492187 -1.232414 -1.333008" range="0.134375" height="0.335938" />
  23.                         <point pos="-0.471681 -1.785904 3.230713" range="0.134375" height="0.335938" />
  24.                         <point pos="-3.918945 -2.149223 -2.975830" range="0.189453" height="0.473633" />
  25.                         <point pos="-5.915527 -2.149223 -1.764649" range="0.201660" height="0.504150" />
  26.                         <point pos="-0.535156 -1.711578 -1.932129" range="0.203125" height="0.325494" />
  27.                         <point pos="-5.767089 -2.149223 -2.890381" range="0.207333" height="0.518332" />
  28.                         <point pos="-0.645510 -1.661682 4.441405" range="0.211426" height="0.358113" />
  29.                         <point pos="-2.836426 -1.661682 4.426025" range="0.218750" height="0.357879" />
  30.                         <point pos="-1.693849 -1.661682 4.418945" range="0.232910" height="0.357399" />
  31.                         <point pos="-4.455078 -2.172028 -1.482666" range="0.306250" height="0.765625" />
  32.                         <point pos="-0.473633 -1.232414 -2.435059" range="0.134375" height="0.335938" />
  33.                         <point pos="-0.548828 -1.711578 -0.543213" range="0.203125" height="0.328615" />
  34.                         <point pos="-3.670899 -2.172028 -1.491210" range="0.271875" height="0.679688" />
  35.                         <point pos="-2.067383 -2.651680 -1.944824" range="1.199951" height="2.000000" />
  36.                 </container>
  37.         </group>
  38.  
  39. <!--Copy and paste the below into types.xml inside whatever ever item(s) you only want to spawn in the building you have singled out above. In this example "EasterEgg" -->
  40.  
  41.         <category name="AllEggs" />
  42.         <usage name="Eggs" />
  43.  
  44. <!-- After pasting in, it should look like this -->
  45.  
  46.        <type name="EasterEgg">
  47.         <nominal>100</nominal>
  48.         <lifetime>28800</lifetime>
  49.         <restock>0</restock>
  50.         <min>90</min>
  51.         <quantmin>100</quantmin>
  52.         <quantmax>100</quantmax>
  53.         <cost>100</cost>
  54.         <flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>
  55.         <category name="AllEggs" />
  56.         <usage name="Eggs" />
  57.     </type>
  58.  
  59. <!--Next make sure the new usgae and category is recognised by the game by adding them into cfglimitsdefinition.xml -->
  60. <!-- So add....-->
  61.         <category name="AllEggs" />
  62.         <usage name="Eggs" />
  63.  
  64. <!--...into cfglimitsdefination.xml so it looks like this...-->
  65.  
  66. <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
  67. <lists>
  68.     <categories>
  69.         <category name="tools"/>
  70.         <category name="containers"/>
  71.         <category name="clothes"/>
  72.         <category name="vehiclesparts"/>
  73.         <category name="food"/>
  74.         <category name="weapons"/>
  75.         <category name="books"/>
  76.         <category name="explosives"/>
  77.         <category name="AllEggs" /> <!-- NEW ENTRY -->
  78.     </categories>
  79.     <tags>
  80.         <tag name="floor"/>
  81.         <tag name="shelves"/>
  82.         <tag name="ground"/>
  83.     </tags>
  84.     <usageflags>
  85.         <usage name="Military"/>
  86.         <usage name="Police"/>
  87.         <usage name="Medic"/>
  88.         <usage name="Firefighter"/>
  89.         <usage name="Industrial"/>
  90.         <usage name="Farm"/>
  91.         <usage name="Coast"/>
  92.         <usage name="Town"/>
  93.         <usage name="Village"/>
  94.         <usage name="Hunting"/>
  95.         <usage name="Office"/>
  96.         <usage name="School"/>
  97.         <usage name="Prison"/>
  98.         <usage name="Lunapark"/>
  99.         <usage name="SeasonalEvent"/>
  100.         <usage name="Eggs" /> <!-- NEW ENTRY -->
  101.     </usageflags>
  102.     <valueflags>
  103.         <value name="Tier1"/>
  104.         <value name="Tier2"/>
  105.         <value name="Tier3"/>
  106.         <value name="Tier4"/>
  107.     </valueflags>
  108. </lists>
  109.  
  110. <!-- NOTE: It may take some time for all the loot to appear as the original loot may still be there and have to despawn -->
  111.  
  112.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement