AmmoDamage
Description
AmmoDamage adjusts damage dealt by selected firearm projectiles against players, animals and infected. Rules can target one weapon or apply to that projectile across firearms.
Configuration
Default configuration
AmmoDamage.json
json
{
"m_Enable": 0,
"m_Ammunition": [
{
"m_Class": "Bullet_308Win",
"m_Weapon": "",
"m_Multiplier": 5.0,
"m_Player": 0,
"m_Animal": 1,
"m_Zombie": 1
},
{
"m_Class": "Bullet_22",
"m_Weapon": "Ruger1022",
"m_Multiplier": 10.0,
"m_Player": 1,
"m_Animal": 0,
"m_Zombie": 0
},
{
"m_Class": "Bullet_22",
"m_Weapon": "Ruger1022",
"m_Multiplier": 100.0,
"m_Player": 0,
"m_Animal": 1,
"m_Zombie": 1
},
{
"m_Class": "Bullet_22",
"m_Weapon": "",
"m_Multiplier": 0.33000001311302187,
"m_Player": 0,
"m_Animal": 1,
"m_Zombie": 1
}
]
}Options
| Option | Type | Description |
|---|---|---|
m_Enable | bool | With 1, applies the configured rules. With 0, uses normal damage. |
m_Ammunition | array<object> | Damage rules grouped by projectile, weapon and target. |
m_Ammunition[]
A rule for a projectile and weapon takes priority over a rule for that projectile alone.
| Option | Type | Description |
|---|---|---|
m_Class | string | Exact projectile class, such as Bullet_308Win. |
m_Weapon | string | Exact weapon class. Leave empty to apply the rule regardless of weapon. |
m_Multiplier | float | Values above 1 increase damage, lower values reduce it and rules set to 1 are skipped. |
m_Player | bool | Applies to players with 1 and excludes them with 0. |
m_Animal | bool | Applies to animals with 1 and excludes them with 0. |
m_Zombie | bool | Applies to infected with 1 and excludes them with 0. |
