Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * File: positions.sqf
- * Author: Player2 - Player2DZ@gmail.com
- * Date: 2016-03-04
- */
- private['_v']; _v = typeOf(vehicle player);
- /*--------------------------------------------------------------------------*/
- /* Start of Positions
- /*---------------------------------------------------------------------------
- ATV Positions
- ---------------------------------------------------------------------------*/
- if (_v in ['ATV_US_EP1','ATV_CZ_EP1']) then {
- //Scroll Text, Slot#, AttachmentPos, Scroll Condition
- ['Fire From Back Seat', 1, [0,-0.85,-0.95], '_this in assignedCargo _target'] call P2_FFV_addVeh;
- //Scroll Text, Slot#, AttachmentPos, Scroll Condition, Move back to driver seat by default? (optional (true/false))
- ['Fire From Driver Seat', 2, [0,-0.2,-1], '_this == driver _target', true] call P2_FFV_addVeh;
- };
- /*---------------------------------------------------------------------------
- Hilux Positions
- ---------------------------------------------------------------------------*/
- 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 {
- //Scroll Text, Slot#, AttachmentPos, Scroll Condition
- ['Fire From Back (Front)', 1, [0,-1.2,-0.75], '_this in assignedCargo _target'] call P2_FFV_addVeh;
- ['Fire From Back (Rear)', 2, [0,-1.9,-0.75], '_this in assignedCargo _target'] call P2_FFV_addVeh;
- };
- /*---------------------------------------------------------------------------
- MH60/UH60 Positions
- ---------------------------------------------------------------------------*/
- if (_v in ['UH60M_EP1','UH60M_DZ']) then {
- //Scroll Text, Slot#, AttachmentPos, Scroll Condition
- ['Fire From Left Door', 1, [-0.75,1.8,-1.95], '_this in assignedCargo _target'] call P2_FFV_addVeh;
- ['Fire From Right Door', 2, [0.75,1.8,-1.95], '_this in assignedCargo _target'] call P2_FFV_addVeh;
- };
- /*---------------------------------------------------------------------------
- LittleBird Positions
- ---------------------------------------------------------------------------*/
- if (_v in ['MH6J_DZ','MH6J_EP1','MH6J2_DZ']) then {
- //Scroll Text, Slot#, AttachmentPos, Scroll Condition
- ['Fire From Left Skid (Front)', 1, [-1.11182,1.30444,-1.20752], '_this in assignedCargo _target'] call P2_FFV_addVeh;
- ['Fire From Left Skid (Rear)', 2, [-1.07764,0.396729,-1.20259], '_this in assignedCargo _target'] call P2_FFV_addVeh;
- ['Fire From Right Skid (Front)', 3, [1.06348,1.29907,-1.194022], '_this in assignedCargo _target'] call P2_FFV_addVeh;
- ['Fire From Right Skid (Rear)', 4, [1.06519,0.401123,-1.20002], '_this in assignedCargo _target'] call P2_FFV_addVeh;
- };
- /*---------------------------------------------------------------------------
- Chinook Positions
- ---------------------------------------------------------------------------*/
- if (_v in ['CH_47F_BAF','CH_47F_DZ','CH_47F_EP1']) then {
- //Scroll Text, Slot#, AttachmentPos, Scroll Condition
- ['Fire From Gunner Seat', 1, [0,-6.7,-3.1], '_this == gunner _target'] call P2_FFV_addVeh;
- ['Fire From Back Seat (Left)', 2, [-0.75,-3.8,-2.8], '_this in assignedCargo _target'] call P2_FFV_addVeh;
- ['Fire From Back Seat (Right)', 3, [0.75,-3.8,-2.8], '_this in assignedCargo _target'] call P2_FFV_addVeh;
- };
- /*---------------------------------------------------------------------------
- MTVR & Ural Positions
- ---------------------------------------------------------------------------*/
- 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 {
- //Scroll Text, Slot#, AttachmentPos, Scroll Condition
- ['Fire From Back Seat (Left)', 1, [0.7,-2.8,-0.48], '_this in assignedCargo _target'] call P2_FFV_addVeh;
- ['Fire From Back Seat (Right)', 2, [-0.7,-2.8,-0.48], '_this in assignedCargo _target'] call P2_FFV_addVeh;
- };
- /*---------------------------------------------------------------------------
- V3S & Kamaz Positions
- ---------------------------------------------------------------------------*/
- if (_v in ['V3S_TK_EP1', 'V3S_Open_TK_EP1', 'V3S_Open_TK_CIV_EP1', 'V3S_TK_GUE_EP1', 'V3S_Civ', 'Kamaz', 'KamazOpen']) then {
- //Scroll Text, Slot#, AttachmentPos, Scroll Condition
- ['Fire From Back Seat (Left)', 1, [0.7,-2.2,-0.7], '_this in assignedCargo _target'] call P2_FFV_addVeh;
- ['Fire From Back Seat (Right)', 2, [-0.7,-2.2,-0.7], '_this in assignedCargo _target'] call P2_FFV_addVeh;
- };
- /*---------------------------------------------------------------------------
- UH1Y Positions
- ---------------------------------------------------------------------------*/
- if (_v in ['UH1Y','UH1Y_DZ']) then {
- //Scroll Text, Slot#, AttachmentPos, Scroll Condition
- ['Fire From Left Door', 1, [-0.6,-3.8,-1.4], '_this in assignedCargo _target'] call P2_FFV_addVeh;
- ['Fire From Right Door', 2, [0.6,-3.8,-1.4], '_this in assignedCargo _target'] call P2_FFV_addVeh;
- };
- /*---------------------------------------------------------------------------
- HMMV Positions
- ---------------------------------------------------------------------------*/
- 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 {
- //Scroll Text, Slot#, AttachmentPos, Scroll Condition
- ['Fire From Gunner Seat', 1, [0,-0.3,-1.4], '_this == gunner _target'] call P2_FFV_addVeh;
- };
- /*---------------------------------------------------------------------------
- SUV Positions
- ---------------------------------------------------------------------------*/
- if (_v in ['ArmoredSUV_PMC','SUV_Armored_DZ']) then {
- //Scroll Text, Slot#, AttachmentPos, Scroll Condition
- ['Fire From Gunner Seat', 1, [0,-1.55,-1.25], '_this == gunner _target'] call P2_FFV_addVeh;
- };
- /*---------------------------------------------------------------------------
- Next Vehicle Positions
- ---------------------------------------------------------------------------*/
- /* End Of Positions
- ---------------------------------------------------------------------------*/
- //byPlayer2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement