Jump to content
Sign in to follow this  
Fiddi

Closing shot without actually ending mission.

Recommended Posts

Hey, is it possible to establish a closing shot without actually ending the mission and continue afterwards instead?

 

https://community.bistudio.com/wiki/Debriefing

 

Or is there an other way to get the closing shot effect? I think that it's a cool effect and would like to have it in my side missions.

Share this post


Link to post
Share on other sites

If you look in the config viewer in game, you will find rscTitles. Using those and the commands cutRsc or titleRsc you can add all kinds of effects.

  • Like 1

Share this post


Link to post
Share on other sites

Okay, I'll do that, thanks. Always thought that a simple notification that a side mission was completed were a bit weak.

Share this post


Link to post
Share on other sites

Look at the endMission function in the function viewer, you can see how the static effects are done.

  • Like 1

Share this post


Link to post
Share on other sites

I created this function, works perfectly. Fades perfectly in and fades perfectly out, while playing a little bit of music.

FRED_fnc_endSideGraphic = {
	/*
		Author: 
			Fredrik Eriksson
	
		Description:
			Side mission ending graphic.
	
		Parameter:
			0 : STRING 
					- Graphic Name (Defined in Descriptions.ext)
	
		Returns:
			NOTHING
	*/
	Private ["_endGraphic"];
	_endGraphic = _this select 0;
	
	missionnamespace setvariable ["BIS_fnc_missionHandlers_end", _endGraphic];
	
	_layerInterlacing = "BIS_fnc_endMission_interlacing" call bis_fnc_rscLayer;
	_layerStatic = "BIS_fnc_endMission_static" call bis_fnc_rscLayer;
	_layerEnd = "BIS_fnc_endMission_end" call bis_fnc_rscLayer;
	_layerTiles = "BIS_layerEstShot" call BIS_fnc_rscLayer;
	
	{_x cuttext ["","PLAIN"]} foreach [_layerInterlacing,_layerStatic,_layerEnd,_layerTiles];
	playmusic "EventTrack01_F_Curator";
	2.5 fadesound 0;
	0 fademusic 2;
	
	_layerStatic cutrsc ["RscStatic","PLAIN"];
	
	Sleep 0.3;
	
	showhud false;
	_layerEnd cutrsc ["RscMissionEnd","PLAIN", 0.5];
	_layerInterlacing cutrsc ["RscInterlacing","PLAIN"];
	_layerTiles cutrsc ["RscEstablishingShot","PLAIN"];	
	
	Sleep 5;
	
	_layerStatic cutrsc ["RscStatic","PLAIN"];
	2.5 fadesound 1;
	
	Sleep 0.2;
	
	{_x cutFadeOut 1} foreach [_layerInterlacing,_layerStatic,_layerEnd];
	_layerTiles cutFadeOut 3;	
	showhud true;
	missionnamespace setvariable ["BIS_fnc_missionHandlers_end", ""];
};

Thanks for the help and advice! 

  • Like 1

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×