mirror of
https://github.com/acemod/ACE3.git
synced 2025-07-25 12:52:41 +00:00
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com> Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2.7 KiB
2.7 KiB
layout, title, description, group, order, parent, mod, version
layout | title | description | group | order | parent | mod | version | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
wiki | Overpressure Framework | Explains how to set-up launchers and cannons with backblast and overpressure areas with the ACE3 overpressure system. | framework | 5 | wiki | ace |
|
1. Config Values
1.1 Man-Portable Launchers
class CfgWeapons {
class MyLauncher {
ace_overpressure_angle = 60; // Cone in which the damage is applied (in degrees from the back end of the launcher towards the side)
ace_overpressure_range = 10; // Range in meters in which the damage is applied
ace_overpressure_damage = 0.7; // Damage multiplier
ace_overpressure_offset = 1; // Offset from the projectile origin backwards, to where the backblast should originate from
};
};
1.2 Vehicle-mounted/Static Cannons, forward-facing overpressure
class CfgWeapons {
class MyBananaCannon {
ace_overpressure_angle = 90; // Cone in which the damage is applied (in degrees from the muzzle of the cannon towards the side)
ace_overpressure_range = 50; // Range in meters in which the damage is applied
ace_overpressure_damage = 0.85; // Damage multiplier
ace_overpressure_offset = 1; // Offset from the projectile origin forwards, to where the overpressure should originate from
};
};
- You can note that the angle, range and damage values are higher, that's because this is a cannon and the overpressure area is much larger.
1.3 Vehicle-mounted/Static Missile launchers and Recoilless Guns, rear-facing backblast
class CfgWeapons {
class MyStaticATGM {
ace_overpressure_angle = 60; // Cone in which the damage is applied (in degrees from the back end of the launcher towards the side)
ace_overpressure_range = 15; // Range in meters in which the damage is applied
ace_overpressure_damage = 0.8; // Damage multiplier
ace_overpressure_offset = 1; // Offset from the projectile origin backwards, to where the backblast should originate from
ace_overpressure_backblast = 1; // Defines the overpressure as backblast, so that it will be directed backwards
};
};
class CfgVehicles {
class MyClosedMLRS {
ace_overpressure_noReflection = 1; // Prevents backblast reflection to the gunner in light vehicles like Vanilla MLRS Trucks, which are otherwise counted as "open" by ace_common_fnc_updatePlayerVehAttenuation
};
};
2. Events
2.1 Listenable
Event Name | Description | Passed Parameter(s) | Locality |
---|---|---|---|
ace_overpressure |
Overpressure damage inflicted | [_firer, _posASL, _direction, _weapon, _magazine, _ammo] |
Target |