Debriefing – Arma 3
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
[[Category:Arma_3:_Editing]] | [[Category:Arma_3:_Editing]] | ||
Arma 3 introduces new debriefing screen style. It completely replaces old [[Briefing.html]], which is no longer supported. | |||
<gallery> | <gallery> | ||
File:A3_closingShot.jpg|Closing Shot | File:A3_closingShot.jpg|Closing Shot | ||
Line 8: | Line 7: | ||
File:A3_debriefing_stats.jpg|Debriefing - Statistics | File:A3_debriefing_stats.jpg|Debriefing - Statistics | ||
</gallery> | </gallery> | ||
== Execution == | |||
'''Mission debriefing''' is displayed automatically upon mission end, unless [[description.ext#debriefing|debriefing]] params is not set to 0 in ''description.ext''. | |||
In order to show '''closing shot''', you have to use [[BIS_fnc_endMission]] instead of calling scripting commands [[endMission]] / [[failMission]] directly: | |||
"end1" BIS_fnc_endMission; | |||
== Configuration == | |||
=== Debriefing / Closing Shot === | |||
'''config.cpp''' or '''description.ext''': | '''config.cpp''' or '''description.ext''': | ||
class CfgDebriefing | class CfgDebriefing |
Revision as of 13:16, 25 March 2013
Arma 3 introduces new debriefing screen style. It completely replaces old Briefing.html, which is no longer supported.
Execution
Mission debriefing is displayed automatically upon mission end, unless debriefing params is not set to 0 in description.ext.
In order to show closing shot, you have to use BIS_fnc_endMission instead of calling scripting commands endMission / failMission directly:
"end1" BIS_fnc_endMission;
Configuration
Debriefing / Closing Shot
config.cpp or description.ext:
class CfgDebriefing { class End1 { title = "Mission Completed"; subtitle = ""; description = "You successfully rescued our forces and neutralized the spotters, despite being forced to retreat."; backgroundPicture = ""; picture = "b_inf"; pictureColor[] = {0.0,0.3,0.6,1}; }; };
Most of the params are shared both by the closing shot and by debriefing screen, see a table below:
- title: Ending main title. Default text (MISSION ACCOMPLISHED or MISSION FAILED, based on the ending type) is displayed when the param is missing.
- subtitle: Ending subtitle, further explaining the ending. Optional, no subtitle is displayed when the param is missing.
- description: Detailed description of the ending. Not available in closing shot. Optional, no description is displayed when the param is missing.
- backgroundPicture: 2:1 picture displayed in the background. When undefined, loading screen is used instead (can be disabled by defining as empty string).
- picture: 1:1 icon, used mainly in multiplayer missions. Optional, no picture is displayed when the param is missing. Can be either link to a texture, or CfgMarkers class.
- pictureColor: Picture color. Optional, white is used when the param is missing.
Custom Sections
description.ext:
class CfgDebriefingSections { class Loot { title = "Collected weapons"; variable = "BIS_loot"; }; };
- title: Section title displayed in horizontal listbox
- variable: missionNameSpace variable containing string to be shown. It will be parsed and displayed as structured text. When empty, section won't be visible at all.