Jump to content
Sign in to follow this  
Toasticuss

Image Splash Screen on mission intro

Recommended Posts

So I've seen in a few missions and a few MP missions that when a player enters the mission an image will fade in for them to see.

Does anyone have a simple mission or tutorial on how to do this?

I pulled this from a mission that had a splash image and what makes it happen is this

class RscTitles
{
   class ClanWappenAnfang
   {
       idd=-1;
       movingEnable = true;
       duration=5; // Dauer der Einblendung
       fadein=0; // Einfadezeit
       name = "ClanWappenAnfang"; // Name im Editor
       controls[]={Picture};
       class Picture : RscPicture
       {
           x = 0; // X-Achse
           y = -0.20; // Y-Achse
           w = 1; // Fensterbreite
           h = 1.25; // Fensterhöhe
           text = "pictures\ClanWappenAnfang.paa"; //Muss ein .paa Bild sein!
           sizeEx = 1;
           style=48;
       };
   };

I'm not German so I can't make much sense out of the comments but it appears the RscTitles make the images show up in startup.

Can anyone else give some insight on how to do these?

Share this post


Link to post
Share on other sites

No it doesn't show the image, it only defines its class so it can be shown. I suggest searching for the classname (here: ClanWappenAnfang) in the other files in the mission and I'm sure you'll get a pointer on what to do next.

Share this post


Link to post
Share on other sites

try this :

class RscStdText
 {
type=0;
idc=-1;
style=2;
colorBackground[]={0,0,0,0};
colorText[]={1,1,1,1}; 
font="TahomaB";
size=1;
 };

class RscTitles
{
titles[]={fog1}; 



class fog1
{
  	idd=-1;
  	movingEnable=0;
  	duration=5;
  	fadein=0;
	fadeout=1;
  	name="fog1";
	sizeEx=1;
  	controls[]={"Pic","Text",};

  	class Pic : RscStdText
	{
  	  	style=48; 
  	  	text="villa.paa";
  	  	x=0.150;
  	  	y=0.150;
  	  	w=0.7;
  	  	h=0.7;
		sizeEx=0.05;
	};
  	class Text : RscStdText 
	{
  	  	text="";
		colorText[]={1,1,1,1};
		font="TahomaB";
		size=0.8;	  	  	
  	  	x=0.050;
  	  	y=0.45;
  	  	w=0.4;
  	  	h=0.4;
		sizeEx=0.03;
	};
};

Share this post


Link to post
Share on other sites

That worked perfectly shk, thank you shk and to everyone else!

One more thing, when trying to make my own image to show up, is there a certain dimension I need to make it?

Edited by Toasticuss

Share this post


Link to post
Share on other sites

Thank you sir. Answers like this are most helpful.

Also, to anyone who hasn't done this before, you can install just TexView2 from the Bohemia tools here. (You dont need to install all the tools if you dont want to) Drag and drop your .png or supported file and wallah, you have your .paa:

very nice.

http://community.bistudio.com/wiki/BI_Tools

Share this post


Link to post
Share on other sites
Thank you sir. Answers like this are most helpful.

Also, to anyone who hasn't done this before, you can install just TexView2 from the Bohemia tools here. (You dont need to install all the tools if you dont want to) Drag and drop your .png or supported file and wallah, you have your .paa:

very nice.

http://community.bistudio.com/wiki/BI_Tools

You must also have an alpha channel set to make transparency work.

Share this post


Link to post
Share on other sites

Anyone knows the paths (names) of the standart OA Loading Screens ?

Share this post


Link to post
Share on other sites
Anyone knows the paths (names) of the standart OA Loading Screens ?

dePBO any of the campaign or scenario missions and look in the init file or description.ext for them. They dont really use a file path they are just there.

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  

×