Skip to content

Commit 343c1a3

Browse files
Added CWR3 Templates (#3413)
* Added CWR3 added the mod cold war rearmed 3 * fixes fixed the #includes in all the templates fixed the CFG fix being empty * Fix of fixes Renamed in template hpp * spring cleaning removed vic attributes that aren't needed * More fixes Fixes to reb vic att * More fixes Removed unneeded comments fixed path for reb vic attributes and fixed prices * ante requested changes fixes ante asked for * template clean up cleaned up the same guns put over and over having the same loadout. and removed drones from the template * vic fixes Removed brdms and bmphq from apc line * extra" removed exrea " in apc line * more fixes added f4e because ante asked and removed a fat fingered 7 * plane fixes fixed cas plane loadouts * Plane loadout fix fixed plane loadout * us plane fixes fixes * CAS Fix * Lore blurbs --------- Co-authored-by: ante <[email protected]>
1 parent f3aed1e commit 343c1a3

File tree

11 files changed

+2319
-2
lines changed

11 files changed

+2319
-2
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
class CfgMagazines
2+
{
3+
class PylonMissile_1Rnd_Mk82_F;
4+
class cwr3_PylonMissile_1Rnd_B61: PylonMissile_1Rnd_Mk82_F {
5+
hardpoints[] = {"B_BOMB_NUKE_PYLON"};
6+
};
7+
class cwr3_PylonMissile_1Rnd_RN28: PylonMissile_1Rnd_Mk82_F {
8+
hardpoints[] = {"O_BOMB_NUKE_PYLON"};
9+
};
10+
};
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
//CWR - config.cpp
2+
3+
#include "..\script_component.hpp"
4+
5+
class CfgPatches
6+
{
7+
class PATCHNAME(CWR)
8+
{
9+
name = COMPONENT_NAME;
10+
units[] = {};
11+
weapons[] = {};
12+
requiredVersion = REQUIRED_VERSION;
13+
requiredAddons[] = {"A3_Data_F_AoW_Loadorder","cwr3_air_weapons"};
14+
author = AUTHOR;
15+
authors[] = { AUTHORS };
16+
authorUrl = "";
17+
VERSION_CONFIG;
18+
skipWhenMissingDependencies = 1;
19+
};
20+
};
21+
22+
#include "CfgMagazines.hpp"
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
#include "..\..\..\script_component.hpp"
2+
3+
class CfgPatches {
4+
class PATCHNAME(AirLoadout_CWR) {
5+
name = COMPONENT_NAME;
6+
units[] = {};
7+
weapons[] = {};
8+
requiredVersion = REQUIRED_VERSION;
9+
requiredAddons[] = {"cwr3_core"};
10+
skipWhenMissingDependencies = 1;
11+
author = AUTHOR;
12+
authors[] = { AUTHORS };
13+
authorUrl = "";
14+
VERSION_CONFIG;
15+
};
16+
};
17+
18+
class A3A {
19+
class Loadouts
20+
{
21+
class CASPlane
22+
{
23+
class baseCAS;
24+
class cwr3_o_su17m4 : baseCAS {
25+
loadout[] = {"CUP_PylonPod_16Rnd_S5_plane_M","CUP_PylonPod_16Rnd_S5_plane_M","CUP_PylonPod_1Rnd_FAB250_plane_M","CUP_PylonPod_1Rnd_FAB250_plane_M","PylonMissile_Missile_AGM_KH25_x1","PylonMissile_Missile_AGM_KH25_x1","CUP_PylonPod_250Rnd_TE2_Green_Tracer_GSh23_23mm_APHE_M"};
26+
mainGun[] = {"cwr3_vacannon_nr30_veh"};
27+
rocketLauncher[] = {"CUP_Vmlauncher_S5_veh"};
28+
missileLauncher[] = {"weapon_AGM_KH25Launcher"};
29+
};
30+
31+
class cwr3_o_mig27 : baseCAS {
32+
loadout[] = {"CUP_PylonPod_1Rnd_Kh29_M","CUP_PylonPod_1Rnd_Kh29_M","CUP_PylonPod_32Rnd_S5_plane_M","CUP_PylonPod_32Rnd_S5_plane_M","CUP_PylonPod_1Rnd_Kh29_M"};
33+
mainGun[] = {"cwr3_vacannon_gsh306"};
34+
rocketLauncher[] = {"CUP_Vmlauncher_S5_veh"};
35+
missileLauncher[] = {"CUP_Vmlauncher_Kh29L_veh"};
36+
};
37+
38+
class cwr3_b_a10 : baseCAS {
39+
loadout[] = {"CUP_PylonPod_1Rnd_AGM65_Maverick_M","CUP_PylonPod_1Rnd_AGM65_Maverick_M","CUP_PylonPod_3Rnd_AGM65_Maverick_M","CUP_PylonPod_19Rnd_Rocket_FFAR_plane_M","CUP_PylonPod_19Rnd_Rocket_FFAR_plane_M","CUP_PylonPod_19Rnd_Rocket_FFAR_plane_M","CUP_PylonPod_19Rnd_Rocket_FFAR_plane_M","CUP_PylonPod_19Rnd_Rocket_FFAR_plane_M","CUP_PylonPod_3Rnd_AGM65_Maverick_M","CUP_PylonPod_1Rnd_AGM65_Maverick_M","CUP_PylonPod_1Rnd_AGM65_Maverick_M"};
40+
mainGun[] = {"CUP_Vacannon_GAU8_veh"};
41+
rocketLauncher[] = {"CUP_Vmlauncher_FFAR_veh"};
42+
missileLauncher[] = {"CUP_Vmlauncher_AGM65pod_veh"};
43+
};
44+
45+
class cwr3_b_f4e : baseCAS {
46+
loadout[] = {"CUP_PylonPod_19Rnd_Rocket_FFAR_plane_M","CUP_PylonPod_19Rnd_Rocket_FFAR_plane_M","CUP_PylonPod_3Rnd_AGM65_Maverick_M","CUP_PylonPod_19Rnd_Rocket_FFAR_plane_M","CUP_PylonPod_3Rnd_AGM65_Maverick_M","CUP_PylonPod_19Rnd_Rocket_FFAR_plane_M","CUP_PylonPod_19Rnd_Rocket_FFAR_plane_M"};
47+
mainGun[] = {"cwr3_vacannon_m61a1"};
48+
rocketLauncher[] = {"CUP_Vmlauncher_FFAR_veh"};
49+
missileLauncher[] = {"CUP_Vmlauncher_AGM65pod_veh"};
50+
};
51+
};
52+
class CAPPlane
53+
{
54+
class baseCAP;
55+
class cwr3_b_f16c : baseCAP {
56+
loadout[] = {"","CUP_PylonPod_1Rnd_AIM_9L_LAU_Sidewinder_M","CUP_PylonPod_1Rnd_AIM_9L_LAU_Sidewinder_M","CUP_PylonPod_1Rnd_AIM_120_AMRAAM_M","CUP_PylonPod_1Rnd_AIM_120_AMRAAM_M","CUP_PylonPod_1Rnd_AIM_9L_LAU_Sidewinder_M","CUP_PylonPod_1Rnd_AIM_9L_LAU_Sidewinder_M",""};
57+
};
58+
59+
class cwr3_b_f4e : baseCAP {
60+
loadout[] = {"","CUP_PylonPod_1Rnd_AIM_9L_LAU_Sidewinder_M","CUP_PylonPod_1Rnd_AIM_9L_LAU_Sidewinder_M","CUP_PylonPod_1Rnd_AIM_120_AMRAAM_M","CUP_PylonPod_1Rnd_AIM_120_AMRAAM_M","CUP_PylonPod_1Rnd_AIM_9L_LAU_Sidewinder_M","CUP_PylonPod_1Rnd_AIM_9L_LAU_Sidewinder_M",""};
61+
};
62+
63+
class cwr3_o_mig23 : baseCAP {
64+
loadout[] = {"PylonMissile_Missile_AA_R73_x1","PylonMissile_Missile_AA_R73_x1","PylonMissile_Missile_AA_R73_x1","PylonMissile_Missile_AA_R73_x1","PylonMissile_Missile_AA_R77_x1"};
65+
};
66+
};
67+
};
68+
};

A3A/addons/core/Templates/Templates.hpp

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1458,4 +1458,45 @@ class Templates
14581458
shortName = "Civilian";
14591459
lore = $STR_A3A_templates_lore_SPE_IFA_CIV;
14601460
};
1461+
// ***************************** CWR *****************************
1462+
1463+
class CWR_Base
1464+
{
1465+
requiredAddons[] = {"cwr3_core"};
1466+
basepath = QPATHTOFOLDER(Templates\Templates\CWR);
1467+
logo = "\CUP\Creatures\People\CUP_Creatures_People_Core\ui\logo_cup_ca_small.paa";
1468+
priority = 70;
1469+
};
1470+
1471+
class CWR_US_Temprate : CWR_Base
1472+
{
1473+
side = "Occ";
1474+
flagTexture = "a3\data_f\flags\flag_us_co.paa";
1475+
name = "CWR US Temprate";
1476+
file = "CWR_AI_US_Army_Temperate";
1477+
climate[] = {"Temperate"};
1478+
shortName = "US Army";
1479+
lore = $STR_A3A_templates_lore_3CB_AI_CW_US;
1480+
};
1481+
1482+
class CWR_USSR_Temprate : CWR_Base
1483+
{
1484+
side = "Inv";
1485+
flagTexture = "\cwr3\general\cwr3_core\data\flag_ussr_co.paa";
1486+
name = "CWR USSR Temperate";
1487+
file = "CWR_AI_USSR_Temperate";
1488+
climate[] = {"Temperate"};
1489+
shortName = "USSR";
1490+
lore = $STR_A3A_templates_lore_3CB_AI_CW_Sov;
1491+
};
1492+
1493+
class CWR_FIA : CWR_Base
1494+
{
1495+
side = "Reb";
1496+
flagTexture = "\cwr3\general\cwr3_core\data\flag_fia_co.paa";
1497+
name = "CWR FIA";
1498+
file = "CWR_Reb_FIA";
1499+
shortName = "FIA";
1500+
lore = $STR_A3A_templates_lore_FIA;
1501+
};
14611502
};

0 commit comments

Comments
 (0)