7erra/Sandbox – User

From Bohemia Interactive Community
Jump to navigation Jump to search
m (→‎appId: removed link to appId store page)
m (Text replacement - "};</syntaxhighlight>" to "}; </syntaxhighlight>")
Line 23: Line 23:
==== dlcColor ====
==== dlcColor ====
Color of the frame in the overview and most elements in the detailed view.
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>
<syntaxhighlight lang="cpp">dlcColor[] = {0.215686,0.368627,0.368627,1};
</syntaxhighlight>


=== L ===
=== L ===
Line 84: Line 85:
==== reference ====
==== reference ====
Can be used instead of {{ic|displayName}} and {{ic|overviewPicture}}. In this case the information will be pulled from the provided config.
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>
<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"}}
This corresponds to the following config path: {{ic|[[configFile]] >> "CfgVehicles" >> "MBT_04_cannon_base_F"}}


Line 90: Line 92:
==== tryAsset ====
==== 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}}}.
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>
<syntaxhighlight lang="cpp">tryAsset[] = {1,"O_crew_f","O_MBT_04_cannon_F"};
</syntaxhighlight>
</div>
</div>




</div>
</div>

Revision as of 10:05, 25 May 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"};