mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
cc503e041b
* Adding pylon whitelist option * Changing tabs to spaces :( * Changing to use QGVAR * Changing name in QGVAR to more clearly reflect function of variable * Docs for the magazine whitelist function in pylons * Changes to match style guide * More docs * More tabs * Update pylons-framework.md * Update pylons-framework.md
28 lines
926 B
Markdown
28 lines
926 B
Markdown
---
|
|
layout: wiki
|
|
title: Pylons Framework
|
|
description: Explains how to set-up pylons whitelist and blacklist
|
|
group: framework
|
|
order: 5
|
|
parent: wiki
|
|
mod: ace
|
|
version:
|
|
major: 3
|
|
minor: 13
|
|
patch: 0
|
|
---
|
|
|
|
### 1 Setting a whitelist
|
|
|
|
To set a whitelist, set the `ace_pylons_magazineWhitelist` variable with an array containing possible magazines.
|
|
|
|
For example, place an AH-9 Pawnee, with the following in init line:
|
|
|
|
`this setVariable ["ace_pylons_magazineWhitelist", ["PylonRack_7Rnd_Rocket_04_HE_F","PylonRack_7Rnd_Rocket_04_AP_F"]];`.
|
|
|
|
Blacklists are set in the same way. Set the `ace_pylons_magazineBlacklist` variable with an array containing banned magazines.
|
|
|
|
`this setVariable ["ace_pylons_magazineBlacklist", ["PylonRack_7Rnd_Rocket_04_HE_F","PylonRack_7Rnd_Rocket_04_AP_F"]];`.
|
|
|
|
This would set the only available loadouts to be Hydra 70s. This will not change what is loaded by default, or affect whether it can rearm.
|