Home   Help Search Login Register  

Author Topic: Picture intro  (Read 2209 times)

0 Members and 3 Guests are viewing this topic.

InFeErNiTo

  • Guest
Picture intro
« on: 29 Apr 2004, 13:07:50 »
hi i want to make a intro for my map.

i want 3 different jpg's to fade in/out on the screen after one another. i dont have any idea how to do this, can anyone help?
« Last Edit: 29 Apr 2004, 13:08:14 by InFeErNiTo »

Offline alimag

  • Contributing Member
  • **
  • I'm a llama!
Re:Picture intro
« Reply #1 on: 29 Apr 2004, 17:18:21 »
Hi,

Put this in your description.ext file:

class RscPicture
{
   type=0;
   idc=-1;
   style=48;
   colorBackground[]={0,0,0,0};
   colorText[]={1,1,1,0.3};
   font="tahomaB24";
   size=0;
};

class RscTitles
{
   class TitlePic1
   {
      idd=-1;
      movingEnable=0;
      duration=4;
      name="TitlePic1";
      controls[]={"Title"};
      class Title: RscPicture
      {
         text="NameOfPicFile";
         x=0.420000;
         y=0.300000;
         w=0.160000;
         h=0.300000;
      };
   };
};

Just replace the bold text with the name of your picture file.

And then use the class name (TitlePic1) to show your picture:

titleRSC ["TitlePic1", "plain"]

You can also edit the duration field, distance from left (x), distance from top (y), width (w) and height (h) to your own needs.

Repeat the process 3 times (with different class names) putting the names of each picture and your done.

Cheers

InFeErNiTo

  • Guest
Re:Picture intro
« Reply #2 on: 29 Apr 2004, 21:44:30 »
i put the script u gave in the description.ext and then put the

["TitlePic1", "plain"]

into a sqs file called intro, i then ran this script from a trigger in the editor using this line

[] exec "intro.sqs";

when i start the mission i get a error sayng that the pic isnt found, i put the picture in my mission folder, do i need to put it elsewere?

i want the picture to cover the whole screen, is this possible?
« Last Edit: 29 Apr 2004, 22:09:46 by InFeErNiTo »

Offline Blanco

  • Former Staff
  • ****
Re:Picture intro
« Reply #3 on: 29 Apr 2004, 22:15:00 »
When you change (and save) something in a description.ext , you always have to reload your mission to see the effect.
Search or search or search before you ask.

Offline rhysduk

  • Former Staff
  • ****
Re:Picture intro
« Reply #4 on: 29 Apr 2004, 22:16:45 »
Read this mate..  its a tut by Sui on getting pictures up in missions..

Works perfectly!!

Rhyse
Reviewed Missions Board: Please Read the User's Guide before posting!

Pride and Joy 1 (HW100-T)

InFeErNiTo

  • Guest
Re:Picture intro
« Reply #5 on: 01 May 2004, 02:11:37 »
thanks ill read up

WAKA-WAKA

  • Guest
Re:Picture intro
« Reply #6 on: 10 Jun 2004, 21:04:50 »
Do you know how to insert a video clip aswell?

Offline rhysduk

  • Former Staff
  • ****
Re:Picture intro
« Reply #7 on: 10 Jun 2004, 22:31:05 »
No but im guesin you have to deine its as a CutRSC in the Description.EXt file though..

Download the COC Tomahawk pack.. thye do this in the introdutcion mission.. take it apart and look at it.

Rhys
Reviewed Missions Board: Please Read the User's Guide before posting!

Pride and Joy 1 (HW100-T)

WAKA-WAKA

  • Guest
Re:Picture intro
« Reply #8 on: 10 Jun 2004, 22:57:13 »
I mean something like a .mpeg video clip

Offline rhysduk

  • Former Staff
  • ****
Re:Picture intro
« Reply #9 on: 10 Jun 2004, 23:32:38 »
Thast what i meant!
Reviewed Missions Board: Please Read the User's Guide before posting!

Pride and Joy 1 (HW100-T)

WAKA-WAKA

  • Guest
Re:Picture intro
« Reply #10 on: 10 Jun 2004, 23:34:02 »
ohhhhh. Can u give me a link to the download if it isn't too hard, i can't find it.

Offline rhysduk

  • Former Staff
  • ****
Re:Picture intro
« Reply #11 on: 11 Jun 2004, 11:18:56 »
Go to the Home page and click on affiliated mods with OFPEC.. the link for the COC website is there.. and the COC Tomahawks are in there..

They are also in the Addons Depot..

Rhys
Reviewed Missions Board: Please Read the User's Guide before posting!

Pride and Joy 1 (HW100-T)

WAKA-WAKA

  • Guest
Re:Picture intro
« Reply #12 on: 11 Jun 2004, 17:59:08 »
Thnx

 And does anybody know why it says I'm a Llama under my name everytime i post something?

j-man

  • Guest
Re:Picture intro
« Reply #13 on: 11 Jun 2004, 20:04:05 »
Quote
And does anybody know why it says I'm a Llama under my name everytime i post something?

It sayds that by default when ever you register here. Just login and click the "profile" button near the top of the page. There you can change "I am a Llama" to what ever you want ;)

Homefry31464

  • Guest
Re:Picture intro
« Reply #14 on: 12 Jun 2004, 05:06:39 »
I mean something like a .mpeg video clip

Not possible, CoC used 200+ JPEG files shown in rapid succesion.  

ponq

  • Guest
Re:Picture intro
« Reply #15 on: 12 Jun 2004, 22:41:55 »
CoC used 162 files for their launch movie. Still a lot.

Just consider that if you want a smooth movie you'll need 20-24 frames per second (so 20-24 .jpg per second). Even a short movie of 5 seconds would still require at least 500kb of jpg files in  low quality.
But it is possible.

WAKA-WAKA

  • Guest
Re:Picture intro
« Reply #16 on: 12 Jun 2004, 23:06:40 »
You took my I'm a Llama! thing