Advertisement
player2_dz

Untitled

Aug 18th, 2016
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQF 6.39 KB | None | 0 0
  1. /*
  2. * File:     positions.sqf
  3. * Author:   Player2 - Player2DZ@gmail.com
  4. * Date:     2016-03-04
  5. */
  6.  
  7.  
  8. private['_v']; _v = typeOf(vehicle player);
  9. /*--------------------------------------------------------------------------*/
  10. /*              Start of Positions
  11.  
  12. /*---------------------------------------------------------------------------
  13. ATV Positions
  14. ---------------------------------------------------------------------------*/
  15. if (_v in ['ATV_US_EP1','ATV_CZ_EP1']) then {
  16.     //Scroll Text,              Slot#,      AttachmentPos,                  Scroll Condition
  17.     ['Fire From Back Seat',         1,      [0,-0.85,-0.95],                '_this in assignedCargo _target'] call P2_FFV_addVeh;
  18.     //Scroll Text,              Slot#,      AttachmentPos,                  Scroll Condition,           Move back to driver seat by default? (optional (true/false))
  19.     ['Fire From Driver Seat',       2,      [0,-0.2,-1],                    '_this == driver _target'true] call P2_FFV_addVeh;
  20.  
  21. };
  22.  
  23. /*---------------------------------------------------------------------------
  24. Hilux Positions
  25. ---------------------------------------------------------------------------*/
  26. if (_v in ['hilux1_civil_1_open','hilux1_civil_3_open','hilux1_civil_3_open_EP1','datsun1_civil_1_open','datsun1_civil_3_open','hilux1_civil_3_open_EP1']) then {
  27.     //Scroll Text,               Slot#,     AttachmentPos,                  Scroll Condition
  28.     ['Fire From Back (Front)',      1,      [0,-1.2,-0.75],                 '_this in assignedCargo _target'] call P2_FFV_addVeh;
  29.     ['Fire From Back (Rear)',       2,      [0,-1.9,-0.75],                 '_this in assignedCargo _target'] call P2_FFV_addVeh;
  30.  
  31. };
  32.  
  33. /*---------------------------------------------------------------------------
  34. MH60/UH60 Positions
  35. ---------------------------------------------------------------------------*/
  36. if (_v in ['UH60M_EP1','UH60M_DZ']) then {
  37.     //Scroll Text,              Slot#,      AttachmentPos,                  Scroll Condition
  38.     ['Fire From Left Door',         1,      [-0.75,1.8,-1.95],              '_this in assignedCargo _target'] call P2_FFV_addVeh;
  39.     ['Fire From Right Door',        2,      [0.75,1.8,-1.95],               '_this in assignedCargo _target'] call P2_FFV_addVeh;
  40.  
  41. };
  42.  
  43. /*---------------------------------------------------------------------------
  44. LittleBird Positions
  45. ---------------------------------------------------------------------------*/
  46. if (_v in ['MH6J_DZ','MH6J_EP1','MH6J2_DZ']) then {
  47.     //Scroll Text,               Slot#,     AttachmentPos,                  Scroll Condition
  48.     ['Fire From Left Skid (Front)',  1,     [-1.11182,1.30444,-1.20752],    '_this in assignedCargo _target'] call P2_FFV_addVeh;
  49.     ['Fire From Left Skid (Rear)',   2,     [-1.07764,0.396729,-1.20259],   '_this in assignedCargo _target'] call P2_FFV_addVeh;
  50.     ['Fire From Right Skid (Front)', 3,     [1.06348,1.29907,-1.194022],    '_this in assignedCargo _target'] call P2_FFV_addVeh;
  51.     ['Fire From Right Skid (Rear)',  4,     [1.06519,0.401123,-1.20002],    '_this in assignedCargo _target'] call P2_FFV_addVeh;
  52. };
  53.  
  54. /*---------------------------------------------------------------------------
  55. Chinook Positions
  56. ---------------------------------------------------------------------------*/
  57. if (_v in ['CH_47F_BAF','CH_47F_DZ','CH_47F_EP1']) then {
  58.     //Scroll Text,               Slot#,     AttachmentPos,                  Scroll Condition
  59.     ['Fire From Gunner Seat',        1,     [0,-6.7,-3.1],                  '_this == gunner _target'] call P2_FFV_addVeh;
  60.     ['Fire From Back Seat (Left)',   2,     [-0.75,-3.8,-2.8],              '_this in assignedCargo _target'] call P2_FFV_addVeh;
  61.     ['Fire From Back Seat (Right)',  3,     [0.75,-3.8,-2.8],               '_this in assignedCargo _target'] call P2_FFV_addVeh;
  62. };
  63.  
  64. /*---------------------------------------------------------------------------
  65. MTVR & Ural Positions
  66. ---------------------------------------------------------------------------*/
  67. if (_v in ['MTVR_DES_EP1','MTVR','MTVR_DZ', 'Ural_CDF', 'UralOpen_CDF', 'Ural_INS', 'UralOpen_INS', 'UralCivil', 'UralCivil2', 'Ural_UN_EP1', 'Ural_TK_CIV_EP1', 'Ural_CDF_DZ']) then {
  68.     //Scroll Text,               Slot#,     AttachmentPos,                  Scroll Condition
  69.     ['Fire From Back Seat (Left)',   1,     [0.7,-2.8,-0.48],               '_this in assignedCargo _target'] call P2_FFV_addVeh;
  70.     ['Fire From Back Seat (Right)',  2,     [-0.7,-2.8,-0.48],              '_this in assignedCargo _target'] call P2_FFV_addVeh;
  71. };
  72.  
  73. /*---------------------------------------------------------------------------
  74. V3S & Kamaz Positions
  75. ---------------------------------------------------------------------------*/
  76. if (_v in ['V3S_TK_EP1', 'V3S_Open_TK_EP1', 'V3S_Open_TK_CIV_EP1', 'V3S_TK_GUE_EP1', 'V3S_Civ', 'Kamaz', 'KamazOpen']) then {
  77.     //Scroll Text,               Slot#,     AttachmentPos,                  Scroll Condition
  78.     ['Fire From Back Seat (Left)',   1,     [0.7,-2.2,-0.7],                '_this in assignedCargo _target'] call P2_FFV_addVeh;
  79.     ['Fire From Back Seat (Right)',  2,     [-0.7,-2.2,-0.7],               '_this in assignedCargo _target'] call P2_FFV_addVeh;
  80. };
  81.  
  82. /*---------------------------------------------------------------------------
  83. UH1Y Positions
  84. ---------------------------------------------------------------------------*/
  85. if (_v in ['UH1Y','UH1Y_DZ']) then {
  86.     //Scroll Text,               Slot#,     AttachmentPos,                  Scroll Condition
  87.     ['Fire From Left Door',         1,      [-0.6,-3.8,-1.4],               '_this in assignedCargo _target'] call P2_FFV_addVeh;
  88.     ['Fire From Right Door',        2,      [0.6,-3.8,-1.4],                '_this in assignedCargo _target'] call P2_FFV_addVeh;
  89. };
  90.  
  91. /*---------------------------------------------------------------------------
  92. HMMV Positions
  93. ---------------------------------------------------------------------------*/
  94. if (_v in ['HMMWV_M998A2_SOV_DES_EP1','HMMWV_M1151_M2_DES_EP1','HMMWV_M1151_M2_CZ_DES_EP1','HMMWV_MK19_DES_EP1','HMMWV_TOW_DES_EP1','HMMWV_M998A2_SOV_DES_EP1','HMMWV_M2_USArmy','HMMWV_Mk19_USArmy','HMMWV_Armored','HMMWV_M2','HMMWV_M2_DZ','HMMWV_Armored_DZ']) then {
  95.  
  96.     //Scroll Text,               Slot#,     AttachmentPos,                  Scroll Condition
  97.     ['Fire From Gunner Seat',        1,     [0,-0.3,-1.4],                  '_this == gunner _target'] call P2_FFV_addVeh;
  98. };
  99.  
  100. /*---------------------------------------------------------------------------
  101. SUV Positions
  102. ---------------------------------------------------------------------------*/
  103. if (_v in ['ArmoredSUV_PMC','SUV_Armored_DZ']) then {
  104.     //Scroll Text,               Slot#,     AttachmentPos,                  Scroll Condition
  105.     ['Fire From Gunner Seat',        1,     [0,-1.55,-1.25],                '_this == gunner _target'] call P2_FFV_addVeh;
  106. };
  107. /*---------------------------------------------------------------------------
  108. Next Vehicle Positions
  109. ---------------------------------------------------------------------------*/
  110.  
  111. /*              End Of Positions
  112. ---------------------------------------------------------------------------*/
  113.  
  114. //byPlayer2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement