-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
62 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
x\tacgt\addons\compat_rf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
class CfgVehicles { | ||
class Box_NATO_WpsLaunch_F; | ||
class tac_supplies_Launchers: Box_NATO_WpsLaunch_F { | ||
class TransportMagazines { | ||
MACRO_ADDMAGAZINE(PSRL1_AT_RF,12); | ||
MACRO_ADDMAGAZINE(PSRL1_FRAG_RF,12); | ||
MACRO_ADDMAGAZINE(PSRL1_HE_RF,12); | ||
MACRO_ADDMAGAZINE(PSRL1_HEAT_RF,6); | ||
}; | ||
class TransportWeapons { | ||
MACRO_ADDWEAPON(launch_PSRL1_PWS_black_RF,3); | ||
MACRO_ADDWEAPON(launch_PSRL1_PWS_olive_RF,3); | ||
MACRO_ADDWEAPON(launch_PSRL1_PWS_sand_RF,3); | ||
MACRO_ADDWEAPON(launch_PSRL1_black_RF,3); | ||
MACRO_ADDWEAPON(launch_PSRL1_olive_RF,3); | ||
MACRO_ADDWEAPON(launch_PSRL1_sand_RF,3); | ||
}; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
class CfgWeapons { | ||
class launch_PSRL1_base_RF; | ||
class launch_PSRL1_PWS_base_RF: launch_PSRL1_base_RF { | ||
class OpticsModes { | ||
class PWS { | ||
visionMode[] = {"Normal", "NVG"}; // Remove TI | ||
}; | ||
}; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Compat RF | ||
|
||
- Tweaks and compatibility for Reaction Forces. | ||
- Removes Thermal from the PSRL-1 PWS Optic | ||
- Adds PSRL-1 & Munitions to the Launcher supply box (tacgt_supplies) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#include "script_component.hpp" | ||
|
||
class CfgPatches { | ||
class ADDON { | ||
name = COMPONENT_NAME; | ||
units[] = {}; | ||
weapons[] = {}; | ||
requiredVersion = REQUIRED_VERSION; | ||
requiredAddons[] = { | ||
"tacgt_main", | ||
"tacgt_supplies", | ||
"RF_Weapons_Launchers_PSRL1" | ||
}; | ||
skipWhenMissingDependencies = 1; | ||
author = ECSTRING(main,Author); | ||
authors[] = {"Mike"}; | ||
url = ECSTRING(main,URL); | ||
VERSION_CONFIG; | ||
}; | ||
}; | ||
|
||
#include "CfgWeapons.hpp" | ||
#include "CfgVehicles.hpp" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#define COMPONENT compat_rf | ||
#define COMPONENT_BEAUTIFIED Compat RF | ||
#include "\x\tacgt\addons\main\script_mod.hpp" | ||
#include "\x\tacgt\addons\main\script_macros.hpp" |