Add RHS GREF compat for RKG-3 grenade (#4944)

This commit is contained in:
PabstMirror 2017-02-24 19:21:42 -06:00 committed by Glowbal
parent bda09296ed
commit 76e9b132d7
5 changed files with 30 additions and 0 deletions

View File

@ -10,6 +10,7 @@ class CfgSettings {
//Warnings for missing RHS compat pbos
compat_rhs_afrf3[] = {"ace_compat_rhs_afrf3", {VERSION_AR}, "isClass (configFile >> 'CfgPatches' >> 'rhs_main')"};
compat_rhs_usf3[] = {"ace_compat_rhs_usf3", {VERSION_AR}, "isClass (configFile >> 'CfgPatches' >> 'rhsusf_main')"};
compat_rhs_gref3[] = {"ace_compat_rhs_gref3", {VERSION_AR}, "isClass (configFile >> 'CfgPatches' >> 'rhsgref_main')"};
};
};
};

View File

@ -0,0 +1 @@
z\ace\addons\compat_rhs_gref3

View File

@ -0,0 +1,6 @@
class CfgAmmo {
class GrenadeHand;
class rhsgref_ammo_rkg3em: GrenadeHand { // Scripted shaped charge
ace_frag_force = 0;
};
};

View File

@ -0,0 +1,16 @@
#include "script_component.hpp"
class CfgPatches {
class ADDON {
name = COMPONENT_NAME;
units[] = {};
weapons[] = {};
requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"rhsgref_main", "rhsgref_c_weapons"};
author = ECSTRING(common,ACETeam);
url = ECSTRING(main,URL);
VERSION_CONFIG;
};
};
#include "CfgAmmo.hpp"

View File

@ -0,0 +1,6 @@
#define COMPONENT compat_rhs_gref3
#define COMPONENT_BEAUTIFIED RHS GREF Compatibility
#include "\z\ace\addons\main\script_mod.hpp"
#include "\z\ace\addons\main\script_macros.hpp"