-
Notifications
You must be signed in to change notification settings - Fork 739
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Artillery Tables - Support for ammo that has native
airFriction
(#1…
…0059) * 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>
- Loading branch information
1 parent
05d6327
commit aed2222
Showing
3 changed files
with
49 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
--- | ||
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) | ||
``` |