ACE3/docs/wiki/framework/overpressure-framework.md
Drofseh 5e396a3793
Revert "Update from acemod master (#1)" (#2)
This reverts commit 4d1a5194ea1c892e9fd6f0594f497523a443d850.
2018-01-17 03:36:10 -08:00

1.4 KiB

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
major minor patch
3 0 0

1. Config Values

1.1 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)
        ace_overpressure_range = 15;  // Range in meters in which the damage is applied
        ace_overpressure_damage = 0.7;  // Damage multiplier
    };
};

1.2 Cannons

class CfgWeapons {
    class MyBananaCannon {
        ace_overpressure_angle = 90;  // Cone in which the damage is applied (in degrees from the muzzle of the cannon)
        ace_overpressure_range = 50;  // Range in meters in which the damage is applied
        ace_overpressure_damage = 0.85;  // Damage multiplier
    };
};
  • You can note that the angle range and damage values are higher, that's because this is a cannon and the backblast area is bigger.

2. Events

2.1 Listenable

Event Name Description Passed Parameter(s) Locality
overpressure Overpressure damage inflicted [_firer, _position, _direction, _weapon] Target