mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Overpressure - Fix backblast originating at projectile (#8985)
* Overpressure - Fix backblast originating at the projectile * RHSUSF - Improve backblast for shoulder launchers * RHSAFRF - Improve backblast for shoulder launchers * RHSGREF - Improve backblast for shoulder launchers * RHSSAF - Improve backblast for shoulder launchers * Overpressure - Simplify projectile offset and cache lookups * Overpressure - Remove parentheses and use array as hash key * Overpressure - Rename caching function and move lookup
This commit is contained in:
@ -19,9 +19,10 @@ version:
|
||||
```cpp
|
||||
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_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
|
||||
ace_overpressure_offset = 1; // Offset from the projectile, where the backblast originates
|
||||
};
|
||||
};
|
||||
```
|
||||
@ -31,9 +32,9 @@ class CfgWeapons {
|
||||
```cpp
|
||||
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
|
||||
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
|
||||
};
|
||||
};
|
||||
```
|
||||
|
Reference in New Issue
Block a user