mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Isolate Compat RHS_USAF Overpressure
This commit is contained in:
parent
b75a3daf70
commit
318c5c14d8
@ -175,35 +175,14 @@ class CfgWeapons {
|
||||
};
|
||||
|
||||
// RHS launchers
|
||||
class launch_O_Titan_F;
|
||||
|
||||
class rhs_weap_fim92: launch_O_Titan_F {
|
||||
EGVAR(overpressure,range) = 6;
|
||||
EGVAR(overpressure,angle) = 40;
|
||||
EGVAR(overpressure,damage) = 0.6;
|
||||
EGVAR(overpressure,offset) = 1.45;
|
||||
};
|
||||
|
||||
class Launcher_Base_F;
|
||||
|
||||
class rhs_weap_smaw: Launcher_Base_F {
|
||||
EGVAR(reloadlaunchers,enabled) = 1;
|
||||
EGVAR(overpressure,angle) = 45;
|
||||
EGVAR(overpressure,offset) = 1.3;
|
||||
};
|
||||
|
||||
class rhs_weap_maaws: Launcher_Base_F {
|
||||
EGVAR(reloadlaunchers,enabled) = 1;
|
||||
EGVAR(overpressure,range) = 15;
|
||||
EGVAR(overpressure,angle) = 70;
|
||||
EGVAR(overpressure,damage) = 0.75;
|
||||
EGVAR(overpressure,offset) = 0.95;
|
||||
};
|
||||
|
||||
class rhs_weap_M136: Launcher_Base_F {
|
||||
EGVAR(overpressure,range) = 10;
|
||||
EGVAR(overpressure,angle) = 50;
|
||||
EGVAR(overpressure,offset) = 0.9;
|
||||
};
|
||||
|
||||
class rhsusf_hgu56p;
|
||||
|
@ -0,0 +1,32 @@
|
||||
class CfgWeapons {
|
||||
// Man-Portable launchers, rear-facing overpressure
|
||||
|
||||
class launch_O_Titan_F;
|
||||
|
||||
class rhs_weap_fim92: launch_O_Titan_F {
|
||||
EGVAR(overpressure,range) = 6;
|
||||
EGVAR(overpressure,angle) = 40;
|
||||
EGVAR(overpressure,damage) = 0.6;
|
||||
EGVAR(overpressure,offset) = 1.45;
|
||||
};
|
||||
|
||||
class Launcher_Base_F;
|
||||
|
||||
class rhs_weap_smaw: Launcher_Base_F {
|
||||
EGVAR(overpressure,angle) = 45;
|
||||
EGVAR(overpressure,offset) = 1.3;
|
||||
};
|
||||
|
||||
class rhs_weap_maaws: Launcher_Base_F {
|
||||
EGVAR(overpressure,range) = 15;
|
||||
EGVAR(overpressure,angle) = 70;
|
||||
EGVAR(overpressure,damage) = 0.75;
|
||||
EGVAR(overpressure,offset) = 0.95;
|
||||
};
|
||||
|
||||
class rhs_weap_M136: Launcher_Base_F {
|
||||
EGVAR(overpressure,range) = 10;
|
||||
EGVAR(overpressure,angle) = 50;
|
||||
EGVAR(overpressure,offset) = 0.9;
|
||||
};
|
||||
};
|
@ -0,0 +1,18 @@
|
||||
#include "script_component.hpp"
|
||||
|
||||
class CfgPatches {
|
||||
class SUBADDON {
|
||||
addonRootClass = QUOTE(COMPONENT);
|
||||
units[] = {};
|
||||
weapons[] = {};
|
||||
requiredVersion = REQUIRED_VERSION;
|
||||
requiredAddons[] = {
|
||||
"rhsusf_main_loadorder",
|
||||
"ace_overpressure"
|
||||
};
|
||||
skipWhenMissingDependencies = 1;
|
||||
VERSION_CONFIG;
|
||||
};
|
||||
};
|
||||
|
||||
#include "CfgWeapons.hpp"
|
@ -0,0 +1,3 @@
|
||||
#define SUBCOMPONENT overpressure
|
||||
#define SUBCOMPONENT_BEAUTIFIED Overpressure
|
||||
#include "..\script_component.hpp"
|
Loading…
Reference in New Issue
Block a user