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

Adding a few RHS items to GC #3261

Merged
Merged
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
18 changes: 10 additions & 8 deletions A3A/addons/core/functions/Base/fn_garbageCleaner.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,16 @@ if (isClass (configFile >> "CfgVehicles" >> "GRAD_envelope_short")) then {
};

if (isClass (configFile/"CfgPatches"/"rhsgref_main")) then {//ToDo: these should be moved to owner mod detection and not the broad one as we may allow some rhs factions without all of rhs modset loaded
{ deleteVehicle _x } forEach (allMissionObjects "rhs_a10_acesII_seat"); // Ejection seat for A-10 and F-22
{ deleteVehicle _x } forEach (allMissionObjects "rhs_a10_canopy"); // other canopies delete on ground contact
{ deleteVehicle _x } forEach (allMissionObjects "rhs_k36d5_seat"); // AFRF ejection seat
{ deleteVehicle _x } forEach (allMissionObjects "rhs_vs1_seat"); // another dumb ejection seat
{ deleteVehicle _x } forEach (allMissionObjects "rhs_mi28_door_pilot"); // another garbage piece not being cleaned
{ deleteVehicle _x } forEach (allMissionObjects "rhs_mi28_door_gunner"); // another garbage piece not being cleaned
{ deleteVehicle _x } forEach (allMissionObjects "rhs_mi28_wing_left"); // another garbage piece not being cleaned
{ deleteVehicle _x } forEach (allMissionObjects "rhs_mi28_wing_right"); // another garbage piece not being cleaned
{ deleteVehicle _x } forEach (allMissionObjects "rhs_a10_acesII_seat"); // Ejection seat for A-10 and F-22
{ deleteVehicle _x } forEach (allMissionObjects "rhs_a10_canopy"); // other canopies delete on ground contact
{ deleteVehicle _x } forEach (allMissionObjects "rhs_k36d5_seat"); // AFRF ejection seat
{ deleteVehicle _x } forEach (allMissionObjects "rhs_vs1_seat"); // another dumb ejection seat
{ deleteVehicle _x } forEach (allMissionObjects "rhs_mi28_door_pilot"); // another garbage piece not being cleaned
{ deleteVehicle _x } forEach (allMissionObjects "rhs_mi28_door_gunner"); // another garbage piece not being cleaned
{ deleteVehicle _x } forEach (allMissionObjects "rhs_mi28_wing_left"); // another garbage piece not being cleaned
{ deleteVehicle _x } forEach (allMissionObjects "rhs_mi28_wing_right"); // another garbage piece not being cleaned
{ deleteVehicle _x } forEach (allMissionObjects "rhs_ka52_rps_rocket"); // ejection rocket?
{ deleteVehicle _x } forEach (allMissionObjects "rhs_ka52_blade"); // blade for ka52

};

Expand Down