Small fix in overpressure-framework

This commit is contained in:
jonpas 2015-08-25 18:46:03 +02:00
parent 3470346d30
commit 9ffa770147

View File

@ -1,7 +1,7 @@
---
layout: wiki
title: Overpressure Framework
description: Explains how to set-up launchers and cannon backblasts with ACE3 overpressure system.
description: Explains how to set-up launchers and cannons with backblast and overpressure areas with the ACE3 overpressure system.
group: framework
order: 5
parent: wiki
@ -13,11 +13,10 @@ parent: wiki
```c++
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
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
};
};
```
@ -26,13 +25,12 @@ class CfgWeapons {
```c++
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
};
};
```
- You can note that the angle range and damage are higher, that's because this is a cannon and the backblast is higher.
- 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.