mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Small fix in overpressure-framework
This commit is contained in:
parent
3470346d30
commit
9ffa770147
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
layout: wiki
|
layout: wiki
|
||||||
title: Overpressure Framework
|
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
|
group: framework
|
||||||
order: 5
|
order: 5
|
||||||
parent: wiki
|
parent: wiki
|
||||||
@ -13,11 +13,10 @@ parent: wiki
|
|||||||
|
|
||||||
```c++
|
```c++
|
||||||
class CfgWeapons {
|
class CfgWeapons {
|
||||||
|
|
||||||
class MyLauncher {
|
class MyLauncher {
|
||||||
ACE_overpressure_angle = 60; // cone in which the damage is applied (in degrees from the back end of the launcher)
|
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_range = 15; // Range in meters in which the damage is applied
|
||||||
ACE_overpressure_damage = 0.7; // damage multiplier
|
ace_overpressure_damage = 0.7; // Damage multiplier
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
```
|
```
|
||||||
@ -26,13 +25,12 @@ class CfgWeapons {
|
|||||||
|
|
||||||
```c++
|
```c++
|
||||||
class CfgWeapons {
|
class CfgWeapons {
|
||||||
|
|
||||||
class MyBananaCannon {
|
class MyBananaCannon {
|
||||||
ACE_overpressure_angle = 90; // cone in which the damage is applied (in degrees from the muzzle of the cannon)
|
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_range = 50; // Range in meters in which the damage is applied
|
||||||
ACE_overpressure_damage = 0.85; // damage multiplier
|
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.
|
||||||
|
Loading…
Reference in New Issue
Block a user