Skip to content

Commit

Permalink
SFP templates (#2800)
Browse files Browse the repository at this point in the history
* Created files, filled in vics

* Snow uniform, police loadouts

* SF camo faces

* Update Templates.hpp

* complemented with CUP

* Changed support trucks

* 1st draft of loadouts

* Modern template + modern snow template draft

* Early temprate and winter template draft

* Rifle smoke grenades

* Cleanup

* error fixing - status: testable

* AT for early templates

* adjusted vests of early templates, added flashlights to shotguns

* Modern vests updated

* helmets, AT backpacks

* backpacks

* Update Templates.hpp

* error fix

* renamed SvAF to SDF

* More snow camo'd rifles

* Changed to american english, gave more discounts

* Replaced SFP turrets & sidearms with CUP

* setup

* cargo nodes step 1

* Updated blocked seats

* replaced mortar

* JAS 39 Aircraft loadouts

* fixed tank lineup

* Vehicle adjustments

* moved light tank to light tank

* update 23/11/17

New hats, new MP, m/45 and M/45b swapped places, new helicopters

* ammountion diversity ish

* Update SFP_AI_SWE_early_snow.sqf

* Update SFP_AI_SWE_early.sqf

* Update SFP_AI_SWE_early_snow.sqf

* Update SFP_AI_SWE.sqf

* Update SFP_AI_SWE_early.sqf

* Update SFP_AI_SWE_early_snow.sqf

* Update SFP_AI_SWE_snow.sqf

* Update fn_setPlaneLoadout.sqf

* Update fn_setPlaneLoadout.sqf

* Update SFP_AI_SWE_snow.sqf

* Update SFP_AI_SWE_snow.sqf

* Update SFP_AI_SWE_early_snow.sqf

* Update SFP_AI_SWE_early.sqf

* Update SFP_AI_SWE.sqf

* police backpacks be gone

* rocket JAS, Bk90 for invaders

* Update SFP_AI_SWE.sqf

* Update SFP_AI_SWE_early.sqf

* Update SFP_AI_SWE_early_snow.sqf

* Update SFP_AI_SWE_snow.sqf

* fix + slimmed loadouts

* no more AA backpacks

* replacements for militia truck and MG static

* Helicopter adjustment

* Names

* killed some logi nodes

* Update SFP_AI_SWE.sqf

* formatting, dropped AH1

* Migrated plane loadouts

* Tweaked air assets
  • Loading branch information
ante185 authored Jun 15, 2024
1 parent f5884f0 commit a5bddb3
Show file tree
Hide file tree
Showing 12 changed files with 3,829 additions and 6 deletions.
6 changes: 6 additions & 0 deletions A3A/addons/config_fixes/CUP/CfgVehicles.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
//Vanilla - CfgVehicles.hpp

class CfgVehicles
{
#include "sfp_air.hpp"
};
7 changes: 2 additions & 5 deletions A3A/addons/config_fixes/CUP/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

#include "..\script_component.hpp"

#if __has_include("\CUP\Vehicles\CUP_Vehicles_LoadOrder\config.bin")

class CfgPatches
{
class PATCHNAME(CUP)
Expand All @@ -16,13 +14,12 @@ class CfgPatches
author = AUTHOR;
authors[] = { AUTHORS };
authorUrl = "";
skipWhenMissingDependencies = 1;
VERSION_CONFIG;
};
};

// Uncomment when needed
//#include "CfgMagazines.hpp"
//#include "CfgVehicles.hpp"
#include "CfgVehicles.hpp"
//#include "CfgWeapons.hpp"

#endif // __has_include("\CUP\Vehicles\CUP_Vehicles_LoadOrder\config.bin")
42 changes: 42 additions & 0 deletions A3A/addons/config_fixes/CUP/sfp_air.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
//CUP-SFP - sfp_air.hpp

class CUP_B_UH60S_USN;
class CUP_MH60S_Unarmed_USN;
class CUP_MH60S_Unarmed_FFV_USN;

class a3a_SFP_B_UH60S_USN : CUP_B_UH60S_USN
{
displayName = "UH-60M (M3M)";
textureList[] = {"Black", 1};
animationList[] = {"Navyclan_hide",1,"Navyclan2_hide",1,"Filters_Hide",1,"mainRotor_folded",1,"mainRotor_unfolded",0,"Hide_ESSS2x",1,"Hide_ESSS4x",1,"Hide_Nose",0,"Blackhawk_Hide",0,"Hide_FlirTurret",1,"Hide_Probe",1,"Doorcock_Hide",0};
class EventHandlers
{
fired = "_this call (uinamespace getvariable 'BIS_fnc_effectFired');";
init = "if (local (_this select 0)) then {[(_this select 0), """", [], false] call bis_fnc_initVehicle;};";
killed = "_this call (uinamespace getvariable 'BIS_fnc_effectKilled');";
};
};
class a3a_SFP_MH60S_Unarmed_USN : CUP_MH60S_Unarmed_USN
{
displayName = "UH-60M (Unarmed)";
textureList[] = {"Black", 1};
animationList[] = {"Navyclan_hide",1,"Navyclan2_hide",1,"Filters_Hide",1,"mainRotor_folded",1,"mainRotor_unfolded",0,"Hide_ESSS2x",1,"Hide_ESSS4x",1,"Hide_Nose",0,"Blackhawk_Hide",0,"Hide_FlirTurret",0,"Hide_Probe",1,"Doorcock_Hide",0};
class EventHandlers
{
fired = "_this call (uinamespace getvariable 'BIS_fnc_effectFired');";
init = "if (local (_this select 0)) then {[(_this select 0), """", [], false] call bis_fnc_initVehicle;};";
killed = "_this call (uinamespace getvariable 'BIS_fnc_effectKilled');";
};
};
class a3a_SFP_MH60S_Unarmed_FFV_USN : CUP_MH60S_Unarmed_FFV_USN
{
displayName = "UH-60M (Unarmed/FFV)";
textureList[] = {"Black", 1};
animationList[] = {"Navyclan_hide",1,"Navyclan2_hide",1,"Filters_Hide",1,"mainRotor_folded",1,"mainRotor_unfolded",0,"Hide_ESSS2x",1,"Hide_ESSS4x",1,"Hide_Nose",0,"Blackhawk_Hide",0,"Hide_FlirTurret",0,"Hide_Probe",1,"Doorcock_Hide",0};
class EventHandlers
{
fired = "_this call (uinamespace getvariable 'BIS_fnc_effectFired');";
init = "if (local (_this select 0)) then {[(_this select 0), """", [], false] call bis_fnc_initVehicle;};";
killed = "_this call (uinamespace getvariable 'BIS_fnc_effectKilled');";
};
};
53 changes: 53 additions & 0 deletions A3A/addons/core/Templates/AircraftLoadouts/SFP/config.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
#include "..\..\..\script_component.hpp"

class CfgPatches {
class ADDON {
name = COMPONENT_NAME;
units[] = {};
weapons[] = {};
requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"Swedish_Forces_Pack","CUP_Creatures_People_Civil_Russia", "CUP_BaseConfigs", "CUP_AirVehicles_Core"};
skipWhenMissingDependencies = 1;
author = AUTHOR;
authors[] = { AUTHORS };
authorUrl = "";
VERSION_CONFIG;
};
};

class A3A {
class Loadouts
{
class CASPlane
{
class baseCAS;
class sfp_jas39 : baseCAS {
loadout[] = {"sfp_1x_rb98","sfp_1x_rb98","PylonRack_3Rnd_LG_scalpel","PylonRack_3Rnd_LG_scalpel","sfp_6rnd_arak135_AP","sfp_6rnd_arak135_AP","CUP_PylonPod_3Rnd_AGM65_Maverick_M"};
mainGun[] = {"sfp_mauser_bk27_27mm"};
rocketLauncher[] = {"sfp_arak135_launcher"};
missileLauncher[] = {"CUP_Vmlauncher_AGM65pod_veh","missiles_SCALPEL"};
};
class sfp_jas39_bk90 : sfp_jas39 {
loadout[] = {"sfp_1x_rb98","sfp_1x_rb98","CUP_PylonPod_3Rnd_AGM65_Maverick_M","CUP_PylonPod_3Rnd_AGM65_Maverick_M","sfp_6rnd_arak135_AP","sfp_6rnd_arak135_AP","sfp_1rnd_bk90"};
missileLauncher[] = {"sfp_bk90_launcher","CUP_Vmlauncher_AGM65pod_veh","missiles_SCALPEL"};
code = "params ['_plane']; _plane setVehicleRadar 1;";
};
class sfp_jas39_rb15 : sfp_jas39 {
loadout[] = {"sfp_1x_rb98","sfp_1x_rb98","sfp_6rnd_arak135_AP","sfp_6rnd_arak135_AP","sfp_6rnd_arak135_AP","sfp_6rnd_arak135_AP","CUP_PylonPod_3Rnd_AGM65_Maverick_M"};
missileLauncher[] = {"CUP_Vmlauncher_AGM65pod_veh"};
};
};
class CAPPlane
{
class baseCAP;
class sfp_jas39 : baseCAP {
loadout[] = {"sfp_1x_rb98","sfp_1x_rb98","CUP_PylonPod_2Rnd_AIM_9L_LAU_Sidewinder_M","CUP_PylonPod_2Rnd_AIM_9L_LAU_Sidewinder_M","sfp_2x_rb100","sfp_2x_rb100","CUP_PylonPod_2Rnd_AGM114L_Hellfire_II_Plane_M"};
};
class sfp_jas39_cap : sfp_jas39 {};
};
class Helicopter
{

};
};
};
40 changes: 39 additions & 1 deletion A3A/addons/core/Templates/Templates.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -457,8 +457,46 @@ class Templates
shortName = "SAF";
lore = $STR_A3A_templates_lore_RHS_AI_SAF;
};


// ***************************** 3CB Factions *****************************
//************* SFP ********************************************************
class SFP_Base
{
requiredAddons[] = {"Swedish_Forces_Pack","CUP_Creatures_People_Civil_Russia", "CUP_BaseConfigs", "CUP_AirVehicles_Core"};
basepath = QPATHTOFOLDER(Templates\Templates\SFP);
logo = "\sfp_config\data\logos\sfp_logo_ca.paa";
flagTexture = "\sfp_config\data\flag_sweden_co.paa";
priority = 70;
};
class SFP_SAF00 : SFP_Base
{
side = "Occ";
name = "SFP Early SDF";
file = "SFP_AI_SWE_early";
climate[] = {"temperate","tropical","arid"};
};
class SFP_SAF00_Arctic : SFP_Base
{
side = "Occ";
name = "SFP Early SDF ARTIC";
file = "SFP_AI_SWE_early_snow";
climate[] = {"arctic"};
};
class SFP_SAF15 : SFP_Base
{
side = "Occ";
name = "SFP Modern SDF";
file = "SFP_AI_SWE";
climate[] = {"temperate","tropical","arid"};
};
class SFP_SAF15_Arctic : SFP_Base
{
side = "Occ";
name = "SFP Modern SDF ARTIC";
file = "SFP_AI_SWE_snow";
climate[] = {"arctic"};
};
//************* 3CB Factions ***************************************************

class 3CBF_Base
{
Expand Down
Loading

0 comments on commit a5bddb3

Please sign in to comment.