Advertisement
Guest User

Untitled

a guest
Feb 19th, 2020
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.55 KB | None | 0 0
  1. #define DISABLE_PERSISTENCY
  2.  
  3. #include "$CurrentDir:Missions\\DayZCommunityOfflineMode.ChernarusPlus\\core\\BaseModuleInclude.c"
  4. Mission CreateCustomMission(string path)
  5. {
  6. if ( GetGame().IsServer() && GetGame().IsMultiplayer() )
  7. return new CommunityOfflineServer();
  8.  
  9. return new CommunityOfflineClient();
  10. }
  11. void SpawnObject( string type, vector position, vector orientation )
  12. {
  13. auto obj = GetGame().CreateObject( type, position );
  14. obj.SetPosition( position );
  15. obj.SetOrientation( orientation );
  16. obj.SetOrientation( obj.GetOrientation() ); //Collision fix
  17. obj.Update();
  18. obj.SetAffectPathgraph( true, false );
  19. if( obj.CanAffectPathgraph() ) GetGame().GetCallQueue( CALL_CATEGORY_SYSTEM ).CallLater( GetGame().UpdatePathgraphRegionByObject, 100, false, obj );
  20. }
  21. void main()
  22. {
  23. SpawnObject( "bldr_metalcrate", "2679.954834 365.788940 6784.939941", "-59.999996 0.000000 0.000000" );
  24. SpawnObject( "bldr_metalcrate", "2676.155273 363.092377 6770.645508", "0.000000 0.000000 0.000000" );
  25. SpawnObject( "bldr_workbench", "2679.473145 363.461914 6758.944824", "0.000000 0.000000 0.000000" );
  26. SpawnObject( "bldr_container_1b", "2686.829102 364.863586 6743.795898", "-65.000000 0.000000 0.000000" );
  27. SpawnObject( "bldr_hbarrier_1m", "2671.308838 363.895203 6750.167480", "-4.999999 0.000000 0.000000" );
  28. SpawnObject( "bldr_hbarrier_1m", "2678.806396 363.780090 6770.260742", "75.000000 0.000000 0.000000" );
  29. SpawnObject( "bldr_hbarrier_1m", "2679.465820 363.655609 6772.965332", "130.000000 0.000000 0.000000" );
  30. SpawnObject( "bldr_hbarrier_1m", "2678.819092 363.701202 6771.687988", "105.000000 0.000000 0.000000" );
  31. SpawnObject( "bldr_hbarrier_1m", "2670.045166 363.888275 6749.882324", "-20.000000 0.000000 0.000000" );
  32. SpawnObject( "bldr_hbarrier_1m", "2679.366943 363.869415 6769.009766", "55.000000 0.000000 0.000000" );
  33. SpawnObject( "bldr_hbarrier_round", "2667.290283 363.558289 6775.185547", "-59.999996 0.000000 0.000000" );
  34. SpawnObject( "bldr_mil_fortified_nest_small", "2679.444092 366.773773 6802.832520", "-157.000000 0.000000 0.000000" );
  35. SpawnObject( "bldr_roadblock_bags_curve", "2642.283936 363.666321 6762.849121", "39.000000 0.000000 0.000000" );
  36. SpawnObject( "bldr_roadblock_bags_endl", "2674.126465 366.000000 6805.115723", "115.000000 0.000000 0.000000" );
  37. SpawnObject( "bldr_roadblock_bags_endl", "2669.253418 366.000000 6789.563477", "0.000000 0.000000 0.000000" );
  38. SpawnObject( "bldr_roadblock_bags_endl", "2684.884766 366.000000 6800.584473", "-165.000000 0.000000 0.000000" );
  39. SpawnObject( "bldr_roadblock_bags_endl", "2670.556152 366.000000 6803.307617", "80.000000 0.000000 0.000000" );
  40. SpawnObject( "bldr_roadblock_bags_endl", "2666.906982 366.000000 6793.547852", "45.000000 0.000000 0.000000" );
  41. SpawnObject( "bldr_roadblock_bags_endr", "2686.014404 366.000000 6796.241699", "125.000000 0.000000 0.000000" );
  42. SpawnObject( "bldr_roadblock_bags_long", "2645.701904 362.985474 6755.446289", "-40.000000 0.000000 0.000000" );
  43. SpawnObject( "bldr_roadblock_bags_long", "2656.971924 362.934204 6775.261719", "100.000008 0.000000 0.000000" );
  44. SpawnObject( "bldr_roadblock_bags_long", "2668.063232 363.240356 6748.746094", "59.999996 0.000000 0.000000" );
  45. SpawnObject( "bldr_roadblock_bags_long", "2649.903076 362.909943 6771.974121", "20.000000 0.000000 0.000000" );
  46. SpawnObject( "bldr_roadblock_pillbox", "2651.403076 363.967010 6777.502441", "-115.000000 0.000000 0.000000" );
  47. SpawnObject( "bldr_roadblock_pillbox", "2656.371094 364.246643 6744.920410", "98.000000 0.000000 0.000000" );
  48. SpawnObject( "bldr_hbarrier_1mproxy", "2650.528320 363.519592 6774.210449", "90.000000 0.000000 0.000000" );
  49. SpawnObject( "bldr_hbarrier_1mproxy", "2653.768799 363.720428 6746.996582", "20.000000 0.000000 0.000000" );
  50. SpawnObject( "bldr_hbarrier_1mproxy", "2654.836670 363.534119 6775.957520", "40.000000 0.000000 0.000000" );
  51. SpawnObject( "bldr_hbarrier_1mproxy", "2652.605957 363.700714 6747.520996", "28.000004 0.000000 0.000000" );
  52. SpawnObject( "bldr_tent_gunrack", "2681.034668 366.154053 6784.742676", "50.000004 0.000000 0.000000" );
  53. SpawnObject( "bldr_tent_table", "2677.022705 363.576447 6769.228027", "29.999998 0.000000 0.000000" );
  54. SpawnObject( "bldr_misc_bagfence_3m", "2683.702393 366.100006 6788.520508", "-68.000000 0.000000 0.000000" );
  55. SpawnObject( "bldr_misc_bagfence_3m", "2673.582275 366.100006 6786.732910", "25.000002 0.000000 0.000000" );
  56. SpawnObject( "bldr_misc_bagfence_corner", "2680.887695 366.049988 6785.281250", "-65.000000 0.000000 0.000000" );
  57. SpawnObject( "bldr_misc_barbedwire", "2646.370361 363.638184 6769.225586", "-50.000004 0.000000 0.000000" );
  58. SpawnObject( "bldr_misc_barbedwire", "2658.016113 363.679504 6776.727539", "10.000004 0.000000 0.000000" );
  59. SpawnObject( "bldr_misc_barbedwire", "2644.969971 363.743317 6753.535645", "50.000004 0.000000 0.000000" );
  60. SpawnObject( "bldr_misc_hedgehog_concrete", "2640.444092 363.494293 6760.235840", "-9.000000 0.000000 0.000000" );
  61. SpawnObject( "bldr_misc_hedgehog_concrete", "2639.988037 363.456421 6763.030762", "0.000000 0.000000 0.000000" );
  62. SpawnObject( "bldr_misc_hedgehog_concrete", "2641.616943 363.432922 6765.010742", "0.000000 0.000000 0.000000" );
  63. SpawnObject( "bldr_Misc_Chair_Camp1", "2659.948486 363.631378 6747.321289", "-130.000000 0.000000 0.000000" );
  64. SpawnObject( "bldr_Misc_Chair_Camp1", "2661.755859 363.639679 6748.232422", "0.000000 0.000000 0.000000" );
  65. SpawnObject( "bldr_Misc_Chair_Camp2", "2677.637939 363.584930 6770.369629", "50.000004 0.000000 0.000000" );
  66. SpawnObject( "bldr_Misc_Table_Camp", "2661.320313 363.552429 6747.528320", "0.000000 0.000000 0.000000" );
  67. SpawnObject( "bldr_Platform1_Angle", "2676.413330 362.399994 6801.129883", "0.000000 0.000000 0.000000" );
  68. SpawnObject( "bldr_Platform1_Angle", "2672.713623 362.399994 6799.596680", "-45.000000 0.000000 0.000000" );
  69. SpawnObject( "bldr_Platform1_Angle", "2680.145508 362.399994 6799.559570", "45.000000 0.000000 0.000000" );
  70. SpawnObject( "bldr_Platform1_Angle", "2681.613037 362.399994 6795.841797", "90.000000 0.000000 0.000000" );
  71. SpawnObject( "bldr_Platform1_Angle", "2671.216553 362.399994 6795.867676", "-90.000000 0.000000 0.000000" );
  72. SpawnObject( "bldr_Platform1_Angle", "2672.760010 362.399994 6792.188477", "-135.000015 0.000000 0.000000" );
  73. SpawnObject( "bldr_Platform1_Block", "2679.224121 362.399994 6789.086914", "22.500002 0.000000 0.000000" );
  74. SpawnObject( "bldr_Platform1_Ramp", "2673.399902 362.399994 6772.135254", "112.999992 0.000000 0.000000" );
  75. SpawnObject( "bldr_Airfield_Lamp", "2679.444336 375.911316 6762.717285", "90.000000 0.000000 0.000000" );
  76. SpawnObject( "bldr_wall_indfnc_3_d", "2666.986084 362.499115 6805.126953", "-49.000000 0.000000 0.000000" );
  77. SpawnObject( "bldr_wall_indfnc_3_d", "2687.137207 363.315887 6788.893555", "112.000000 0.000000 0.000000" );
  78. SpawnObject( "bldr_wall_indfnc_3_d", "2663.931885 363.043579 6788.937012", "-119.999992 0.000000 0.000000" );
  79. SpawnObject( "bldr_wall_indfnc_3_d", "2685.055176 362.449432 6805.109375", "44.000000 0.000000 0.000000" );
  80. SpawnObject( "bldr_wall_indfnc_3_hole", "2667.686279 363.304230 6784.489258", "-150.000000 0.000000 0.000000" );
  81. SpawnObject( "bldr_wall_indfnc_3_hole", "2674.372559 362.453918 6809.485840", "-7.000000 0.000000 0.000000" );
  82. SpawnObject( "bldr_wall_indfnc_3_hole", "2662.418213 362.910553 6794.506836", "-90.000000 0.000000 0.000000" );
  83. SpawnObject( "bldr_wall_indfnc_corner", "2668.826416 362.456573 6807.267090", "-34.000000 0.000000 0.000000" );
  84. SpawnObject( "bldr_wall_indfnc_corner", "2671.410889 362.456573 6808.722656", "-21.000000 0.000000 0.000000" );
  85. SpawnObject( "bldr_wall_indfnc_corner", "2662.817139 362.995056 6791.577148", "-105.999992 0.000000 0.000000" );
  86. SpawnObject( "bldr_wall_indfnc_corner", "2669.005127 363.539886 6782.128418", "-100.000008 0.000000 0.000000" );
  87. SpawnObject( "bldr_wall_indfnc_corner", "2663.727539 362.714905 6800.068359", "-65.000000 0.000000 0.000000" );
  88. SpawnObject( "bldr_wall_indfnc_corner", "2665.052490 362.556854 6802.766113", "-59.000000 0.000000 0.000000" );
  89. SpawnObject( "bldr_wall_indfnc_corner", "2662.771240 362.847839 6797.334473", "-80.000000 0.000000 0.000000" );
  90. SpawnObject( "bldr_wall_indfnc_corner", "2665.497559 363.232300 6786.333008", "-125.000000 0.000000 0.000000" );
  91. SpawnObject( "bldr_wall_indfnc_corner", "2668.661133 363.576202 6779.250488", "-70.000000 0.000000 0.000000" );
  92. SpawnObject( "bldr_Panel_Concrete_Small_1", "2657.280029 362.903992 6757.379883", "20.000000 -1.000000 0.000000" );
  93. SpawnObject( "bldr_Panel_Concrete_Small_1", "2671.600098 363.056000 6765.459961", "70.000000 3.500000 0.000000" );
  94. SpawnObject( "bldr_Panel_Concrete_Small_1", "2700.429932 363.734985 6767.370117", "98.999992 1.000000 0.000000" );
  95. SpawnObject( "bldr_Panel_Concrete_Small_1", "2684.120117 363.600006 6748.120117", "-48.000004 0.000000 0.000000" );
  96. SpawnObject( "bldr_Panel_Concrete_Small_1", "2704.330078 363.700012 6765.870117", "-69.000000 0.000000 0.000000" );
  97. SpawnObject( "bldr_Panel_Concrete_Small_1", "2684.050049 363.562012 6766.649902", "84.000000 0.200000 0.000000" );
  98. SpawnObject( "bldr_Panel_Concrete_Small_1", "2688.129883 363.580994 6766.359863", "91.000015 0.000000 0.000000" );
  99. SpawnObject( "bldr_Panel_Concrete_Small_1", "2696.270020 363.734985 6767.410156", "80.000000 0.000000 0.000000" );
  100. SpawnObject( "bldr_Panel_Concrete_Small_1", "2675.739990 363.250000 6765.990234", "90.000000 2.000000 0.000000" );
  101. SpawnObject( "bldr_Panel_Concrete_Small_1", "2660.350098 362.959991 6760.390137", "90.000000 0.000000 0.000000" );
  102. SpawnObject( "bldr_Panel_Concrete_Small_1", "2679.919922 363.424988 6766.169922", "84.000000 2.000000 0.000000" );
  103. SpawnObject( "bldr_Panel_Concrete_Small_1", "2664.500000 362.963013 6761.390137", "50.000004 0.000000 0.000000" );
  104. SpawnObject( "bldr_Panel_Concrete_Small_1", "2708.439941 363.730011 6752.839844", "80.000000 0.000000 0.000000" );
  105. SpawnObject( "bldr_Panel_Concrete_Small_1", "2659.560059 362.899994 6763.439941", "0.000000 0.000000 0.000000" );
  106. SpawnObject( "bldr_Panel_Concrete_Small_1", "2667.889893 362.962006 6763.790039", "59.999996 0.000000 0.000000" );
  107. SpawnObject( "bldr_Panel_Concrete_Small_1", "2677.989990 363.385986 6753.379883", "-59.999996 -2.500000 0.000000" );
  108. SpawnObject( "bldr_Panels_Concrete_Small", "2704.209961 363.696014 6760.600098", "0.000000 0.000000 0.000000" );
  109. SpawnObject( "bldr_Panels_Concrete_Small", "2704.449951 363.690002 6752.350098", "-10.000002 0.000000 0.000000" );
  110. SpawnObject( "bldr_Panels_Concrete_Small", "2698.040039 363.690002 6755.700195", "80.000000 0.000000 0.000000" );
  111. SpawnObject( "bldr_Panels_Concrete_Small", "2690.449951 363.679993 6760.839844", "-10.000002 0.000000 0.000000" );
  112. SpawnObject( "bldr_Panels_Concrete_Small", "2688.699951 363.679993 6750.390137", "40.000000 0.000000 0.000000" );
  113. SpawnObject( "bldr_Panels_Concrete_Small", "2662.620117 362.940002 6757.370117", "90.000000 0.000000 0.000000" );
  114. SpawnObject( "bldr_Panels_Concrete_Small", "2672.867920 362.970001 6772.076660", "110.000000 1.500000 -1.000000" );
  115. SpawnObject( "bldr_Panel_Concrete_Small_Dam", "2692.199951 363.679993 6754.490234", "-29.999998 0.000000 0.000000" );
  116. SpawnObject( "bldr_Panel_Concrete_Small_Dam", "2656.209961 362.959991 6760.709961", "-70.000000 -2.000000 0.000000" );
  117. SpawnObject( "bldr_Panel_Concrete_Small_Dam", "2681.060059 363.510010 6750.790039", "-50.000004 0.000000 0.000000" );
  118. SpawnObject( "bldr_tent_ltable", "2663.107910 363.581543 6751.658691", "0.000000 0.000000 0.000000" );
  119. SpawnObject( "bldr_tent_ltable", "2676.281006 363.810516 6762.939453", "90.000000 0.000000 0.000000" );
  120. SpawnObject( "Land_Mil_Tent_Big1_1", "3019.479736 369.573486 6731.448242", "0.000000 0.000000 0.000000" );
  121. SpawnObject( "Land_Mil_Tent_Big2_1", "2671.270020 365.190002 6756.290039", "21.999998 0.000000 -1.000000" );
  122. SpawnObject( "Land_Mil_Tent_Big1_1", "2654.770020 362.996002 6752.250000", "-150.000000 0.000000 0.000000" );
  123. SpawnObject( "Land_Mil_Tent_Big1_1", "2651.020020 362.923004 6763.580078", "-59.999996 0.000000 0.000000" );
  124. SpawnObject( "Land_Mil_Tent_Big1_1", "2661.209961 362.958008 6768.379883", "21.000000 0.000000 0.000000" );
  125. SpawnObject( "bldr_Panel_Concrete_Small_Dam", "2654.232666 362.953369 6758.222656", "75.000000 0.000000 0.000000" );
  126. SpawnObject( "bldr_Panel_Concrete_Small_Dam", "2692.320068 363.670013 6766.600098", "80.000000 2.800000 0.000000" );
  127. SpawnObject( "bldr_Panel_Concrete_Small_Dam", "2645.918945 363.000000 6758.529297", "100.000008 -1.000000 0.000000" );
  128. SpawnObject( "bldr_Panel_Concrete_Small_2", "2670.378662 362.978088 6768.485352", "4.999999 0.000000 0.000000" );
  129. SpawnObject( "bldr_Panel_Concrete_Small_2", "2649.999268 362.967316 6758.000000", "100.000008 0.000000 0.000000" );
  130. SpawnObject( "bldr_Panel_Concrete_Small_2", "2673.526367 363.140015 6768.297852", "100.000008 2.000000 0.000000" );
  131. SpawnObject( "Land_Mil_Barracks_Round", "2679.544189 367.016968 6793.339844", "22.999998 0.000000 0.000000" );
  132. SpawnObject( "Land_Mil_Barracks_Round", "2672.769287 367.016998 6796.218262", "22.999998 0.000000 0.000000" );
  133. SpawnObject( "bldr_wall_indfnc_3_hole", "2681.457031 363.707245 6775.091309", "135.000015 0.000000 0.000000" );
  134. SpawnObject( "bldr_wall_indfnc_3_hole", "2689.212402 363.025055 6794.509766", "98.000000 0.000000 0.000000" );
  135. SpawnObject( "bldr_wall_indfnc_3_hole", "2682.987549 362.456299 6807.363281", "35.000004 0.000000 0.000000" );
  136. SpawnObject( "bldr_wall_indfnc_3_hole", "2688.499756 362.580566 6800.439941", "72.000000 0.000000 0.000000" );
  137. SpawnObject( "bldr_wall_indfnc_3", "2683.085938 363.729858 6777.614258", "112.000000 0.000000 0.000000" );
  138. SpawnObject( "bldr_wall_indfnc_3", "2680.277344 362.457642 6808.661133", "21.000000 0.000000 0.000000" );
  139. SpawnObject( "bldr_wall_indfnc_3", "2677.351563 362.457214 6809.389160", "7.000000 0.000000 0.000000" );
  140. SpawnObject( "bldr_wall_indfnc_3", "2687.173340 362.527191 6803.148438", "57.999996 0.000000 0.000000" );
  141. SpawnObject( "bldr_wall_indfnc_3", "2689.210693 362.910278 6797.594238", "84.000000 0.000000 0.000000" );
  142. SpawnObject( "bldr_wall_indfnc_3", "2688.467773 363.214996 6791.607910", "112.000000 0.000000 0.000000" );
  143. SpawnObject( "bldr_wall_indfnc_9", "2685.029541 363.520477 6782.742188", "112.000000 0.000000 0.000000" );
  144. SpawnObject( "bldr_wall_indfnc_pole", "2680.415771 363.722687 6773.959473", "138.000000 0.000000 0.000000" );
  145. SpawnObject( "bldr_misc_bagfence_3m", "2676.373047 366.100006 6805.169922", "1.000000 0.000000 0.000000" );
  146. SpawnObject( "bldr_misc_bagfence_3m", "2684.932373 366.100006 6791.464355", "-68.000000 0.000000 0.000000" );
  147. SpawnObject( "bldr_misc_bagfence_3m", "2685.506348 366.100006 6798.473633", "75.000000 0.000000 0.000000" );
  148. SpawnObject( "bldr_misc_bagfence_3m", "2683.249268 366.100006 6802.192383", "45.000000 0.000000 0.000000" );
  149. SpawnObject( "bldr_misc_bagfence_3m", "2685.784912 366.100006 6794.428223", "100.000008 0.000000 0.000000" );
  150. SpawnObject( "bldr_misc_bagfence_3m", "2672.327881 366.100006 6804.460449", "-25.000002 0.000000 0.000000" );
  151. SpawnObject( "bldr_misc_bagfence_3m", "2668.043213 366.100006 6791.336914", "62.000004 0.000000 0.000000" );
  152. SpawnObject( "bldr_misc_bagfence_3m", "2667.598877 366.100006 6799.221680", "110.000000 0.000000 0.000000" );
  153. SpawnObject( "bldr_misc_bagfence_3m", "2669.187500 366.100006 6801.969238", "129.000000 0.000000 0.000000" );
  154. SpawnObject( "bldr_misc_bagfence_3m", "2670.813965 366.100006 6788.332031", "33.000000 0.000000 0.000000" );
  155. SpawnObject( "bldr_misc_bagfence_3m", "2666.926514 366.100006 6795.947266", "91.000015 0.000000 0.000000" );
  156. SpawnObject( "bldr_plnt_p_heracleum", "2658.516357 363.697815 6758.750488", "-75.000000 0.000000 0.000000" );
  157. SpawnObject( "bldr_plnt_c_GrassDryHypericum_summer", "2656.399658 363.219818 6759.046387", "0.000000 0.000000 0.000000" );
  158. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement