Advertisement
Guest User

initServer.sqf

a guest
Jun 18th, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.98 KB | None | 0 0
  1. ///////////////////////////////////////////////////////////////////////////////////////////////////
  2. // LHS Aircraft Carrier trader
  3. ///////////////////////////////////////////////////////////////////////////////////////////////////
  4.  
  5. /**
  6. * Created with Exile Mod 3DEN Plugin
  7. * www.exilemod.com
  8. */
  9.  
  10. // 10 Vehicles
  11. _vehicles = [
  12. ["CUP_B_LHD_WASP_USMC_Empty", [14405.7, 9434.51, 21.1363], [0.518564, -0.855039, 0], [0, 0, 1], true],
  13. ["Land_HelipadSquare_F", [14376.7, 9500.83, 22.8892], [-0.519312, 0.854585, 0], [0, 0, 1], true],
  14. ["Land_HelipadSquare_F", [14363.9, 9521.9, 22.7856], [0.527169, -0.84976, 0], [0, 0, 1], true],
  15. ["Exile_Sign_Aircraft", [14390, 9476, 17.7105], [0.518564, -0.855039, 0], [0, 0, 1], true],
  16. ["Exile_Sign_Boat", [14394.5, 9478.78, 17.7109], [0.518564, -0.855039, 0], [0, 0, 1], true],
  17. ["Exile_Sign_Armory", [14395.7, 9477.87, 17.8722], [0.866025, 0.5, 0], [0, 0, 1], true],
  18. ["Exile_Sign_Equipment", [14403, 9466.92, 17.4857], [0.866025, 0.5, 0], [0, 0, 1], true],
  19. ["Exile_Sign_WasteDump", [14434.2, 9403.48, 17.8723], [-0.537394, 0.843331, 0], [0, 0, 1], true],
  20. ["Land_CampingChair_V2_F", [14401, 9468.12, 17.1872], [0.996779, 0.0801989, 0], [0, 0, 1], true],
  21. ["Exile_Locker", [14399.5, 9471.22, 16.7242], [0.866025, 0.5, 0], [0, 0, 1], true]
  22. ];
  23.  
  24. {
  25. private _vehicle = (_x select 0) createVehicle (_x select 1);
  26. _vehicle allowDamage false;
  27. _vehicle setPosWorld (_x select 1);
  28. _vehicle setVectorDirAndUp [_x select 2, _x select 3];
  29. _vehicle enableSimulationGlobal (_x select 4);
  30. _vehicle setVariable ["ExileIsLocked", -1, true];
  31.  
  32. }
  33. forEach _vehicles;
  34.  
  35. // 7 Simple Objects
  36. private _invisibleSelections = ["zasleh", "zasleh2", "box_nato_grenades_sign_f", "box_nato_ammoord_sign_f", "box_nato_support_sign_f"];
  37. private _simpleObjects = [
  38. ["a3\structures_f_argo\civilian\garbage\garbagebarrel_01_english_f.p3d", [14433.7, 9401.88, 17.2362], [0, 1, 0], [0, 0, 1]],
  39. ["a3\structures_f_argo\civilian\garbage\garbagebarrel_01_english_f.p3d", [14434.4, 9402.26, 17.2534], [0, 1, 0], [0, 0, 1]],
  40. ["a3\structures_f_heli\items\luggage\metalcase_01_large_f.p3d", [14401.4, 9465.84, 16.9999], [0.999887, 0.0150109, 0], [0, 0, 1]],
  41. ["a3\structures_f_epa\mil\scrapyard\pallet_milboxes_f.p3d", [14401.1, 9466.83, 17.1744], [0, 1, 0], [0, 0, 1]],
  42. ["a3\structures_f_heli\items\luggage\plasticcase_01_medium_f.p3d", [14396, 9474.9, 16.917], [0, 1, 0], [0, 0, 1]],
  43. ["a3\structures_f_heli\items\luggage\plasticcase_01_small_f.p3d", [14395.3, 9475.01, 16.8814], [0.876128, 0.482078, 0], [0, 0, 1]],
  44. ["a3\structures_f_epa\mil\scrapyard\pallet_milboxes_f.p3d", [14395.5, 9476.03, 17.1746], [0, 1, 0], [0, 0, 1]]
  45. ];
  46.  
  47. {
  48. private _simpleObject = createSimpleObject [_x select 0, _x select 1];
  49. _simpleObject setVectorDirAndUp [_x select 2, _x select 3];
  50.  
  51. {
  52. if ((toLower _x) in _invisibleSelections) then
  53. {
  54. _simpleObject hideSelection [_x, true];
  55. };
  56. }
  57. forEach (selectionNames _simpleObject);
  58. }
  59. forEach _simpleObjects;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement