Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added airframe pylon and cosmetics #1017

Open
wants to merge 1 commit into
base: main
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
222 changes: 134 additions & 88 deletions cScripts/cScripts_pylons.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
]]
]],
[ "default", [
["displayName", "Default"],
["displayName", "Mixed"],
["icon", ""],
["loadout", [
["rhs_mag_smokegen",[-1],999],
Expand Down Expand Up @@ -177,93 +177,6 @@
]]
]]
]],
["rhsusf_M1165A1_GMV_SAG2_M2_M240_base", [
["default",[
["displayName", "Default"],
["icon", ""],
["loadout",[
["rhs_mag_100rnd_127x99_mag_Tracer_Red",[0],100],
["rhs_mag_100rnd_127x99_mag_Tracer_Red",[0],100],
["rhs_mag_100rnd_127x99_mag_Tracer_Red",[0],100],
["rhs_mag_100rnd_127x99_mag_Tracer_Red",[0],100],
["rhs_mag_100rnd_127x99_mag_Tracer_Red",[0],100],
["rhs_mag_100rnd_127x99_mag_Tracer_Red",[0],100],
["rhs_mag_100rnd_127x99_mag_Tracer_Red",[0],100],
["rhs_mag_100rnd_127x99_mag_Tracer_Red",[0],100],
["rhs_mag_100rnd_127x99_mag_Tracer_Red",[0],100],
["rhs_mag_100rnd_127x99_mag_Tracer_Red",[0],100],
["rhs_mag_100rnd_127x99_mag_Tracer_Red",[0],100],
["rhs_mag_762x51_M240_200",[2],200],
["rhs_mag_762x51_M240_200",[2],200],
["rhs_mag_762x51_M240_200",[2],200],
["rhs_mag_762x51_M240_200",[2],200],
["rhs_mag_762x51_M240_200",[2],200],
["rhs_mag_762x51_M240_200",[2],200],
["rhs_mag_762x51_M240_200",[2],200],
["rhs_mag_762x51_M240_200",[2],200],
["rhs_mag_762x51_M240_200",[2],200],
["rhs_mag_762x51_M240_200",[2],200],
["rhs_mag_762x51_M240_200",[2],200],
["rhs_mag_762x51_M240_200",[3],200],
["rhs_mag_762x51_M240_200",[3],200],
["rhs_mag_762x51_M240_200",[3],200],
["rhs_mag_762x51_M240_200",[3],200],
["rhs_mag_762x51_M240_200",[3],200],
["rhs_mag_762x51_M240_200",[3],200],
["rhs_mag_762x51_M240_200",[3],200],
["rhs_mag_762x51_M240_200",[3],200],
["rhs_mag_762x51_M240_200",[3],200],
["rhs_mag_762x51_M240_200",[3],200],
["rhs_mag_762x51_M240_200",[3],200]
]]
]]
]],
["rhsusf_M1165A1_GMV_SAG2_Mk19_M240_base", [
["default",[
["displayName", "Default"],
["icon", ""],
["loadout",[
["RHS_48Rnd_40mm_MK19_M430A1",[0],48],
["RHS_48Rnd_40mm_MK19_M430A1",[0],48],
["RHS_48Rnd_40mm_MK19_M430A1",[0],48],
["RHS_48Rnd_40mm_MK19_M430A1",[0],48],
["RHS_48Rnd_40mm_MK19_M430A1",[0],48],
["RHS_48Rnd_40mm_MK19_M430A1",[0],48],
["RHS_48Rnd_40mm_MK19_M430A1",[0],48],
["RHS_48Rnd_40mm_MK19_M430A1",[0],48],
["RHS_48Rnd_40mm_MK19_M430A1",[0],48],
["RHS_48Rnd_40mm_MK19_M430A1",[0],48],
["RHS_48Rnd_40mm_MK19_M430A1",[0],48],
["RHS_48Rnd_40mm_MK19_M430A1",[0],48],
["RHS_48Rnd_40mm_MK19_M430A1",[0],48],
["RHS_48Rnd_40mm_MK19_M430A1",[0],48],
["RHS_48Rnd_40mm_MK19_M430A1",[0],48],
["RHS_48Rnd_40mm_MK19_M430A1",[0],48],
["rhs_mag_762x51_M240_200",[2],200],
["rhs_mag_762x51_M240_200",[2],200],
["rhs_mag_762x51_M240_200",[2],200],
["rhs_mag_762x51_M240_200",[2],200],
["rhs_mag_762x51_M240_200",[2],200],
["rhs_mag_762x51_M240_200",[2],200],
["rhs_mag_762x51_M240_200",[2],200],
["rhs_mag_762x51_M240_200",[2],200],
["rhs_mag_762x51_M240_200",[2],200],
["rhs_mag_762x51_M240_200",[2],200],
["rhs_mag_762x51_M240_200",[2],200],
["rhs_mag_762x51_M240_200",[3],200],
["rhs_mag_762x51_M240_200",[3],200],
["rhs_mag_762x51_M240_200",[3],200],
["rhs_mag_762x51_M240_200",[3],200],
["rhs_mag_762x51_M240_200",[3],200],
["rhs_mag_762x51_M240_200",[3],200],
["rhs_mag_762x51_M240_200",[3],200],
["rhs_mag_762x51_M240_200",[3],200],
["rhs_mag_762x51_M240_200",[3],200],
["rhs_mag_762x51_M240_200",[3],200],
["rhs_mag_762x51_M240_200",[3],200]
]]
]]
]],
["B_AFV_Wheeled_01_up_cannon_F", [
["default",[
["displayName", "Heavy HEATFS-T"],
Expand Down Expand Up @@ -432,4 +345,137 @@
]]
]]
]]

["rhsusf_M1165A1_GMV_SAG2_M2_M240_base", [
["default",[
["displayName", "Default"],
["icon", ""],
["loadout",[
["rhs_mag_100rnd_127x99_mag_Tracer_Red",[0],100],
["rhs_mag_100rnd_127x99_mag_Tracer_Red",[0],100],
["rhs_mag_100rnd_127x99_mag_Tracer_Red",[0],100],
["rhs_mag_100rnd_127x99_mag_Tracer_Red",[0],100],
["rhs_mag_100rnd_127x99_mag_Tracer_Red",[0],100],
["rhs_mag_100rnd_127x99_mag_Tracer_Red",[0],100],
["rhs_mag_100rnd_127x99_mag_Tracer_Red",[0],100],
["rhs_mag_100rnd_127x99_mag_Tracer_Red",[0],100],
["rhs_mag_100rnd_127x99_mag_Tracer_Red",[0],100],
["rhs_mag_100rnd_127x99_mag_Tracer_Red",[0],100],
["rhs_mag_100rnd_127x99_mag_Tracer_Red",[0],100],
["rhs_mag_762x51_M240_200",[2],200],
["rhs_mag_762x51_M240_200",[2],200],
["rhs_mag_762x51_M240_200",[2],200],
["rhs_mag_762x51_M240_200",[2],200],
["rhs_mag_762x51_M240_200",[2],200],
["rhs_mag_762x51_M240_200",[2],200],
["rhs_mag_762x51_M240_200",[2],200],
["rhs_mag_762x51_M240_200",[2],200],
["rhs_mag_762x51_M240_200",[2],200],
["rhs_mag_762x51_M240_200",[2],200],
["rhs_mag_762x51_M240_200",[2],200],
["rhs_mag_762x51_M240_200",[3],200],
["rhs_mag_762x51_M240_200",[3],200],
["rhs_mag_762x51_M240_200",[3],200],
["rhs_mag_762x51_M240_200",[3],200],
["rhs_mag_762x51_M240_200",[3],200],
["rhs_mag_762x51_M240_200",[3],200],
["rhs_mag_762x51_M240_200",[3],200],
["rhs_mag_762x51_M240_200",[3],200],
["rhs_mag_762x51_M240_200",[3],200],
["rhs_mag_762x51_M240_200",[3],200],
["rhs_mag_762x51_M240_200",[3],200]
]]
]]
]],
["rhsusf_M1165A1_GMV_SAG2_Mk19_M240_base", [
["default",[
["displayName", "Default"],
["icon", ""],
["loadout",[
["RHS_48Rnd_40mm_MK19_M430A1",[0],48],
["RHS_48Rnd_40mm_MK19_M430A1",[0],48],
["RHS_48Rnd_40mm_MK19_M430A1",[0],48],
["RHS_48Rnd_40mm_MK19_M430A1",[0],48],
["RHS_48Rnd_40mm_MK19_M430A1",[0],48],
["RHS_48Rnd_40mm_MK19_M430A1",[0],48],
["RHS_48Rnd_40mm_MK19_M430A1",[0],48],
["RHS_48Rnd_40mm_MK19_M430A1",[0],48],
["RHS_48Rnd_40mm_MK19_M430A1",[0],48],
["RHS_48Rnd_40mm_MK19_M430A1",[0],48],
["RHS_48Rnd_40mm_MK19_M430A1",[0],48],
["RHS_48Rnd_40mm_MK19_M430A1",[0],48],
["RHS_48Rnd_40mm_MK19_M430A1",[0],48],
["RHS_48Rnd_40mm_MK19_M430A1",[0],48],
["RHS_48Rnd_40mm_MK19_M430A1",[0],48],
["RHS_48Rnd_40mm_MK19_M430A1",[0],48],
["rhs_mag_762x51_M240_200",[2],200],
["rhs_mag_762x51_M240_200",[2],200],
["rhs_mag_762x51_M240_200",[2],200],
["rhs_mag_762x51_M240_200",[2],200],
["rhs_mag_762x51_M240_200",[2],200],
["rhs_mag_762x51_M240_200",[2],200],
["rhs_mag_762x51_M240_200",[2],200],
["rhs_mag_762x51_M240_200",[2],200],
["rhs_mag_762x51_M240_200",[2],200],
["rhs_mag_762x51_M240_200",[2],200],
["rhs_mag_762x51_M240_200",[2],200],
["rhs_mag_762x51_M240_200",[3],200],
["rhs_mag_762x51_M240_200",[3],200],
["rhs_mag_762x51_M240_200",[3],200],
["rhs_mag_762x51_M240_200",[3],200],
["rhs_mag_762x51_M240_200",[3],200],
["rhs_mag_762x51_M240_200",[3],200],
["rhs_mag_762x51_M240_200",[3],200],
["rhs_mag_762x51_M240_200",[3],200],
["rhs_mag_762x51_M240_200",[3],200],
["rhs_mag_762x51_M240_200",[3],200],
["rhs_mag_762x51_M240_200",[3],200]
]]
]]
]],


// FixedWings
// > getPylonMagazines cursorObject

// USAF_A10
//["USAF_A10", [
// ["groundsuperiority", [
// ["displayName", "Ground Superiority"],
// ["icon", ""],
// ["loadout", [
// "USAF_PylonRack_21Rnd_HYDRA70",
// "USAF_PylonRack_21Rnd_HYDRA70",
// "USAF_PylonRack_21Rnd_HYDRA70",
// "USAF_PylonRack_21Rnd_HYDRA70",
// "USAF_PylonRack_1Rnd_GBU12",
// "",
// "USAF_PylonRack_1Rnd_GBU12",
// "USAF_PylonRack_21Rnd_HYDRA70",
// "USAF_PylonRack_21Rnd_HYDRA70",
// "USAF_PylonRack_21Rnd_HYDRA70",
// "USAF_PylonRack_21Rnd_HYDRA70"
// ]]
// ]]
//]]


// Helicopters

// RHS_AH64D
//["RHS_AH64D", [
// ["displayName", "Ground Superiority"],
// ["icon", ""],
// ["loadout", [
// ["default", [
// "", // Wing tips
// "rhs_mag_M151_19",
// "rhs_mag_AGM114L_4",
// "rhs_mag_AGM114K_4",
// "rhs_mag_M151_19",
// "", // Wing tips
// "rhsusf_M130_CMFlare_Chaff_Magazine_x2"
// ]]
// ]]
//]]
];
52 changes: 51 additions & 1 deletion cScripts/functions/vehicle/fn_vehicle_addCosmeticSelection.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
params [["_vehicle", objNull, [objNull]]];

private _textures = [

// Saber
["rhsusf_m1a1tank_base", "Saber-1 (120mm IV)", [
"\z\cav\addons\textures\data\vehicles\abrams\BarrelArt_120mmIV_ca.paa",
{
Expand Down Expand Up @@ -58,7 +60,7 @@ private _textures = [
_vehicle setVariable [QEGVAR(Vehicle,Callsign), 4, true];
}
]],
["rhsusf_m1a1tank_base", "Saber-1", [
["rhsusf_m1a1tank_base", "Saber-1", [
"\rhsusf\addons\RHSUSF_Decals\Data\Labels\ArmyPlt_Abrams_D\1_ca.paa",
{
[_vehicle, [
Expand Down Expand Up @@ -98,6 +100,8 @@ private _textures = [
_vehicle setVariable [QEGVAR(Vehicle,Callsign), -4, true];
}
]],

// Dragoon
["cav_dragoon_base_F", "Toggle Camo Net", [
"",
{
Expand Down Expand Up @@ -196,6 +200,52 @@ private _textures = [
]] call EFUNC(vehicle,applyTextures);
}
]]

// USAF_A10
["USAF_A10", "Clean", [
"",
{
_vehicle animateSource ["serial_nose",1, true];
_vehicle animateSource ["serial_gear",0, true];
[_vehicle, [
[0, "\usaf_a10\skins\a10_01_worn_co.paa"],

// Tail Number
[25, ""], //tail_art
[26, "\z\cav\addons\insignia\data\Alpha_1_D.paa"],
[27, "\usaf_main\characters\c_dg.paa"],
[28, "\usaf_main\characters\a_dg.paa"],

[29,"\usaf_main\data\tail\fy\70_d.paa"],

[30, "\usaf_main\characters\numbers\n_4_dg.paa"],
[21, "\usaf_main\characters\numbers\n_2_dg.paa"],
[22, "\usaf_main\characters\numbers\n_1_dg.paa"]
]] call EFUNC(vehicle,applyTextures);
}
]],
["USAF_A10", "Shark", [
"",
{
_vehicle animateSource ["serial_nose",0, true];
_vehicle animateSource ["serial_gear",1, true];
[_vehicle, [
[0, "\usaf_a10\skins\a10_01_worn_shark_co.paa"],

// Tail Number
[25, ""], //tail_art
[26, "\z\cav\addons\insignia\data\Alpha_1_D.paa"],
[27, "\usaf_main\characters\c_dg.paa"],
[28, "\usaf_main\characters\a_dg.paa"],

[29,"\usaf_main\data\tail\fy\70_d.paa"],

[30, "\usaf_main\characters\numbers\n_4_dg.paa"],
[21, "\usaf_main\characters\numbers\n_2_dg.paa"],
[22, "\usaf_main\characters\numbers\n_1_dg.paa"]
]] call EFUNC(vehicle,applyTextures);
}
]]
];

{
Expand Down
20 changes: 20 additions & 0 deletions cScripts/functions/vehicle/fn_vehicle_addCosmetics.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,26 @@ if (_vehicle iskindOf "NDS_M224_mortar_base") then {
if (_vehicle iskindOf "RHS_C130J_Base") then {
};

if (_vehicle iskindOf "USAF_A10") then {
_vehicle animateSource ["serial_nose",1, true];
_vehicle animateSource ["serial_gear",0, true];
[_vehicle, [
[0, "\usaf_a10\skins\a10_01_worn_co.paa"],

// Tail Number
[25, ""], //tail_art
[26, "\z\cav\addons\insignia\data\Alpha_1_D.paa"],
[27, "\usaf_main\characters\c_dg.paa"],
[28, "\usaf_main\characters\a_dg.paa"],

[29,"\usaf_main\data\tail\fy\70_d.paa"],

[30, "\usaf_main\characters\numbers\n_4_dg.paa"],
[21, "\usaf_main\characters\numbers\n_2_dg.paa"],
[22, "\usaf_main\characters\numbers\n_1_dg.paa"]
]] call EFUNC(vehicle,applyTextures);
};

_vehicle setPlateNumber "1/7 Cav";

// Add eventHandlers to handle death and deletion.
Expand Down
Loading
Loading