ACE uzstādījumi
#7
https://github.com/CBATeam/CBA_A3/wiki/C...ion-or-mod

Userconfig
[/url]
Settings can be exported using the export function (described below) and be pasted into an optional file in the userconfig folder. The filepath is
Kods:
Arma 3\userconfig\cba_settings.sqf
, where "Arma 3" is the games installation folder.
This works for a dedicated server as well as the clients, but requires the
Kods:
-filePatching
startup parameter.
Alternatively one can use Addon Builder to create a PBO that contains the userconfig settings file. The addon is called
Kods:
cba_settings_userconfig
and can be found in the template folder. An empty cba_settings.sqf is already placed inside. The binarized PBO could be placed inside the
Kods:
@CBA_A3\addons\
folder or a custom addon could be created (and could also be uploaded to the Steam Workshop etc.). This method does not require file patching to be enabled.
Userconfig limitations
  • Settings defined in the userconfig cannot be changed in the ingame settings menu.
  • (v3.15.8 or earlier) Setting values in the userconfig cannot be multiline (arrays must be defined in single line etc.)
Export and Import Function

Settings can be exported to the clipboard and imported from the clipboard using the ingame settings menu in a format that can be stored in any type of text file.
The exported settings can be pasted into the various cba_settings.sqf files described above.
Note that the Import and Export functions might not be available in multiplayer, because Arma disables the clipboard for security reasons.
Add Settings File To Mission Without CBA
[url=https://github.com/CBATeam/CBA_A3/wiki/CBA-Settings-System#add-settings-file-to-mission-without-cba]
requires 3.5
The
Kods:
cba_settings.sqf
file of a mission is ignored by default. If the file is present when the mission is saved in the editor, a flag will be set and enable the mission to read the file. This only works if CBA is present when the mission is saved. To avoid creating a dependency, the mission maker can manually add the flag to the
Kods:
description.ext
:
cba_settings_hasSettingsFile = 1;

Note that this will crash the mission on a dedicated server if the file is not present in the mission.
"Kā cilvēks, kam trūkst pašcieņas, nav dīdzējs, bet nīcējs, tā arī tauta, kurai nav pašapziņas." K.Mīlenbahs
Atbilde
« Vecāks | Jaunāks »


Ziņas šai virtenē
ACE uzstādījumi - hobbit_lv - 2021-03-25 22:56
RE: ACE uzstādījumi - hobbit_lv - 2021-11-12 19:20
RE: ACE uzstādījumi - hobbit_lv - 2024-02-29 20:48
RE: ACE uzstādījumi - hobbit_lv - 2024-04-06 23:31
RE: ACE uzstādījumi - hobbit_lv - 2024-12-18 20:55
RE: ACE uzstādījumi - hobbit_lv - 2024-12-19 20:53
RE: ACE uzstādījumi - LvSnor - 2024-12-21 22:40
RE: ACE uzstādījumi - hobbit_lv - 2024-12-30 12:50
RE: ACE uzstādījumi - LvSnor - 2024-12-31 1:02
RE: ACE uzstādījumi - LvSnor - 2024-12-31 2:41
RE: ACE uzstādījumi - hobbit_lv - 2025-01-03 10:54

Pārlēkt uz:


Users browsing this thread: 1 Guest(s)