7erra/Sandbox – User
(DLC Content Browser and CfgMods) |
m (→appId: removed link to appId store page) |
||
Line 10: | Line 10: | ||
==== appId ==== | ==== appId ==== | ||
Steam App ID of the DLC. Part of the Steam page: https://store.steampowered.com/app/appId, eg https://store.steampowered.com/app/798390 (Tanks DLC) | Steam App ID of the DLC. Part of the Steam page: <nowiki>https://store.steampowered.com/app/appId</nowiki>, eg https://store.steampowered.com/app/798390 (Tanks DLC) | ||
<syntaxhighlight lang="cpp">appId = 798390;</syntaxhighlight> | <syntaxhighlight lang="cpp">appId = 798390;</syntaxhighlight> | ||
Revision as of 16:02, 22 April 2021
This page contains information about the DLC Content Browser and what attributes and classes have to be added to the CfgMods class.
Alphabetical Order
A
class Achievements
List of unlockable Steam achievements added by the DLC. See this section.
appId
Steam App ID of the DLC. Part of the Steam page: https://store.steampowered.com/app/appId, eg https://store.steampowered.com/app/798390 (Tanks DLC)
appId = 798390;
artwork
Image shown in the Content Browser (format: 724x1024 px) and as background in the Preview.
artwork = "\A3\Data_F_Tank\Logos\arma3_tank_artwork.jpg";
class Assets
Config containing assets such as vehicles, gear and objects that are added by the DLC. See this section.
D
dlcColor
Color of the frame in the overview and most elements in the detailed view.
dlcColor[] = {0.215686,0.368627,0.368627,1};
L
logoTitle
Big logo at the top of the Preview page. Format: 1024x512 px.
logoTitle = "\A3\Data_F_Tank\Logos\arma3_tank_logoTitle_ca.paa";
M
class Multiplayer
List of multiplayer content added by the DLC. See this section.
N
name
Used as title when nameShort is not defined.
name = "$STR_A3_cfgmods_tank_name0";
nameShort
Title used in the overview (all upper case).
name = "Tanks";
S
class Singleplayer
Config containing subclasses with information about singleplayer content added by the DLC. See this section.
soon
Use 0 for unreleased content. Clicking on the DLC in the Content Browser will take you to the store page directly instead of showing the DLC Preview.
soon = 0;
V
video
Video shown when hovering in the Content Browser, same format as artwork.
video = "\A3\Data_F_Tank\Video\preview_tank.ogv";
Special Subclasses
The subclasses of Assets
, Singleplayer
, Multiplayer
and Achievements
can contain the following attributes:
A
achievement
Internal achievement identifier.
achievement = "AchTankTTBronze";
achievementHidden
Shows "Unknown" instead of details about the achievement unless it has been unlocked already.
achievementHidden = 1;
D
displayName
Title of the info card.
displayName = "T-140 Angara";
O
overviewPicture
Image displayed in the left window.
overviewPicture = "\a3\data_f_tank\images\angara_ca.paa";
R
reference
Can be used instead of displayName
and overviewPicture
. In this case the information will be pulled from the provided config.
reference[] = {"CfgVehicles","MBT_04_cannon_base_F"};
This corresponds to the following config path: configFile >> "CfgVehicles" >> "MBT_04_cannon_base_F"
T
tryAsset
Array containing information to open the vehicle/unit/equipment in the Virtual Arsenal. Format is: {BIS_fnc_arsenal_typeDefault, BIS_fnc_arsenal_defaultClass, BIS_fnc_garage_defaultClass, BIS_fnc_arsenal_customCode
}.
tryAsset[] = {1,"O_crew_f","O_MBT_04_cannon_F"};