Skip to content

Commit

Permalink
Revert "Merge branch 'TestingBranch' into unstable"
Browse files Browse the repository at this point in the history
This reverts commit b753328, reversing
changes made to 8def736.
  • Loading branch information
SilenceIsFatto committed Sep 5, 2024
1 parent b753328 commit baca9c2
Show file tree
Hide file tree
Showing 82 changed files with 304 additions and 1,845 deletions.
10 changes: 0 additions & 10 deletions A3A/addons/core/CfgFunctions.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ class CfgFunctions
class interrogate {};
class isBuildingPosition {};
class landThreatEval {};
class liberateDeserter {};
class liberaterefugee {};
class liberatePOW {};
class liberateFlee {};
Expand Down Expand Up @@ -141,7 +140,6 @@ class CfgFunctions
class vehicleBoxRestore {};
class initPetros {};
class isFrontline {};
class isFrontlineNoFIA {};
class arePositionsConnected {};
class joinMultipleGroups {};
class localizar {};
Expand Down Expand Up @@ -398,7 +396,6 @@ class CfgFunctions
class AS_Zombies {};
class CON_Outpost_Zombies {};
class CON_Outpost {};
class CON_Outpost_Compet {};
class CON_MilAdmin {};
class convoy {};
class DES_Antenna {};
Expand All @@ -415,7 +412,6 @@ class CfgFunctions
class LOG_Helicrash {};;
class missionRequest {};
class REP_Antenna {};
class RES_Deserters {};
class RES_Prisoners {};
class RES_Refugees {};
class RES_Informer {};
Expand All @@ -424,7 +420,6 @@ class CfgFunctions
class RIV_ENC_Rivals {};
class RIV_ATT_Cell {};
class RIV_ATT_Hideout {};
class RIV_ATT_Transfer {};
class RIV_AS_Traitor {};
class RIV_SUPP_Salvage {};
class RIV_RES_Prisoners {};
Expand Down Expand Up @@ -531,8 +526,6 @@ class CfgFunctions
class garrisonDialog {};
class postmortem {};
class reDress {};
class reDressInv {};
class reDressOcc {};
class reinfPlayer {};
class spawnHCGroup {};
class vehiclePrice {};
Expand Down Expand Up @@ -661,9 +654,6 @@ class CfgFunctions
class SUP_SAM {};
class SUP_SAMAvailable {};
class SUP_SAMRoutine {};
class SUP_tank {};
class SUP_tankAvailable {};
class SUP_tankRoutine {};
class SUP_UAV {};
class SUP_UAVRoutine {};
class SUP_QRFVehAirdrop {};
Expand Down
41 changes: 0 additions & 41 deletions A3A/addons/core/CfgVehicles.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,45 +6,4 @@ class CfgVehicles
{
armor = 2000;
};

class NATO_Box_Base;

class A3AU_Build_Box_base: NATO_Box_Base
{
author = AUTHOR;
hiddenSelections[] =
{
"Camo_Signs",
"Camo"
};
hiddenSelectionsTextures[] =
{
QPATHTOFOLDER(Pictures\items\AmmoBox_signs_CA.paa),
QPATHTOFOLDER(Pictures\items\AmmoBox_black_CO.paa)
};
};

class A3AU_Build_Box_Large_1: A3AU_Build_Box_base
{
mapSize = 2.3399999;
class SimpleObject
{
eden = 1;
animate[] = {};
hide[] = {};
verticalOffset = 0.15000001;
verticalOffsetWorld = 0;
init = "''";
};
editorPreview = QPATHTOFOLDER(Pictures\items\A3AU_Build_Box_Large_1.jpg);
_generalMacro = "Box_NATO_WpsLaunch_F";
scope = 2;
displayName = "Build Box (Large)";
model = "\A3\weapons_F\AmmoBoxes\WpnsBox_long_F";
icon = "iconCrateLong";
class TransportMagazines{};
class TransportWeapons{};
class TransportItems{};
class TransportBackpacks{};
};
};
Binary file not shown.
Binary file removed A3A/addons/core/Pictures/Items/ammobox_black_co.paa
Binary file not shown.
Binary file removed A3A/addons/core/Pictures/Items/ammobox_signs_ca.paa
Binary file not shown.
2 changes: 0 additions & 2 deletions A3A/addons/core/Templates/Templates/Aegis/Aegis_AI_AAF.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ private _hasContact = "enoch" in A3A_enabledDLC;
// Vehicles //
//////////////////////////

["vehiclesSDV", ["I_SDV_01_F"]] call _fnc_saveToTemplate;

["ammobox", "I_supplyCrate_F"] call _fnc_saveToTemplate;
["surrenderCrate", "Box_IND_Wps_F"] call _fnc_saveToTemplate;
["equipmentBox", "Box_AAF_Equip_F"] call _fnc_saveToTemplate;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ private _hasLawsOfWar = "orange" in A3A_enabledDLC;
// Vehicles //
//////////////////////////

["vehiclesSDV", ["O_SDV_01_F"]] call _fnc_saveToTemplate;

["ammobox", "O_R_supplyCrate_F"] call _fnc_saveToTemplate;
["surrenderCrate", "Box_RUS_Wps_F"] call _fnc_saveToTemplate;
["equipmentBox", "Box_RUS_Equip_F"] call _fnc_saveToTemplate;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ private _hasLawsOfWar = "orange" in A3A_enabledDLC;
// Vehicles //
//////////////////////////

["vehiclesSDV", ["O_SDV_01_F"]] call _fnc_saveToTemplate;

["ammobox", "O_R_supplyCrate_F"] call _fnc_saveToTemplate;
["surrenderCrate", "Box_RUS_Wps_F"] call _fnc_saveToTemplate;
["equipmentBox", "Box_RUS_Equip_F"] call _fnc_saveToTemplate;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ private _hasContact = "enoch" in A3A_enabledDLC;
// Vehicles //
//////////////////////////

["vehiclesSDV", ["B_SDV_01_F"]] call _fnc_saveToTemplate;

["ammobox", "B_supplyCrate_F"] call _fnc_saveToTemplate;
["surrenderCrate", "Box_NATO_Wps_F"] call _fnc_saveToTemplate;
["equipmentBox", "Box_NATO_Equip_F"] call _fnc_saveToTemplate;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ private _hasContact = "enoch" in A3A_enabledDLC;
// Vehicles //
//////////////////////////

["vehiclesSDV", ["B_SDV_01_F"]] call _fnc_saveToTemplate;

["ammobox", "B_supplyCrate_F"] call _fnc_saveToTemplate;
["surrenderCrate", "Box_NATO_Wps_F"] call _fnc_saveToTemplate;
["equipmentBox", "Box_NATO_Equip_F"] call _fnc_saveToTemplate;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ private _hasContact = "enoch" in A3A_enabledDLC;
// Vehicles //
//////////////////////////

["vehiclesSDV", ["B_SDV_01_F"]] call _fnc_saveToTemplate;

["ammobox", "B_supplyCrate_F"] call _fnc_saveToTemplate;
["surrenderCrate", "Box_NATO_Wps_F"] call _fnc_saveToTemplate;
["equipmentBox", "Box_NATO_Equip_F"] call _fnc_saveToTemplate;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ private _hasContact = "enoch" in A3A_enabledDLC;
// Vehicles //
//////////////////////////

["vehiclesSDV", ["O_SDV_01_F"]] call _fnc_saveToTemplate;

["ammobox", "B_supplyCrate_F"] call _fnc_saveToTemplate;
["surrenderCrate", "Box_East_Wps_F"] call _fnc_saveToTemplate;
["equipmentBox", "Box_CSAT_Equip_F"] call _fnc_saveToTemplate;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ private _hasContact = "enoch" in A3A_enabledDLC;
// Vehicles //
//////////////////////////

["vehiclesSDV", ["O_SDV_01_F"]] call _fnc_saveToTemplate;

["ammobox", "O_T_supplyCrate_F"] call _fnc_saveToTemplate;
["surrenderCrate", "Box_T_East_Wps_F"] call _fnc_saveToTemplate;
["equipmentBox", "Box_T_CSAT_Equip_F"] call _fnc_saveToTemplate;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ private _hasContact = "enoch" in A3A_enabledDLC;
// Vehicles //
//////////////////////////

["vehiclesSDV", ["B_SDV_01_F"]] call _fnc_saveToTemplate;

["ammobox", "B_supplyCrate_F"] call _fnc_saveToTemplate;
["surrenderCrate", "Box_NATO_Wps_F"] call _fnc_saveToTemplate;
["equipmentBox", "Box_NATO_Equip_F"] call _fnc_saveToTemplate;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ private _hasContact = "enoch" in A3A_enabledDLC;
// Vehicles //
//////////////////////////

["vehiclesSDV", ["B_SDV_01_F"]] call _fnc_saveToTemplate;

["ammobox", "B_supplyCrate_F"] call _fnc_saveToTemplate;
["surrenderCrate", "Box_NATO_Wps_F"] call _fnc_saveToTemplate;
["equipmentBox", "Box_NATO_Equip_F"] call _fnc_saveToTemplate;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ private _hasContact = "enoch" in A3A_enabledDLC;
// Vehicles //
//////////////////////////

["vehiclesSDV", ["B_SDV_01_F"]] call _fnc_saveToTemplate;

["ammobox", "B_supplyCrate_F"] call _fnc_saveToTemplate;
["surrenderCrate", "Box_NATO_Wps_F"] call _fnc_saveToTemplate;
["equipmentBox", "Box_NATO_Equip_F"] call _fnc_saveToTemplate;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
// Vehicles //
//////////////////////////

["attributeMoreTrucks", true] call _fnc_saveToTemplate; // due to emissions in "the zone" and such, you don't want helis and planes flying around all the time
["attributeLowAir", true] call _fnc_saveToTemplate; // due to emissions in "the zone" and such, you don't want helis and planes flying around all the time

["ammobox", "B_supplyCrate_F"] call _fnc_saveToTemplate;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
// Vehicles //
//////////////////////////

["attributeMoreTrucks", true] call _fnc_saveToTemplate; // due to emissions in "the zone" and such, you don't want helis and planes flying around all the time
["attributeLowAir", true] call _fnc_saveToTemplate; // due to emissions in "the zone" and such, you don't want helis and planes flying around all the time

["ammobox", "B_supplyCrate_F"] call _fnc_saveToTemplate;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
// Vehicles //
//////////////////////////

["attributeMoreTrucks", true] call _fnc_saveToTemplate; // due to emissions in "the zone" and such, you don't want helis and planes flying around all the time
["attributeLowAir", true] call _fnc_saveToTemplate; // due to emissions in "the zone" and such, you don't want helis and planes flying around all the time

["ammobox", "B_supplyCrate_F"] call _fnc_saveToTemplate;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
// Vehicles //
//////////////////////////

["attributeMoreTrucks", true] call _fnc_saveToTemplate; // due to emissions in "the zone" and such, you don't want helis and planes flying around all the time
["attributeLowAir", true] call _fnc_saveToTemplate; // due to emissions in "the zone" and such, you don't want helis and planes flying around all the time

["ammobox", "B_supplyCrate_F"] call _fnc_saveToTemplate;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
// Vehicles //
//////////////////////////

["attributeMoreTrucks", true] call _fnc_saveToTemplate; // due to emissions in "the zone" and such, you don't want helis and planes flying around all the time
["attributeLowAir", true] call _fnc_saveToTemplate; // due to emissions in "the zone" and such, you don't want helis and planes flying around all the time

["ammobox", "B_supplyCrate_F"] call _fnc_saveToTemplate;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
// Vehicles //
//////////////////////////

["attributeMoreTrucks", true] call _fnc_saveToTemplate; // due to emissions in "the zone" and such, you don't want helis and planes flying around all the time
["attributeLowAir", true] call _fnc_saveToTemplate; // due to emissions in "the zone" and such, you don't want helis and planes flying around all the time

["ammobox", "B_supplyCrate_F"] call _fnc_saveToTemplate;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
// Vehicles //
//////////////////////////

["attributeMoreTrucks", true] call _fnc_saveToTemplate; // due to emissions in "the zone" and such, you don't want helis and planes flying around all the time
["attributeLowAir", true] call _fnc_saveToTemplate; // due to emissions in "the zone" and such, you don't want helis and planes flying around all the time

["ammobox", "B_supplyCrate_F"] call _fnc_saveToTemplate;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
// Vehicles //
//////////////////////////

["attributeMoreTrucks", true] call _fnc_saveToTemplate; // due to emissions in "the zone" and such, you don't want helis and planes flying around all the time
["attributeLowAir", true] call _fnc_saveToTemplate; // due to emissions in "the zone" and such, you don't want helis and planes flying around all the time

["ammobox", "B_supplyCrate_F"] call _fnc_saveToTemplate;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ private _hasRF = "rf" in A3A_enabledDLC;
// Vehicles //
//////////////////////////

["vehiclesSDV", ["I_SDV_01_F"]] call _fnc_saveToTemplate;

["ammobox", "I_supplyCrate_F"] call _fnc_saveToTemplate; //Don't touch or you die a sad and lonely death!
["surrenderCrate", "Box_IND_Wps_F"] call _fnc_saveToTemplate; //Changeing this from default will require you to define logistics attachement offset for the box type
["equipmentBox", "Box_AAF_Equip_F"] call _fnc_saveToTemplate; //Changeing this from default will require you to define logistics attachement offset for the box type
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,8 @@ private _hasRF = "rf" in A3A_enabledDLC;
// Vehicles //
//////////////////////////

["vehiclesSDV", ["O_SDV_01_F"]] call _fnc_saveToTemplate;
["vehiclesDropPod", ["Land_Pod_Heli_Transport_04_covered_F"]] call _fnc_saveToTemplate;


["ammobox", "B_supplyCrate_F"] call _fnc_saveToTemplate; //Don't touch or you die a sad and lonely death!
["surrenderCrate", "Box_East_Wps_F"] call _fnc_saveToTemplate; //Changeing this from default will require you to define logistics attachement offset for the box type
["equipmentBox", "Box_CSAT_Equip_F"] call _fnc_saveToTemplate; //Changeing this from default will require you to define logistics attachement offset for the box type
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ private _hasRF = "rf" in A3A_enabledDLC;
// Vehicles //
//////////////////////////

["vehiclesSDV", ["O_SDV_01_F"]] call _fnc_saveToTemplate;

["ammobox", "B_supplyCrate_F"] call _fnc_saveToTemplate; //Don't touch or you die a sad and lonely death!
["surrenderCrate", "Box_East_Wps_F"] call _fnc_saveToTemplate; //Changeing this from default will require you to define logistics attachement offset for the box type
["equipmentBox", "Box_CSAT_Equip_F"] call _fnc_saveToTemplate; //Changeing this from default will require you to define logistics attachement offset for the box type
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ private _hasRF = "rf" in A3A_enabledDLC;
// Vehicles //
//////////////////////////

["vehiclesSDV", ["B_SDV_01_F"]] call _fnc_saveToTemplate;

["ammobox", "B_supplyCrate_F"] call _fnc_saveToTemplate;
["surrenderCrate", "Box_IND_Wps_F"] call _fnc_saveToTemplate; //Changeing this from default will require you to define logistics attachement offset for the box type
["equipmentBox", "Box_NATO_Equip_F"] call _fnc_saveToTemplate; //Changeing this from default will require you to define logistics attachement offset for the box type
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ private _hasRF = "rf" in A3A_enabledDLC;
// Vehicles //
//////////////////////////

["vehiclesSDV", ["B_SDV_01_F"]] call _fnc_saveToTemplate;
["vehiclesDropPod", ["SpaceshipCapsule_01_F"]] call _fnc_saveToTemplate;

["ammobox", "B_supplyCrate_F"] call _fnc_saveToTemplate; //Don't touch or you die a sad and lonely death!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ private _hasRF = "rf" in A3A_enabledDLC;
// Vehicles //
//////////////////////////

["vehiclesSDV", ["B_SDV_01_F"]] call _fnc_saveToTemplate;

["ammobox", "B_supplyCrate_F"] call _fnc_saveToTemplate; //Don't touch or you die a sad and lonely death!
["surrenderCrate", "Box_NATO_Wps_F"] call _fnc_saveToTemplate; //Changeing this from default will require you to define logistics attachement offset for the box type
["equipmentBox", "Box_NATO_Equip_F"] call _fnc_saveToTemplate; //Changeing this from default will require you to define logistics attachement offset for the box type
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ private _hasRF = "rf" in A3A_enabledDLC;
// Vehicles //
//////////////////////////

["vehiclesSDV", ["B_SDV_01_F"]] call _fnc_saveToTemplate;

["ammobox", "B_supplyCrate_F"] call _fnc_saveToTemplate; //Don't touch or you die a sad and lonely death!
["surrenderCrate", "Box_NATO_Wps_F"] call _fnc_saveToTemplate; //Changeing this from default will require you to define logistics attachement offset for the box type
["equipmentBox", "Box_NATO_Equip_F"] call _fnc_saveToTemplate; //Changeing this from default will require you to define logistics attachement offset for the box type
Expand Down
24 changes: 0 additions & 24 deletions A3A/addons/core/functions/AI/fn_liberatedeserter.sqf

This file was deleted.

16 changes: 7 additions & 9 deletions A3A/addons/core/functions/Base/fn_destroyCity.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,15 @@ params ["_markerX"];

private _positionX = getMarkerPos _markerX;
private _size = [_markerX] call A3A_fnc_sizeMarker;

private _buildings = _positionX nearObjects ["house",_size];
private _buildings = _positionX nearobjects ["house",_size];

{
private _hitpoints = getAllHitPointsDamage _x;
if (_hitpoints isEqualTo []) then { continue };
if (random 100 < 30) then { continue };
private _building = _x;
{
_building setHit [_x, 1];
} forEach (_hitpoints # 1 select { _x find "dam" == 0 });
if (random 100 < 70) then {
for "_i" from 1 to 7 do {
_x setHit [format ["dam%1",_i],1];
_x setHit [format ["dam %1",_i],1];
};
};
} forEach _buildings;

[_markerX,false] spawn A3A_fnc_blackout;
7 changes: 0 additions & 7 deletions A3A/addons/core/functions/Base/fn_flagaction.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -169,13 +169,6 @@ switch _typeX do
localize "STR_antistasi_actions_free_prisoner"
], A3A_fnc_liberaterefugee,nil,6,true,true,"","(isPlayer _this) && (_this == _this getVariable ['owner',objNull]) && alive _target",4];
};
case "deserter":
{
_flag addAction [format [
"<img image='\a3\ui_f\data\IGUI\Cfg\holdactions\holdAction_unbind_ca.paa' size='1.6' shadow=2 /> <t>%1</t>",
localize "STR_antistasi_actions_free_prisoner"
], A3A_fnc_liberateDeserter,nil,6,true,true,"","(isPlayer _this) && (_this == _this getVariable ['owner',objNull]) && alive _target",4];
};
case "prisonerX":
{
_flag addAction [format [
Expand Down
Loading

0 comments on commit baca9c2

Please sign in to comment.