Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- *******************HOW TO GENERATE NEW LOOT POSITIONS ON THE MAP FOR YOUR CUSTOM BUILDINGS********************************
- -By DaOne, Text Edited By Modernkilla82
- First things first, MAKE SURE your custom added buildings SPAWN BEFORE THIS SCRIPT gets execute!! OR ELSE it will not pick up the new buildings!!!
- Go to the bottom of your custom buildings code and paste this:
- CETesting TestHive = GetTesting();
- TestHive.ExportProxyProto();
- TestHive.ExportProxyData( "7500 0 7500", 7000 ); //Dont mess around with these numbers
- The code should look something like this: https://gyazo.com/905bcf203a4cd353ec51fb3971ce5142
- Save the file then wait approximately 15 to 60 seconds after the mission is read
- Once you see this in the console: [CE][MapExport] :: entity found:13722, entity valid:8983, types total:224... took *Number* sec
- GO TO YOUR STORAGE FOLDER IN THE MISSION, OPEN IT AND YOU SHOULD SEE A NEW FOLDER NAMED 'export' INSIDE IT WILL CONTAIN 2 XML's COPY THE MAPGROUPPOS.XML TO YOUR MISSION FOLDER AND REPLACE THE OLD ONE WITH THE NEW ONE, MAKE SURE YOU REMOVE THE CODE SO IT DOES NOT GENERATE AGAIN AND RESTART SERVER.
Advertisement
Add Comment
Please, Sign In to add comment