Forum Jump :

Author Message


Posts: 2
Rank:


Level: Member

Country: za
Location:
Occupation:
Age:
In-game name:

 
#1 Posted at 2013-06-25 17:34        
     
Sorry if this is a repost.

The showcases have a really polished looking pre-mission "UAV-effect" with the text: "press [space] to begin".

Is it at all possible to add this to a custom mission?
First prize would be an example mission in raw editable format with all of the advanced "Briefing" features in use.

Thanks in advance

Added 3 hours 19 minutes later:

OK well found it.

With the help of http://wiki.ace-mod.net/wagn/PBO_Tools I extracted the showcases and found this code:

//Disable sounds and radio protocol
0 fadeSound 0;
enableRadio false;
enableEnvironment false;

//Initial showcase video
if (!isMultiplayer) then {
	"a3\missions_f_beta\video\COMBINED_ARMS.ogv" spawn BIS_fnc_titlecard;
waitUntil { !isNil { BIS_fnc_titlecard_finished } };
	
	//Establishing Shot
	private "_colorEast";
	_colorEast = EAST call BIS_fnc_sideColor;
	_colorEast set [3, 0.33];
	
	[
		getMarkerPos "BIS_enemy",
		"Stratis - Air station Mike-26<br/>VIP Detention",
		250,
		250,
		0,
		1,
		[
			["\a3\ui_f\data\map\markers\nato\b_unknown.paa", _colorEast, getMarkerPos "BIS_enemy", 1, 1, 0, localize "STR_A3_Showcase_Combined_Arms_Marker_BIS_enemyText", 0]
		]
	] spawn BIS_fnc_establishingShot;
	waitUntil { !isNil { BIS_missionStarted } };
};

//Screen starts black and no sound/music/radio
titleText ["", "BLACK FADED", 10];
0 fadeSound 0;
0 fadeMusic 0;
0 fadeSpeech 0;
enableRadio false;
enableEnvironment false;
clearRadio;

//Fade in screen, music, sound and radio
[] spawn {
	sleep 5;
	titleText ["", "BLACK IN", 5];
	5 fadeSound 1;
	5 fadeMusic 0.6;
	5 fadeSpeech 1;
	enableRadio true;
	enableEnvironment true;
};

If you just put that into your init.sqf.. VOILA!

Enjoy

Added 2 hours 18 minutes later:

Of course you need to set a marker called "BIS_enemy" which is the focus of the UAV.

This post was edited by BundyZa (2013-06-25 23:12, ago)






Tags: Briefing