Advertisement
brujo22

Untitled

Nov 1st, 2016
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.20 KB | None | 0 0
  1. /**
  2. * Created with Exile Mod 3DEN Plugin
  3. * www.exilemod.com
  4. */
  5.  
  6. ExileRouletteChairs = [];
  7. ExileRouletteChairPositions = [];
  8.  
  9. // 3 Vehicles
  10. private _vehicles = [
  11. ["Exile_Sign_WasteDump", [12909.9, 12770.6, 210.866], [0, 1, 0], [0, 0, 1], false],
  12. ["Exile_Sign_SpecialOperations", [12922.2, 12765.5, 210.716], [0, 1, 0], [0, 0, 1], false],
  13. ["Campfire_burning_F", [12914.7, 12750.9, 208.936], [0, 0.998124, 0.0612232], [0, -0.0612232, 0.998124], true]
  14. ];
  15.  
  16. {
  17. private _vehicle = (_x select 0) createVehicle (_x select 1);
  18. _vehicle allowDamage false;
  19. _vehicle setPosWorld (_x select 1);
  20. _vehicle setVectorDirAndUp [_x select 2, _x select 3];
  21. _vehicle enableSimulationGlobal (_x select 4);
  22. _vehicle setVariable ["ExileIsLocked", -1, true];
  23.  
  24. if (_vehicle isKindOf "Exile_RussianRouletteChair") then
  25. {
  26. ExileRouletteChairs pushBack _vehicle;
  27. ExileRouletteChairPositions pushBack [_x select 1, getDir _vehicle];
  28. };
  29. }
  30. forEach _vehicles;
  31.  
  32. // 50 Simple Objects
  33. private _invisibleSelections = ["zasleh", "zasleh2", "box_nato_grenades_sign_f", "box_nato_ammoord_sign_f", "box_nato_support_sign_f"];
  34. private _simpleObjects = [
  35. ["ca\buildings\sara_stodola.p3d", [12919.5, 12768.2, 212.402], [0, 0.998581, 0.0532583], [-0.012, -0.0532545, 0.998509]],
  36. ["ca\misc\seno_balik.p3d", [12925.9, 12748.3, 209.224], [0, 0.995297, 0.0968746], [-0.0093285, -0.0968704, 0.995253]],
  37. ["ca\misc\seno_balik.p3d", [12927.4, 12748.4, 209.341], [0, 0.995297, 0.0968746], [-0.0093285, -0.0968704, 0.995253]],
  38. ["ca\misc\seno_balik.p3d", [12927.4, 12749.9, 209.399], [0, 0.995297, 0.0968746], [-0.0093285, -0.0968704, 0.995253]],
  39. ["ca\misc\seno_balik.p3d", [12925.9, 12749.9, 209.382], [0, 0.995297, 0.0968746], [-0.0093285, -0.0968704, 0.995253]],
  40. ["ca\misc\seno_balik.p3d", [12924.4, 12748.1, 209.198], [0, 0.995297, 0.0968746], [-0.0093285, -0.0968704, 0.995253]],
  41. ["ca\misc\seno_balik.p3d", [12926.7, 12751.8, 209.518], [0, 0.997958, 0.0638679], [-0.0093285, -0.0638651, 0.997915]],
  42. ["ca\structures_e\ind\ind_shed\ind_shed_02_ep1.p3d", [12916.1, 12750.7, 210.786], [-0.999774, -0.0205963, -0.0052666], [-0.00399675, -0.0612165, 0.998116]],
  43. ["ca\misc\seno_balik.p3d", [12907.5, 12747.9, 209.164], [0, 0.996379, 0.0850241], [0.00265204, -0.0850238, 0.996375]],
  44. ["ca\misc\seno_balik.p3d", [12906, 12748, 209.185], [0, 0.996379, 0.0850241], [0.00933489, -0.0850204, 0.996336]],
  45. ["ca\misc\seno_balik.p3d", [12904.6, 12748.1, 209.206], [0, 0.996379, 0.0850241], [0.00933489, -0.0850204, 0.996336]],
  46. ["ca\misc\seno_balik.p3d", [12904.5, 12749.7, 209.342], [0, 0.996379, 0.0850241], [0.00933489, -0.0850204, 0.996336]],
  47. ["ca\misc\seno_balik.p3d", [12909.1, 12748.2, 209.184], [0, 0.996379, 0.0850241], [0.00265204, -0.0850238, 0.996375]],
  48. ["ca\misc\seno_balik.p3d", [12905.9, 12749.6, 209.326], [0, 0.996379, 0.0850241], [0.00933489, -0.0850204, 0.996336]],
  49. ["ca\misc\kontejner.p3d", [12906.4, 12769.9, 210.615], [0, 0.998913, 0.0466137], [-0.00666818, -0.0466127, 0.998891]],
  50. ["ca\structures\misc\misc_gcontainer_big\misc_gcontainer_big.p3d", [12909.6, 12772.5, 210.699], [0, 0.998719, 0.0506028], [-0.0080009, -0.0506012, 0.998687]],
  51. ["ca\misc\popelnice.p3d", [12906.4, 12767.1, 210.133], [0, 0.998913, 0.0466137], [-0.00666818, -0.0466127, 0.998891]],
  52. ["ca\misc\kontejner.p3d", [12906.3, 12768.2, 210.532], [0, 0.998913, 0.0466137], [-0.00666818, -0.0466127, 0.998891]],
  53. ["ca\misc\ural_wrecked.p3d", [12903.5, 12770.1, 210.947], [0.0105626, -0.998861, -0.0465408], [-0.00666818, -0.0466127, 0.998891]],
  54. ["a3\structures_f\civ\garbage\junkpile_f.p3d", [12911.6, 12770, 210.082], [0, 0.998719, 0.0506028], [-0.0080009, -0.0506012, 0.998687]],
  55. ["a3\structures_f\civ\garbage\tyres_f.p3d", [12902.4, 12748, 208.817], [-0.999028, -0.0437197, 0.00562938], [0.00933489, -0.0850204, 0.996336]],
  56. ["a3\structures_f_epc\civ\garbage\garbagebarrel_01_f.p3d", [12912.4, 12766.7, 210.262], [0, 0.998913, 0.0466137], [-0.00399675, -0.0466133, 0.998905]],
  57. ["a3\structures_f_epb\civ\garbage\garbagecontainer_open_f.p3d", [12912.3, 12768.1, 210.454], [-0.999383, -0.0337479, -0.00971641], [-0.0080009, -0.0506012, 0.998687]],
  58. ["a3\structures_f\civ\camping\sleeping_bag_brown_f.p3d", [12925.3, 12771.7, 210.485], [0, 0.998581, 0.0532586], [-0.0120198, -0.0532547, 0.998509]],
  59. ["a3\structures_f_heli\items\luggage\plasticcase_01_medium_f.p3d", [12925.4, 12770.1, 210.566], [0.998417, -0.0555046, 0.00905844], [-0.0120198, -0.0532547, 0.998509]],
  60. ["a3\structures_f\civ\camping\camping_light_off_f.p3d", [12925.1, 12773, 210.644], [0, 0.998581, 0.0532583], [-0.0120198, -0.0532545, 0.998509]],
  61. ["exile_assets\model\exile_item_magazine04.p3d", [12924.9, 12773, 210.465], [0.729825, 0.683634, 0], [0, 0, 1]],
  62. ["exile_assets\model\exile_item_beer.p3d", [12925, 12773.1, 210.53], [0, 0.998581, 0.0532586], [-0.0120198, -0.0532547, 0.998509]],
  63. ["a3\structures_f_heli\furniture\rattanchair_01_f.p3d", [12921, 12772.7, 211.019], [0, 0.998581, 0.0532586], [-0.0120198, -0.0532547, 0.998509]],
  64. ["ca\misc2\smalltable\smalltable.p3d", [12919.8, 12772.9, 210.857], [0, 0.998581, 0.0532586], [-0.0120198, -0.0532547, 0.998509]],
  65. ["a3\structures_f_epb\items\military\ammobox_rounds_f.p3d", [12918.1, 12772.7, 210.531], [0.998634, -0.0514178, 0.00927901], [-0.0120198, -0.0532547, 0.998509]],
  66. ["ca\weapons\ammoboxes\usspecialweapons.p3d", [12916, 12772.4, 211.742], [0.080687, -0.995376, -0.0521164], [-0.0120198, -0.0532547, 0.998509]],
  67. ["ca\weapons\ammoboxes\uslaunchers.p3d", [12917.4, 12772.7, 211.417], [0.0673098, 0.996273, 0.0539455], [-0.0120198, -0.0532545, 0.998509]],
  68. ["ca\buildings\furniture\ammobednax.p3d", [12917.1, 12766.4, 210.003], [0, 0.998581, 0.0532583], [-0.0120198, -0.0532545, 0.998509]],
  69. ["ca\buildings\furniture\ammobednax.p3d", [12917.1, 12767.2, 210.059], [0, 0.998581, 0.0532583], [-0.0120198, -0.0532545, 0.998509]],
  70. ["ca\buildings\furniture\ammobednax.p3d", [12917.1, 12766.8, 210.467], [0, 1, 0], [0, 0, 1]],
  71. ["a3\props_f_exp\commercial\market\woodencrate_01_stack_x5_f.p3d", [12915.3, 12767.1, 210.988], [0, 0.998719, 0.0506016], [-0.0093285, -0.0505994, 0.998675]],
  72. ["a3\props_f_exp\commercial\market\woodencrate_01_stack_x3_f.p3d", [12914.4, 12772.2, 211.065], [0, 0.998581, 0.0532586], [-0.0120198, -0.0532547, 0.998509]],
  73. ["ca\misc\drevena_bedna.p3d", [12914.2, 12768.3, 210.628], [0, 0.998719, 0.0506026], [-0.0080009, -0.050601, 0.998687]],
  74. ["a3\structures_f_exp\walls\tin\tinwall_02_l_8m_f.p3d", [12928.5, 12751, 210.048], [-0.999511, -0.0312697, 0], [0, 0, 1]],
  75. ["a3\structures_f_exp\walls\tin\tinwall_02_l_8m_f.p3d", [12903.7, 12750.5, 209.973], [0.999999, -0.00166075, 0], [0, 0, 1]],
  76. ["ca\structures\furniture\chairs\ch_mod_c\ch_mod_c.p3d", [12913.5, 12749.4, 208.607], [-0.631127, -0.772855, -0.0661342], [0.00133721, -0.0863436, 0.996265]],
  77. ["ca\structures_e\misc\misc_interier\chair_ep1.p3d", [12917, 12749.9, 209.149], [-0.541737, -0.836915, -0.0780637], [-0.00401163, -0.090297, 0.995907]],
  78. ["ca\misc2\table\chair.p3d", [12916.6, 12752.5, 209.318], [0.968763, 0.247257, 0.019044], [-0.00399675, -0.0612165, 0.998116]],
  79. ["a3\structures_f_heli\items\luggage\metalcase_01_large_f.p3d", [12915.4, 12747.4, 208.818], [-0.996955, -0.0776897, -0.00673321], [0, -0.0863444, 0.996265]],
  80. ["a3\structures_f\civ\camping\tentdome_f.p3d", [12924.9, 12752.3, 209.479], [0, 0.997958, 0.0638679], [-0.0093285, -0.0638651, 0.997915]],
  81. ["a3\structures_f\civ\camping\tenta_f.p3d", [12923.1, 12748.7, 209.152], [-0.0773594, -0.992912, -0.0902308], [-0.00265204, -0.0902967, 0.995911]],
  82. ["a3\structures_f\civ\camping\tentdome_f.p3d", [12908, 12750.3, 209.307], [0.194008, -0.979223, -0.0590126], [0.00133721, -0.0598915, 0.998204]],
  83. ["a3\structures_f_heli\items\luggage\plasticcase_01_medium_f.p3d", [12910, 12749.4, 208.812], [0.70745, -0.704041, -0.061967], [0.00133721, -0.0863436, 0.996265]],
  84. ["a3\structures_f\civ\camping\camping_light_off_f.p3d", [12914.9, 12747.3, 209.283], [0, 0.996265, 0.0863444], [0, -0.0863444, 0.996265]]
  85. ];
  86.  
  87. {
  88. private _simpleObject = createSimpleObject [_x select 0, _x select 1];
  89. _simpleObject setVectorDirAndUp [_x select 2, _x select 3];
  90.  
  91. {
  92. if ((toLower _x) in _invisibleSelections) then
  93. {
  94. _simpleObject hideSelection [_x, true];
  95. };
  96. }
  97. forEach (selectionNames _simpleObject);
  98. }
  99. forEach _simpleObjects;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement