Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!-- Search for this_house entry in mapgrouppos.xml, its around line 950-->
- <!-- Add "_EggHouse" or any other name at the end of the entry you want to single out -->
- <!-- Remeber this name must match up to an entry in mapgroupproto.xml -->
- <group name="Land_House_1W11_EggHouse" pos="1936.526245 448.322815 15054.258789" rpy="-0.022080 0.032831 -123.921562" a="-146.078430" />
- <!-- Either copy the below into MapGroupProto.xml or edit in your own entry as I did in the video -->
- <group name="Land_House_1W11_EggHouse" lootmax=“23”>
- <usage name="Eggs" />
- <container name="lootFloor" lootmax=“23”>
- <category name="AllEggs" />
- <point pos="1.355469 -2.651672 0.861816" range="0.823242" height="1.999104" />
- <point pos="-2.250000 -2.651695 3.348877" range="0.826416" height="2.002372" />
- <point pos="-4.752443 -2.817497 6.672362" range="0.956543" height="2.004842" />
- <point pos="-5.297852 -2.651680 2.517333" range="1.004883" height="2.003271" />
- <point pos="-2.956543 -2.651680 0.350830" range="1.199951" height="2.000000" />
- <point pos="-5.212891 -2.651680 0.051025" range="0.516097" height="2.000000" />
- <point pos="-3.421389 -1.251877 4.321532" range="0.100000" height="0.250000" />
- <point pos="0.198730 -2.223412 -0.744385" range="0.101074" height="0.252685" />
- <point pos="-0.771972 -1.721146 2.470947" range="0.134375" height="0.335938" />
- <point pos="-0.492187 -1.232414 -1.333008" range="0.134375" height="0.335938" />
- <point pos="-0.471681 -1.785904 3.230713" range="0.134375" height="0.335938" />
- <point pos="-3.918945 -2.149223 -2.975830" range="0.189453" height="0.473633" />
- <point pos="-5.915527 -2.149223 -1.764649" range="0.201660" height="0.504150" />
- <point pos="-0.535156 -1.711578 -1.932129" range="0.203125" height="0.325494" />
- <point pos="-5.767089 -2.149223 -2.890381" range="0.207333" height="0.518332" />
- <point pos="-0.645510 -1.661682 4.441405" range="0.211426" height="0.358113" />
- <point pos="-2.836426 -1.661682 4.426025" range="0.218750" height="0.357879" />
- <point pos="-1.693849 -1.661682 4.418945" range="0.232910" height="0.357399" />
- <point pos="-4.455078 -2.172028 -1.482666" range="0.306250" height="0.765625" />
- <point pos="-0.473633 -1.232414 -2.435059" range="0.134375" height="0.335938" />
- <point pos="-0.548828 -1.711578 -0.543213" range="0.203125" height="0.328615" />
- <point pos="-3.670899 -2.172028 -1.491210" range="0.271875" height="0.679688" />
- <point pos="-2.067383 -2.651680 -1.944824" range="1.199951" height="2.000000" />
- </container>
- </group>
- <!--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" -->
- <category name="AllEggs" />
- <usage name="Eggs" />
- <!-- After pasting in, it should look like this -->
- <type name="EasterEgg">
- <nominal>100</nominal>
- <lifetime>28800</lifetime>
- <restock>0</restock>
- <min>90</min>
- <quantmin>100</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="AllEggs" />
- <usage name="Eggs" />
- </type>
- <!--Next make sure the new usgae and category is recognised by the game by adding them into cfglimitsdefinition.xml -->
- <!-- So add....-->
- <category name="AllEggs" />
- <usage name="Eggs" />
- <!--...into cfglimitsdefination.xml so it looks like this...-->
- <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
- <lists>
- <categories>
- <category name="tools"/>
- <category name="containers"/>
- <category name="clothes"/>
- <category name="vehiclesparts"/>
- <category name="food"/>
- <category name="weapons"/>
- <category name="books"/>
- <category name="explosives"/>
- <category name="AllEggs" /> <!-- NEW ENTRY -->
- </categories>
- <tags>
- <tag name="floor"/>
- <tag name="shelves"/>
- <tag name="ground"/>
- </tags>
- <usageflags>
- <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="Eggs" /> <!-- NEW ENTRY -->
- </usageflags>
- <valueflags>
- <value name="Tier1"/>
- <value name="Tier2"/>
- <value name="Tier3"/>
- <value name="Tier4"/>
- </valueflags>
- </lists>
- <!-- NOTE: It may take some time for all the loot to appear as the original loot may still be there and have to despawn -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement