Skip to content
This repository has been archived by the owner on Mar 20, 2018. It is now read-only.

initial vehicle servicepoint #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
_veh = _this select 0;
_veh setVariable ["loadoutName", "Infantry Loadout", true];
//Clear Cargo
clearItemCargoGlobal _veh;
clearWeaponCargoGlobal _veh;
clearMagazineCargoGlobal _veh;
clearBackpackCargoGlobal _veh;

//Medic
_veh addItemCargoGlobal ["ACE_fieldDressing",10];
_veh addItemCargoGlobal ["ACE_packingBandage",10];
_veh addItemCargoGlobal ["ACE_elasticBandage",10];
_veh addItemCargoGlobal ["ACE_salineIV_500",4];
_veh addItemCargoGlobal ["ACE_tourniquet", 4];
_veh addItemCargoGlobal ["ACE_morphine",5];
_veh addItemCargoGlobal ["ACE_epinephrine",5];

//Grenades
_veh addMagazineCargoGlobal ["SmokeShell",8];
_veh addMagazineCargoGlobal ["SmokeShellGreen",3];
_veh addMagazineCargoGlobal ["SmokeShellRed",3];
_veh addMagazineCargoGlobal ["SmokeShellBLue",2];

_veh addItemCargoGlobal ["ItemRadio",2];
_veh addItemCargoGlobal ["ACE_Flashlight_XL50",4];

_veh addWeaponCargoGlobal ["ACE_Vector",1];
_veh addItemCargoGlobal ["B_UavTerminal",1];

//Items
_veh addItemCargoGlobal ["rhsusf_ANPVS_15",4];
// Weapons
_veh addWeaponCargoGlobal ["rhs_weap_m4a1_carryhandle",2];
_veh addWeaponCargoGlobal ["rhs_weap_m16a4_carryhandle",1];
_veh addWeaponCargoGlobal ["rhs_weap_m16a4_carryhandle_M203",1];

// Ammo
_veh addMagazineCargoGlobal ["rhs_mag_30Rnd_556x45_Mk318_Stanag",30];
_veh addMagazineCargoGlobal ["1Rnd_HE_Grenade_shell",12];
_veh addMagazineCargoGlobal ["1Rnd_Smoke_Grenade_shell",8];
_veh addMagazineCargoGlobal ["1Rnd_SmokeGreen_Grenade_shell",8];
_veh addMagazineCargoGlobal ["1Rnd_SmokeRed_Grenade_shell",4];

// Attachments
_veh addItemCargoGlobal ["rhsusf_acc_eotech_552",2];
_veh addItemCargoGlobal ["rhsusf_acc_ACOG_USMC",2];
_veh addItemCargoGlobal ["rhsusf_acc_anpeq15",4];
_veh addItemCargoGlobal ["U_B_Wetsuit",6];
_veh addItemCargoGlobal ["V_RebreatherB",6];
_veh addItemCargoGlobal ["G_Diving",6];

// Launcher
_veh addWeaponCargoGlobal ["tf47_at4_heat",3];

// LMG
_veh addWeaponCargoGlobal ["rhs_weap_m249_pip_L",1];
_veh addMagazineCargoGlobal ["rhs_200rnd_556x45_T_SAW",4];
// Radios

_veh addItemCargoGlobal ["tf_rt1523g",1];
_veh addItemCargoGlobal ["tf_anprc152",6];
158 changes: 158 additions & 0 deletions TF47 MISSION TEMPLATE.VR/TF47/vehicleservice/loadout/loadoutCarAT.sqf
Original file line number Diff line number Diff line change
@@ -0,0 +1,158 @@
_veh = _this select 0;
_veh setVariable ["loadoutName", "Anti Tank Loadout", true];
//Clear Cargo
clearItemCargoGlobal _veh;
clearWeaponCargoGlobal _veh;
clearMagazineCargoGlobal _veh;
clearBackpackCargoGlobal _veh;

if (_veh isKindOf "MRAP_01_base_F") then {
if (tf47_vehicleservice_debug) then {hint "Car detected"};
if (tf47_ace_active) then {
//Medic
_veh addItemCargoGlobal ["ACE_fieldDressing",10];
_veh addItemCargoGlobal ["ACE_packingBandage",10];
_veh addItemCargoGlobal ["ACE_elasticBandage",10];
_veh addItemCargoGlobal ["ACE_salineIV_500",4];
_veh addItemCargoGlobal ["ACE_tourniquet", 4];
_veh addItemCargoGlobal ["ACE_morphine",5];
_veh addItemCargoGlobal ["ACE_epinephrine",5];
//Item
_veh addItemCargoGlobal ["ACE_Flashlight_XL50",4];
_veh addWeaponCargoGlobal ["ACE_Vector",1];
};
if (tf47_rhs_active) then {
//Items
//_veh addItemCargoGlobal ["rhsusf_ANPVS_15",4];
//Weapons

_veh addWeaponCargoGlobal ["rhs_weap_fim92", 1];
//_veh addWeaponCargoGlobal ["rhs_weap_fgm148", 1];
// Ammo
_veh addMagazineCargoGlobal ["rhs_fim92_mag",3];
//_veh addMagazineCargoGlobal ["rhs_fgm148_magazine_AT",1];

// Attachments
//_veh addItemCargoGlobal ["rhsusf_acc_ACOG_USMC",2];
};
if (tf47_tfr_active) then {
_veh addItemCargoGlobal ["tf_rt1523g",1];
_veh addItemCargoGlobal ["tf_anprc152",4];
};
if (tf47_tf47launchers_active) then {
//_veh addWeaponCargoGlobal ["tf47_at4_heat",2];
_veh addMagazineCargoGlobal ["tf47_m3maaws_heat", 8];
_veh addMagazineCargoGlobal ["tf47_m3maaws_he", 2];
_veh addWeaponCargoGlobal ["tf47_m3maaws",2];
_veh addItemCargoGlobal ["tf47_optic_m3maaws", 2];
} else {
if (tf47_rhs_active) then {
// _veh addWeaponCargoGlobal ["rhs_weap_M136",2];
// _veh addItemCargoGlobal ["rhs_m136_mag",2];
};
};
//Vanilla always add Items
_veh addMagazineCargoGlobal ["SmokeShellGreen",2];
_veh addMagazineCargoGlobal ["SmokeShellRed",2];
_veh addMagazineCargoGlobal ["SmokeShell",4];
};
if (_veh isKindOf "Truck_01_base_F") then {
if (tf47_vehicleservice_debug) then {hint "Truck detected"};
if (tf47_ace_active) then {
//Medic
_veh addItemCargoGlobal ["ACE_fieldDressing",10];
_veh addItemCargoGlobal ["ACE_packingBandage",10];
_veh addItemCargoGlobal ["ACE_elasticBandage",10];
_veh addItemCargoGlobal ["ACE_salineIV_500",4];
_veh addItemCargoGlobal ["ACE_tourniquet", 4];
_veh addItemCargoGlobal ["ACE_morphine",5];
_veh addItemCargoGlobal ["ACE_epinephrine",5];
//Item
_veh addItemCargoGlobal ["ACE_Flashlight_XL50",4];
_veh addWeaponCargoGlobal ["ACE_Vector",1];
};
if (tf47_rhs_active) then {
//Items
//_veh addItemCargoGlobal ["rhsusf_ANPVS_15",4];
//Weapons
//_veh addWeaponCargoGlobal ["rhs_weap_m4a1_carryhandle",2];
_veh addWeaponCargoGlobal ["rhs_weap_fim92", 1];
_veh addWeaponCargoGlobal ["rhs_weap_fgm148", 1];
// Ammo
_veh addMagazineCargoGlobal ["rhs_fim92_mag",3];
_veh addMagazineCargoGlobal ["rhs_fgm148_magazine_AT",1];
//_veh addMagazineCargoGlobal ["rhs_mag_30Rnd_556x45_Mk318_Stanag",10];
// Attachments
//_veh addItemCargoGlobal ["rhsusf_acc_ACOG_USMC",2];
};
if (tf47_tfr_active) then {
_veh addItemCargoGlobal ["tf_rt1523g",1];
_veh addItemCargoGlobal ["tf_anprc152",4];
};
if (tf47_tf47launchers_active) then {
_veh addWeaponCargoGlobal ["tf47_at4_heat",2];
_veh addMagazineCargoGlobal ["tf47_m3maaws_heat", 10];
_veh addMagazineCargoGlobal ["tf47_m3maaws_he", 2];
_veh addWeaponCargoGlobal ["tf47_m3maaws",2];
_veh addItemCargoGlobal ["tf47_optic_m3maaws", 2];
} else {
if (tf47_rhs_active) then {
_veh addWeaponCargoGlobal ["rhs_weap_M136",2];
_veh addItemCargoGlobal ["rhs_m136_mag",2];
};
};
//Vanilla always add Items
_veh addMagazineCargoGlobal ["SmokeShellGreen",5];
_veh addMagazineCargoGlobal ["SmokeShellRed",5];
_veh addMagazineCargoGlobal ["SmokeShell",10];
};
if (_veh isKindOf "Tank_F") then {
if (tf47_vehicleservice_debug) then {hint "Tank detected"};
if (tf47_ace_active) then {
//Medic
_veh addItemCargoGlobal ["ACE_fieldDressing",10];
_veh addItemCargoGlobal ["ACE_packingBandage",10];
_veh addItemCargoGlobal ["ACE_elasticBandage",10];
_veh addItemCargoGlobal ["ACE_salineIV_500",4];
_veh addItemCargoGlobal ["ACE_tourniquet", 4];
_veh addItemCargoGlobal ["ACE_morphine",5];
_veh addItemCargoGlobal ["ACE_epinephrine",5];
//Item
_veh addItemCargoGlobal ["ACE_Flashlight_XL50",4];
_veh addWeaponCargoGlobal ["ACE_Vector",1];
};
if (tf47_rhs_active) then {
//Items
//_veh addItemCargoGlobal ["rhsusf_ANPVS_15",4];
//Weapons

_veh addWeaponCargoGlobal ["rhs_weap_fim92", 1];
//_veh addWeaponCargoGlobal ["rhs_weap_fgm148", 1];
// Ammo
_veh addMagazineCargoGlobal ["rhs_fim92_mag",3];
//_veh addMagazineCargoGlobal ["rhs_fgm148_magazine_AT",1];

// Attachments
//_veh addItemCargoGlobal ["rhsusf_acc_ACOG_USMC",2];
};
if (tf47_tfr_active) then {
_veh addItemCargoGlobal ["tf_rt1523g",1];
_veh addItemCargoGlobal ["tf_anprc152",4];
};
if (tf47_tf47launchers_active) then {
//_veh addWeaponCargoGlobal ["tf47_at4_heat",2];
_veh addMagazineCargoGlobal ["tf47_m3maaws_heat", 8];
_veh addMagazineCargoGlobal ["tf47_m3maaws_he", 2];
_veh addWeaponCargoGlobal ["tf47_m3maaws",2];
_veh addItemCargoGlobal ["tf47_optic_m3maaws", 2];
} else {
if (tf47_rhs_active) then {
// _veh addWeaponCargoGlobal ["rhs_weap_M136",2];
// _veh addItemCargoGlobal ["rhs_m136_mag",2];
};
};
//Vanilla always add Items
_veh addMagazineCargoGlobal ["SmokeShellGreen",2];
_veh addMagazineCargoGlobal ["SmokeShellRed",2];
_veh addMagazineCargoGlobal ["SmokeShell",4];
};
164 changes: 164 additions & 0 deletions TF47 MISSION TEMPLATE.VR/TF47/vehicleservice/loadout/loadoutCarCO.sqf
Original file line number Diff line number Diff line change
@@ -0,0 +1,164 @@
_veh = _this select 0;
_veh setVariable ["loadoutName", "Combined Operations Loadout", true];
//Clear Cargo
clearItemCargoGlobal _veh;
clearWeaponCargoGlobal _veh;
clearMagazineCargoGlobal _veh;
clearBackpackCargoGlobal _veh;

if (_veh isKindOf "MRAP_01_base_F") then {
if (tf47_vehicleservice_debug) then {hint "Car detected"};
if (tf47_ace_active) then {
//Medic
_veh addItemCargoGlobal ["ACE_fieldDressing",10];
_veh addItemCargoGlobal ["ACE_packingBandage",10];
_veh addItemCargoGlobal ["ACE_elasticBandage",10];
_veh addItemCargoGlobal ["ACE_salineIV_500",4];
_veh addItemCargoGlobal ["ACE_tourniquet", 4];
_veh addItemCargoGlobal ["ACE_morphine",5];
_veh addItemCargoGlobal ["ACE_epinephrine",5];
//Item
_veh addItemCargoGlobal ["ACE_Flashlight_XL50",4];
_veh addWeaponCargoGlobal ["ACE_Vector",1];
_veh addItemCargoGlobal ["ACE_EarPlugs",4];
};
if (tf47_rhs_active) then {
//Items
_veh addItemCargoGlobal ["rhsusf_ANPVS_15",4];
//Weapons
_veh addWeaponCargoGlobal ["rhs_weap_m4a1_carryhandle",2];
_veh addWeaponCargoGlobal ["rhs_weap_m16a4_carryhandle",1];
_veh addWeaponCargoGlobal ["rhs_weap_m16a4_carryhandle_M203",1];
//Ammo
_veh addMagazineCargoGlobal ["rhs_mag_30Rnd_556x45_Mk318_Stanag",40];
_veh addMagazineCargoGlobal ["1Rnd_HE_Grenade_shell",10];

// Attachments
_veh addItemCargoGlobal ["rhsusf_acc_ACOG_USMC",2];
};
if (tf47_tfr_active) then {
_veh addItemCargoGlobal ["tf_rt1523g",1];
_veh addItemCargoGlobal ["tf_anprc152",4];
};
if (tf47_tf47launchers_active) then {
_veh addWeaponCargoGlobal ["tf47_at4_heat",2];
_veh addMagazineCargoGlobal ["tf47_m3maaws_heat", 4];
_veh addWeaponCargoGlobal ["tf47_m3maaws",1];
_veh addItemCargoGlobal ["tf47_optic_m3maaws", 1];
} else {
if (tf47_rhs_active) then {
_veh addWeaponCargoGlobal ["rhs_weap_M136",2];
_veh addItemCargoGlobal ["rhs_m136_mag",2];
};
};
//Vanilla always add Items
_veh addMagazineCargoGlobal ["SmokeShell",3];
_veh addMagazineCargoGlobal ["SmokeShellGreen",3];
_veh addMagazineCargoGlobal ["SmokeShellRed",3];
_veh addMagazineCargoGlobal ["SmokeShellBLue",3];
_veh addMagazineCargoGlobal ["HandGrenade",5];
};
if (_veh isKindOf "Truck_01_base_F") then {
if (tf47_vehicleservice_debug) then {hint "Car detected"};
if (tf47_ace_active) then {
//Medic
_veh addItemCargoGlobal ["ACE_fieldDressing",10];
_veh addItemCargoGlobal ["ACE_packingBandage",10];
_veh addItemCargoGlobal ["ACE_elasticBandage",10];
_veh addItemCargoGlobal ["ACE_salineIV_500",4];
_veh addItemCargoGlobal ["ACE_tourniquet", 4];
_veh addItemCargoGlobal ["ACE_morphine",5];
_veh addItemCargoGlobal ["ACE_epinephrine",5];
//Item
_veh addItemCargoGlobal ["ACE_Flashlight_XL50",4];
_veh addWeaponCargoGlobal ["ACE_Vector",1];
_veh addItemCargoGlobal ["ACE_EarPlugs",4];
};
if (tf47_rhs_active) then {
//Items
_veh addItemCargoGlobal ["rhsusf_ANPVS_15",4];
//Weapons
_veh addWeaponCargoGlobal ["rhs_weap_m4a1_carryhandle",4];
_veh addWeaponCargoGlobal ["rhs_weap_m16a4_carryhandle",1];
_veh addWeaponCargoGlobal ["rhs_weap_m16a4_carryhandle_M203",1];
//Ammo
_veh addMagazineCargoGlobal ["rhs_mag_30Rnd_556x45_Mk318_Stanag",60];
_veh addMagazineCargoGlobal ["1Rnd_HE_Grenade_shell",10];

// Attachments
_veh addItemCargoGlobal ["rhsusf_acc_ACOG_USMC",4];
};
if (tf47_tfr_active) then {
_veh addItemCargoGlobal ["tf_rt1523g",1];
_veh addItemCargoGlobal ["tf_anprc152",4];
};
if (tf47_tf47launchers_active) then {
_veh addWeaponCargoGlobal ["tf47_at4_heat",4];
_veh addMagazineCargoGlobal ["tf47_m3maaws_heat", 6];
_veh addWeaponCargoGlobal ["tf47_m3maaws",1];
_veh addItemCargoGlobal ["tf47_optic_m3maaws", 1];
} else {
if (tf47_rhs_active) then {
_veh addWeaponCargoGlobal ["rhs_weap_M136",2];
_veh addItemCargoGlobal ["rhs_m136_mag",2];
};
};
//Vanilla always add Items
_veh addMagazineCargoGlobal ["SmokeShell",3];
_veh addMagazineCargoGlobal ["SmokeShellGreen",3];
_veh addMagazineCargoGlobal ["SmokeShellRed",3];
_veh addMagazineCargoGlobal ["SmokeShellBLue",3];
_veh addMagazineCargoGlobal ["HandGrenade",10];
};
if (_veh isKindOf "Tank_F") then {
if (tf47_vehicleservice_debug) then {hint "Car detected"};
if (tf47_ace_active) then {
//Medic
_veh addItemCargoGlobal ["ACE_fieldDressing",10];
_veh addItemCargoGlobal ["ACE_packingBandage",10];
_veh addItemCargoGlobal ["ACE_elasticBandage",10];
_veh addItemCargoGlobal ["ACE_salineIV_500",4];
_veh addItemCargoGlobal ["ACE_tourniquet", 4];
_veh addItemCargoGlobal ["ACE_morphine",5];
_veh addItemCargoGlobal ["ACE_epinephrine",5];
//Item
_veh addItemCargoGlobal ["ACE_Flashlight_XL50",4];
_veh addWeaponCargoGlobal ["ACE_Vector",1];
_veh addItemCargoGlobal ["ACE_EarPlugs",4];
};
if (tf47_rhs_active) then {
//Items
_veh addItemCargoGlobal ["rhsusf_ANPVS_15",4];
//Weapons
_veh addWeaponCargoGlobal ["rhs_weap_m4a1_carryhandle",2];
_veh addWeaponCargoGlobal ["rhs_weap_m16a4_carryhandle",1];
_veh addWeaponCargoGlobal ["rhs_weap_m16a4_carryhandle_M203",1];
//Ammo
_veh addMagazineCargoGlobal ["rhs_mag_30Rnd_556x45_Mk318_Stanag",40];
_veh addMagazineCargoGlobal ["1Rnd_HE_Grenade_shell",10];

// Attachments
_veh addItemCargoGlobal ["rhsusf_acc_ACOG_USMC",2];
};
if (tf47_tfr_active) then {
_veh addItemCargoGlobal ["tf_rt1523g",1];
_veh addItemCargoGlobal ["tf_anprc152",4];
};
if (tf47_tf47launchers_active) then {
_veh addWeaponCargoGlobal ["tf47_at4_heat",1];
_veh addMagazineCargoGlobal ["tf47_m3maaws_heat", 2];
_veh addWeaponCargoGlobal ["tf47_m3maaws",1];
_veh addItemCargoGlobal ["tf47_optic_m3maaws", 1];
} else {
if (tf47_rhs_active) then {
_veh addWeaponCargoGlobal ["rhs_weap_M136",1];
_veh addItemCargoGlobal ["rhs_m136_mag",1];
};
};
//Vanilla always add Items
_veh addMagazineCargoGlobal ["SmokeShell",3];
_veh addMagazineCargoGlobal ["SmokeShellGreen",3];
_veh addMagazineCargoGlobal ["SmokeShellRed",3];
_veh addMagazineCargoGlobal ["SmokeShellBLue",3];
_veh addMagazineCargoGlobal ["HandGrenade",5];
};
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
_veh = _this select 0;
_veh setVariable ["loadoutName", "Empty", true];
//Clear Cargo
clearItemCargoGlobal _veh;
clearWeaponCargoGlobal _veh;
clearMagazineCargoGlobal _veh;
clearBackpackCargoGlobal _veh;
Loading