mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
aed2222b81
* Artillery Tables - Support for ammo that has native `airFriction` * fix comment Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com> * Update addons/artillerytables/functions/fnc_rangeTableOpen.sqf Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com> * replace if block with select const Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com> --------- Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com> Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
39 lines
1.1 KiB
Markdown
39 lines
1.1 KiB
Markdown
---
|
|
layout: wiki
|
|
title: Artillery Tables
|
|
description: Explains the configs for artillery tables.
|
|
group: framework
|
|
parent: wiki
|
|
mod: ace
|
|
version:
|
|
major: 3
|
|
minor: 13
|
|
patch: 0
|
|
---
|
|
|
|
## 1. Magazine Configs
|
|
|
|
```cpp
|
|
class CfgMagazines {
|
|
class yourMag {
|
|
ace_artillerytables_airFriction = -0.00006; // default value
|
|
// drag coefficent (when Air Resistance setting is enabled)
|
|
// can set to 0 to disable all muzzle effects and airFriction
|
|
// can set to +1 to use the ammo's native airFriction (not common, as most artillery ammo will have none)
|
|
```
|
|
|
|
## 2. Vehicle Configs
|
|
|
|
```cpp
|
|
class CfgVehicles {
|
|
class yourVic {
|
|
ace_artillerytables_showRangetable = 1; // [0 disabled, 1 enabled] falls back to artilleryScanner
|
|
// Show rangetable for this vehicle
|
|
|
|
ace_artillerytables_showGunLaying = 1; // [0 disabled, 1 enabled, 2 enabled w/ alt elevationMode] falls back to artilleryScanner
|
|
// Shows gun laying info (elev/azimuth)
|
|
|
|
ace_artillerytables_applyCorrections = 1; // [0 disabled, 1 enabled] falls back to artilleryScanner
|
|
// Apply advanced corrections (when setting enabled)
|
|
```
|