mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Isolate Compat RHS_AFRF Overpressure
This commit is contained in:
parent
b26e097711
commit
f58d514be4
@ -85,27 +85,6 @@ class CfgWeapons {
|
||||
class Launcher_Base_F;
|
||||
class rhs_weap_rpg7: Launcher_Base_F {
|
||||
EGVAR(reloadlaunchers,enabled) = 1;
|
||||
EGVAR(overpressure,angle) = 40;
|
||||
EGVAR(overpressure,offset) = 0.9;
|
||||
};
|
||||
|
||||
class rhs_weap_rpg26: Launcher_Base_F {
|
||||
EGVAR(overpressure,range) = 10;
|
||||
EGVAR(overpressure,angle) = 50;
|
||||
EGVAR(overpressure,offset) = 0.65;
|
||||
};
|
||||
|
||||
class rhs_weap_rpg18: rhs_weap_rpg26 {
|
||||
EGVAR(overpressure,angle) = 45;
|
||||
EGVAR(overpressure,offset) = 1;
|
||||
};
|
||||
|
||||
class rhs_weap_strela;
|
||||
class rhs_weap_igla: rhs_weap_strela {
|
||||
EGVAR(overpressure,range) = 6;
|
||||
EGVAR(overpressure,angle) = 40;
|
||||
EGVAR(overpressure,damage) = 0.6;
|
||||
EGVAR(overpressure,offset) = 1.65;
|
||||
};
|
||||
|
||||
class rhs_zsh7a;
|
||||
@ -121,17 +100,6 @@ class CfgWeapons {
|
||||
ACE_Protection = 1;
|
||||
};
|
||||
|
||||
class rhs_weap_d81;
|
||||
class rhs_weap_2a70: rhs_weap_d81 { // "Low pressure" 100mm cannon
|
||||
EGVAR(overpressure,range) = 15;
|
||||
EGVAR(overpressure,damage) = 0.5;
|
||||
};
|
||||
class cannon_120mm;
|
||||
class rhs_weap_2a28_base: cannon_120mm { // "Low pressure"
|
||||
EGVAR(overpressure,range) = 15;
|
||||
EGVAR(overpressure,damage) = 0.5;
|
||||
};
|
||||
|
||||
class rhs_uniform_flora;
|
||||
class rhs_uniform_df15: rhs_uniform_flora {
|
||||
ACE_GForceCoef = 0.8;
|
||||
|
@ -0,0 +1,41 @@
|
||||
class CfgWeapons {
|
||||
// Man-Portable launchers, rear-facing overpressure
|
||||
|
||||
class Launcher_Base_F;
|
||||
class rhs_weap_rpg7: Launcher_Base_F {
|
||||
EGVAR(overpressure,angle) = 40;
|
||||
EGVAR(overpressure,offset) = 0.9;
|
||||
};
|
||||
|
||||
class rhs_weap_rpg26: Launcher_Base_F {
|
||||
EGVAR(overpressure,range) = 10;
|
||||
EGVAR(overpressure,angle) = 50;
|
||||
EGVAR(overpressure,offset) = 0.65;
|
||||
};
|
||||
|
||||
class rhs_weap_rpg18: rhs_weap_rpg26 {
|
||||
EGVAR(overpressure,angle) = 45;
|
||||
EGVAR(overpressure,offset) = 1;
|
||||
};
|
||||
|
||||
class rhs_weap_strela;
|
||||
class rhs_weap_igla: rhs_weap_strela {
|
||||
EGVAR(overpressure,range) = 6;
|
||||
EGVAR(overpressure,angle) = 40;
|
||||
EGVAR(overpressure,damage) = 0.6;
|
||||
EGVAR(overpressure,offset) = 1.65;
|
||||
};
|
||||
|
||||
// Vehicle cannons, forward-facing overpressure
|
||||
|
||||
class rhs_weap_d81;
|
||||
class rhs_weap_2a70: rhs_weap_d81 { // "Low pressure" 100mm cannon
|
||||
EGVAR(overpressure,range) = 15;
|
||||
EGVAR(overpressure,damage) = 0.5;
|
||||
};
|
||||
class cannon_120mm;
|
||||
class rhs_weap_2a28_base: cannon_120mm { // "Low pressure"
|
||||
EGVAR(overpressure,range) = 15;
|
||||
EGVAR(overpressure,damage) = 0.5;
|
||||
};
|
||||
};
|
@ -0,0 +1,18 @@
|
||||
#include "script_component.hpp"
|
||||
|
||||
class CfgPatches {
|
||||
class SUBADDON {
|
||||
addonRootClass = QUOTE(COMPONENT);
|
||||
units[] = {};
|
||||
weapons[] = {};
|
||||
requiredVersion = REQUIRED_VERSION;
|
||||
requiredAddons[] = {
|
||||
"rhs_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