Jump to content
Sign in to follow this  
Stormmy1950

IntroVideo

Recommended Posts

Hi guys. So i am currently working on a SCP Scenario the intro in the scenario and i have next problem. So in Intro script i have a Video that plays when players load in and that works great but the problem is the next part. So basicly in intro i have 2 parts 1. is the video that plays shoort introduction and 2. is the text done with titleText and sleep commands.  But the problem is in trasnition between video to text part. There is like a split second that shows players gun and stance (normal arma view) and i would like to remove that if possible.
PS. Allready tried to put Titletext before the video but what happends is the video gets coverd by title Text so you are unable to see the video if titletext is befor that.
Code:
 

/*
_video = "Media\Video\SCP_Logo_Animation.ogv";
_screen = "Land_TripodScreen_01_large_F" createVehicle (player modelToWorld [0,10,0]);
_screen setObjectTexture [0, _video];
[_video, [10, 10]] call BIS_fnc_playVideo;
*/

if (!hasInterface) exitWith {};
waitUntil{sleep 0.1; time > 0};
//0 fadeSpeech 0;
//0 fadeRadio 0;
//0 fadeSound 0;
private _video = ["Media\Video\SCP_Logo_Animation.ogv"] spawn BIS_fnc_playVideo;
waitUntil {scriptDone _video};
//in this line is where the transition happening and where you are able to see split second of a normal arma view
private _intro = [] spawn {
//sleep 1;
playMusic "EventTrack01_F_EPC";
titletext["<t color='#ffffff' size='2.5' font='EtelkaMonospaceProBold' align='center'>We die in the dark, so you can live in the light.<br/>
<t size='1' color='#8b0000' font='EtelkaMonospaceProBold' >~ Another unofficial motto of the Foundation.</t>
</t>","BLACK FADED",10,true,true];
sleep 5;
titleText ["","BLACK FADED",10];
sleep 1;
titleText["<t color='#ffffff' size='2.5' font='EtelkaMonospaceProBold' align='center'>You will be defined not just by what you achive, <br/>but by how you survive.</t><br/>
<t color='#8b0000' size='1'  font='EtelkaMonospaceProBold'>~ Sheryl Sandberg</t>","BLACK FADED",10,true,true];
sleep 7;
titleText ["","BLACK FADED",10];
titleText["<t color='#ffffff' size='2' font='EtelkaMonospaceProBold' align='center'>In the middle of the journey of our life <br/>
I found myself within a dark woods<br/> 
where the straight way was lost</t><br/>
<t color='#8b0000' size='1' font='EtelkaMonospaceProBold'>~ Dante Alighieri, Inferno </t>","BLACK FADED",10,true,true];
sleep 8;
titleText ["","BLACK FADED",10];
sleep 1;
titleText ["<t color='#8b0000' size='5' align='center'>Legion Presents</t>","BLACK FADED",10,true,true];
sleep 5;
titleText ["","BLACK FADED",10];

//Picture
_TAG_Picture = findDisplay 46 ctrlCreate ["RscPicture", 200000]; 
_TAG_Picture ctrlSetPosition [0, 0, 1,1];   
_TAG_Picture ctrlCommit 0;  
_TAG_Picture ctrlSetTextColor [1, 1, 1, 1]; 
_TAG_Picture ctrlSetText "Media\Images\SCP_LOGO1024x1024_IntroLogo.paa";

sleep 7;
ctrlDelete ((findDisplay 46) displayCtrl 200000);
};


/*
titleText ["","BLACK FADED",10];
_TAG_Picture = findDisplay 46 ctrlCreate ["RscPicture", 200000]; 
_TAG_Picture ctrlSetPosition [0, 0, 1,1];   
_TAG_Picture ctrlCommit 0;  
_TAG_Picture ctrlSetTextColor [1, 1, 1, 1]; 
_TAG_Picture ctrlSetText "Media\Images\SCP_LOGO1024x1024_IntroLogo.paa";

titleText ["","BLACK IN",10];

this setObjectTextureGlobal [0,"Media\Images\van_body_Vrana_CO2.paa"];
*/



waitUntil {sleep 0.1; scriptDone _intro};
titleText ["","BLACK IN",10];
_camera = "camera" camCreate (getpos player);
_camera cameraeffect ["terminate", "back"];
camDestroy _camera;
"dynamicBlur" ppEffectEnable true;   
"dynamicBlur" ppEffectAdjust [50];   
"dynamicBlur" ppEffectCommit 0;     
"dynamicBlur" ppEffectAdjust [0.0];  
"dynamicBlur" ppEffectCommit 2;

 

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  

×