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