Advertisement
brujo22

Untitled

Oct 31st, 2016
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.01 KB | None | 0 0
  1. /**
  2. * Created with Exile Mod 3DEN Plugin
  3. * www.exilemod.com
  4. */
  5.  
  6. ExileRouletteChairs = [];
  7. ExileRouletteChairPositions = [];
  8.  
  9. // 2 Vehicles
  10. private _vehicles = [
  11. ["Exile_Sign_SpecialOperations", [1609.05, 7803.03, 285.481], [0, 1, 0], [0, 0, 1], false],
  12. ["Exile_Sign_WasteDump", [1622.56, 7800.43, 285.43], [0.473244, 0.880931, 0], [0, 0, 1], false]
  13. ];
  14.  
  15. {
  16. private _vehicle = (_x select 0) createVehicle (_x select 1);
  17. _vehicle allowDamage false;
  18. _vehicle setPosWorld (_x select 1);
  19. _vehicle setVectorDirAndUp [_x select 2, _x select 3];
  20. _vehicle enableSimulationGlobal (_x select 4);
  21. _vehicle setVariable ["ExileIsLocked", -1, true];
  22.  
  23. if (_vehicle isKindOf "Exile_RussianRouletteChair") then
  24. {
  25. ExileRouletteChairs pushBack _vehicle;
  26. ExileRouletteChairPositions pushBack [_x select 1, getDir _vehicle];
  27. };
  28. }
  29. forEach _vehicles;
  30.  
  31. // 36 Simple Objects
  32. private _invisibleSelections = ["zasleh", "zasleh2", "box_nato_grenades_sign_f", "box_nato_ammoord_sign_f", "box_nato_support_sign_f"];
  33. private _simpleObjects = [
  34. ["ca\misc\brdm2_wrecked.p3d", [1628.39, 7792.31, 284.675], [0.999505, -0.0314572, -0.000377356], [0, -0.011995, 0.999928]],
  35. ["a3\structures_f_heli\ind\cargo\cargo10_military_green_f.p3d", [1597.29, 7800.97, 285.785], [0.0336705, -0.999432, 0.00121208], [-0.0359749, 0, 0.999353]],
  36. ["a3\structures_f_heli\ind\cargo\cargo10_military_green_f.p3d", [1597.4, 7797.62, 285.649], [0.0336371, -0.997754, -0.0579346], [-0.0572378, -0.0597954, 0.996568]],
  37. ["a3\structures_f\civ\camping\campfire_f.p3d", [1602.02, 7799.14, 284.61], [0, 0.998361, 0.0572378], [0, -0.0572378, 0.998361]],
  38. ["ca\misc2\table\chair.p3d", [1600.69, 7800.59, 284.939], [-0.705468, 0.708742, 0], [0, 0, 1]],
  39. ["a3\structures_f\civ\camping\campingchair_v1_f.p3d", [1602.3, 7801.08, 284.948], [0, 1, 0], [0, 0, 1]],
  40. ["ca\misc2\table\chair.p3d", [1600.63, 7798.25, 284.854], [-0.866318, -0.498674, -0.0285899], [0, -0.0572378, 0.998361]],
  41. ["ca\misc\drevena_bedna.p3d", [1600.03, 7796.05, 284.697], [0, 0.998205, 0.0598936], [-0.00265204, -0.0598934, 0.998201]],
  42. ["a3\props_f_exp\commercial\market\woodencrate_01_f.p3d", [1601.13, 7796.11, 284.565], [0, 0.998205, 0.0598936], [-0.00265204, -0.0598934, 0.998201]],
  43. ["a3\props_f_exp\commercial\market\woodencrate_01_f.p3d", [1602.1, 7796.06, 284.563], [0, 0.998361, 0.0572378], [0, -0.0572378, 0.998361]],
  44. ["ca\buildings\furniture\bedna_ammo2x.p3d", [1609.44, 7809.27, 284.746], [0, 0.999276, 0.0380336], [0, -0.0380336, 0.999276]],
  45. ["ca\buildings\furniture\ammobednax.p3d", [1611.34, 7804.25, 284.783], [0, 0.999555, -0.0298258], [-0.00401163, 0.0298256, 0.999547]],
  46. ["ca\buildings\furniture\hromada_beden_dekorativnix.p3d", [1612.5, 7809.43, 284.778], [0, 1, 0], [-0.0185892, 0, 0.999827]],
  47. ["a3\props_f_exp\commercial\market\woodencrate_01_f.p3d", [1613.16, 7804.93, 285.067], [0, 1, 0], [0, 0, 1]],
  48. ["ca\buildings\furniture\ammobednax.p3d", [1611.39, 7804.84, 284.765], [0, 0.999555, -0.0298258], [-0.00401163, 0.0298256, 0.999547]],
  49. ["ca\buildings\furniture\ammobednax.p3d", [1611.41, 7804.44, 285.192], [0, 0.999555, -0.0298238], [-0.00401163, 0.0298236, 0.999547]],
  50. ["a3\structures_f\civ\camping\sleeping_bag_blue_folded_f.p3d", [1600.4, 7804.08, 284.915], [0, 0.999555, -0.0298258], [0.00401163, 0.0298256, 0.999547]],
  51. ["a3\structures_f\civ\camping\sleeping_bag_brown_f.p3d", [1600.97, 7804.84, 284.806], [-0.99792, 0.0617359, 0.0185537], [0.0185892, 0, 0.999827]],
  52. ["exile_assets\model\exile_item_magazine03.p3d", [1600.1, 7805.61, 284.783], [0, 1, 0], [0, 0, 1]],
  53. ["a3\structures_f\wrecks\wreck_hunter_f.p3d", [1627.28, 7805.17, 286.31], [0, 0.99957, 0.0293202], [-0.0093285, -0.0293189, 0.999527]],
  54. ["a3\structures_f_epa\mil\scrapyard\scrap_mrap_01_f.p3d", [1621, 7805.76, 285.644], [0.427472, -0.903988, -0.0085476], [0.0199917, 0, 0.9998]],
  55. ["a3\structures_f\civ\garbage\junkpile_f.p3d", [1624.3, 7801.22, 284.629], [0, 1, 0], [0.0199917, 0, 0.9998]],
  56. ["ca\misc\kontejner_plasty.p3d", [1617.91, 7802.34, 285.282], [0.999665, -0.0258861, 0], [0, 0, 1]],
  57. ["ca\misc\kontejner_papir.p3d", [1619.4, 7802.21, 285.259], [0.999665, -0.0258861, 0], [0, 0, 1]],
  58. ["ca\misc\kontejner_sklo.p3d", [1620.9, 7802.01, 285.263], [0.999691, -0.0147607, -0.0199895], [0.0199917, 0, 0.9998]],
  59. ["ca\structures\misc\misc_gcontainer_big\misc_gcontainer_big.p3d", [1616.47, 7807.66, 285.224], [0.998259, 0.0589756, 0], [0, 0, 1]],
  60. ["a3\structures_f\civ\camping\tentdome_f.p3d", [1588.4, 7795.34, 284.558], [0.977818, -0.209178, 0.010807], [-0.0133317, -0.0106631, 0.999854]],
  61. ["a3\structures_f\civ\camping\tentdome_f.p3d", [1584.11, 7806.78, 284.648], [-0.468377, -0.883058, -0.028835], [-0.02133, -0.0213252, 0.999545]],
  62. ["a3\structures_f\civ\camping\tentdome_f.p3d", [1582.93, 7796.9, 284.502], [0.263402, -0.964662, -0.00677572], [-0.0133317, -0.0106631, 0.999854]],
  63. ["ca\misc3\campfire.p3d", [1588.61, 7801.62, 284.25], [0, 0.999772, 0.02133], [-0.02133, -0.0213252, 0.999545]],
  64. ["ca\weapons\ammoboxes\usspecialweapons.p3d", [1608.72, 7810.17, 286.14], [0, 0.999276, 0.0380336], [0, -0.0380336, 0.999276]],
  65. ["ca\weapons\ammoboxes\usbasicweapons.p3d", [1609.88, 7804.6, 286.058], [0, 0.999555, -0.0298258], [-0.00401163, 0.0298256, 0.999547]],
  66. ["ca\structures_e\misc\misc_interier\chair_ep1.p3d", [1613.07, 7808.04, 285.265], [0.301934, -0.953312, 0.00561368], [-0.0185892, 0, 0.999827]],
  67. ["ca\weapons\ammoboxes\uslaunchers.p3d", [1612.92, 7806.5, 285.855], [0, 1, 0], [-0.0185892, 0, 0.999827]],
  68. ["a3\props_f_exp\commercial\market\woodencrate_01_stack_x3_f.p3d", [1604.53, 7809.91, 285.421], [0, 1, 0], [0, 0, 1]],
  69. ["a3\structures_f_epa\civ\constructions\portablelight_double_f.p3d", [1624.25, 7799.38, 285.426], [0.835781, 0.549063, 0], [0, 0, 1]]
  70. ];
  71.  
  72. {
  73. private _simpleObject = createSimpleObject [_x select 0, _x select 1];
  74. _simpleObject setVectorDirAndUp [_x select 2, _x select 3];
  75.  
  76. {
  77. if ((toLower _x) in _invisibleSelections) then
  78. {
  79. _simpleObject hideSelection [_x, true];
  80. };
  81. }
  82. forEach (selectionNames _simpleObject);
  83. }
  84. forEach _simpleObjects;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement