mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Update Documentation
This commit is contained in:
parent
dfe8fa794a
commit
dea6edf405
@ -16,4 +16,7 @@ version:
|
|||||||
## 1. Overview
|
## 1. Overview
|
||||||
|
|
||||||
### 1.1 Overpressure
|
### 1.1 Overpressure
|
||||||
Adds backblast to AT launchers and overpressure zones to tank cannons, don't stay behind a firing RPG or it'll hurt.
|
Adds backblast to Man-Portable AT/AA launchers, static/vehicle-mounted Missile launchers and Recoilless Guns.
|
||||||
|
Tank and Artillery cannons also have large overpressure zones that can cause injury to dismounted personnel.
|
||||||
|
|
||||||
|
Don't stand behind a firing RPG or it'll hurt!
|
||||||
|
@ -14,33 +14,46 @@ version:
|
|||||||
|
|
||||||
## 1. Config Values
|
## 1. Config Values
|
||||||
|
|
||||||
### 1.1 Launchers
|
### 1.1 Man-Portable Launchers
|
||||||
|
|
||||||
```cpp
|
```cpp
|
||||||
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 towards the side)
|
||||||
ace_overpressure_range = 15; // Range in meters in which the damage is applied
|
ace_overpressure_range = 10; // Range in meters in which the damage is applied
|
||||||
ace_overpressure_damage = 0.7; // Damage multiplier
|
ace_overpressure_damage = 0.7; // Damage multiplier
|
||||||
ace_overpressure_offset = 1; // Offset from the projectile, where the backblast originates
|
ace_overpressure_offset = 1; // Offset from the projectile origin backwards, to where the backblast should originate (backblast is always directed backwards, regardless of the number's sign)
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
```
|
```
|
||||||
|
|
||||||
### 1.2 Cannons
|
### 1.2 Vehicle-mounted/Static Cannons, forward-facing overpressure
|
||||||
|
|
||||||
```cpp
|
```cpp
|
||||||
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 towards the side)
|
||||||
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
|
||||||
|
ace_overpressure_offset = 1; // Offset from the projectile origin forward, to where the overpressure should originate (positive number to direct the overpressure forward)
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
```
|
```
|
||||||
|
|
||||||
- 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.
|
- 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 overpressure
|
||||||
|
|
||||||
|
```cpp
|
||||||
|
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 (negative number to direct the overpressure backwards)
|
||||||
|
};
|
||||||
|
};
|
||||||
|
```
|
||||||
|
|
||||||
## 2. Events
|
## 2. Events
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user