modernkilla82

NEW LOOT POSITIONS

Oct 30th, 2018
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.14 KB | None | 0 0
  1. *******************HOW TO GENERATE NEW LOOT POSITIONS ON THE MAP FOR YOUR CUSTOM BUILDINGS********************************
  2. -By DaOne, Text Edited By Modernkilla82
  3.  
  4. 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!!!
  5.  
  6. Go to the bottom of your custom buildings code and paste this:
  7.  
  8. CETesting TestHive = GetTesting();
  9. TestHive.ExportProxyProto();
  10. TestHive.ExportProxyData( "7500 0 7500", 7000 ); //Dont mess around with these numbers
  11.  
  12. The code should look something like this: https://gyazo.com/905bcf203a4cd353ec51fb3971ce5142
  13.  
  14. Save the file then wait approximately 15 to 60 seconds after the mission is read
  15.  
  16. Once you see this in the console: [CE][MapExport] :: entity found:13722, entity valid:8983, types total:224... took *Number* sec
  17.  
  18. 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