mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Add RHS GREF compat for RKG-3 grenade (#4944)
This commit is contained in:
parent
bda09296ed
commit
76e9b132d7
@ -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')"};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
1
optionals/compat_rhs_gref3/$PBOPREFIX$
Normal file
1
optionals/compat_rhs_gref3/$PBOPREFIX$
Normal file
@ -0,0 +1 @@
|
||||
z\ace\addons\compat_rhs_gref3
|
6
optionals/compat_rhs_gref3/CfgAmmo.hpp
Normal file
6
optionals/compat_rhs_gref3/CfgAmmo.hpp
Normal file
@ -0,0 +1,6 @@
|
||||
class CfgAmmo {
|
||||
class GrenadeHand;
|
||||
class rhsgref_ammo_rkg3em: GrenadeHand { // Scripted shaped charge
|
||||
ace_frag_force = 0;
|
||||
};
|
||||
};
|
16
optionals/compat_rhs_gref3/config.cpp
Normal file
16
optionals/compat_rhs_gref3/config.cpp
Normal 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"
|
6
optionals/compat_rhs_gref3/script_component.hpp
Normal file
6
optionals/compat_rhs_gref3/script_component.hpp
Normal 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"
|
Loading…
Reference in New Issue
Block a user