Home   Help Search Login Register  

Author Topic: How can I add a picture in a cutscene?  (Read 2180 times)

0 Members and 1 Guest are viewing this topic.

skramble

  • Guest
How can I add a picture in a cutscene?
« on: 27 Jan 2004, 19:02:34 »
How can I add a picture in a cutscene?

GrimMonkey

  • Guest
Re:How can I add a picture in a cutscene?
« Reply #1 on: 28 Jan 2004, 01:05:17 »
Something like:
CutRsc "YourImage.jpg"

Not certified to be accurate.
Of course, put the image in the mission's folder.


Beware the GrimMonkey

xenofanes

  • Guest
Re:How can I add a picture in a cutscene?
« Reply #2 on: 29 Jan 2004, 15:59:19 »
I think I wrote about this in my text/font tutorial... ??? It can be downloaded from my site: http://www20.brinkster.com/xenofanes/index.htm

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:How can I add a picture in a cutscene?
« Reply #3 on: 03 Feb 2004, 16:15:11 »
I need to know this too.

@ GrimMonkey, there's a bit more to it than that.  ;D  You need a bucket of stuff in description.ext, that much I do know.

@xenofanes, that tute was excellent - I used it before - but sadly it doesn't cover pictures.

I found this thread which will help.  I have to go and figure it out now.

« Last Edit: 03 Feb 2004, 16:17:07 by macguba »
Plenty of reviewed ArmA missions for you to play

GrimMonkey

  • Guest
Re:How can I add a picture in a cutscene?
« Reply #4 on: 04 Feb 2004, 01:09:17 »
@ GrimMonkey, there's a bit more to it than that.  ;D  You need a bucket of stuff in description.ext, that much I do know.
Yeah, I know. I discovered this when I needed to show a custom picture. I looked at someone elses and there was a 'bucket of stuff in description.ext' that is required.

Now I need to know.


Beware the GrimMonkey

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:How can I add a picture in a cutscene?
« Reply #5 on: 05 Feb 2004, 19:28:53 »
OK I've made it work, more or less, thanks to Sui's wee tute which you can find by following the link in my other post.

Two points to mention.

1)  He does say this but it's not very clear:  the place where you put the name of the file you want to use is in this bit:
Code: [Select]
text="Title.paa";
         x=0.200000;
         y=0.200000;
         w=0.600000;
         h=0.600000;


2)  There are probably various ways of making the picture appear but I used:-
Code: [Select]
titleRsc ["title","plain",0.1]
Plenty of reviewed ArmA missions for you to play

Offline The-Architect

  • Former Staff
  • ****
  • Bite my shiny metal...
    • Bob's Un-official Flashpoint Page
Re:How can I add a picture in a cutscene?
« Reply #6 on: 24 Feb 2004, 18:38:52 »
I copied someone else's and just changed the pic. It contains text too but I havn't read the tute yet so you'll just have to pic what you need out,

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

class RscTitles
  {
   titles[]={INTRO,};
   
   class INTRO
   {
     Â Â Â idd=-1;
     Â Â Â movingEnable=0;
     Â Â Â duration=2;
     Â Â Â fadein=2;
      fadeout=2;
     Â Â Â name="INTRO";
     Â Â Â controls[]={"Pic","Text",};
     Â Â Â 
     Â Â Â class Pic : RscStdText
     Â Â Â   {
     Â Â Â   Â Â Â style=48;
     Â Â Â   Â Â Â text="ARCH.jpg";
     Â Â Â   Â Â Â x=0.46;
     Â Â Â   Â Â Â y=0.45;
     Â Â Â   Â Â Â w=0.08;
     Â Â Â   Â Â Â h=0.110;
     Â Â Â   };
     Â Â Â class Text : RscStdText
     Â Â Â   {
     Â Â Â   Â Â Â text="The-Architect";
         colorText[]={1,1,1,1};
         font="TahomaB48";
         size=0.8;     Â Â Â   Â Â Â 
     Â Â Â   Â Â Â x=0.095;
     Â Â Â   Â Â Â y=0.4;
     Â Â Â   Â Â Â w=0.8;
     Â Â Â   Â Â Â h=0.05;
     Â Â Â   };
     Â Â Â 
   };
  };

That goes in the Description as you probably know. I called it up from a script with,

TitleRsc ["INTRO","pLAIN",0]

the pic dimensions were, 128x128 pixels. Note I used a jpeg.

If you guys already know all this stuff then forget the post and let someone else benefit from it.

 :moon:
« Last Edit: 24 Feb 2004, 18:40:05 by The-Architect »
James Andrew Wilkinson 1977 - 2005 R.I.P.
"If it ain't the friggin' incoming it's the friggin' outgoing. Only difference is who gets the friggin' grease, and that ain't no friggin' difference at all."

Offline Blanco

  • Former Staff
  • ****
Re:How can I add a picture in a cutscene?
« Reply #7 on: 24 Feb 2004, 19:16:18 »
another example from an old mission I've made last year :

Code: [Select]
class RscStdText
{Type=0;
Idc=-1;
Style=48;
ColorBackground[]={1,1,1,0};
ColorText[]={1,1,1,1};
Font="TahomaB36";
Size=1;};

class RscTitles{Titles[]={"titel1","titel2","titel3","titel4"};
   
class titel1
{
Idd=-1;
MovingEnable=0;
Duration=30;
Fadein=0.6;
Name="titel1";
Controls[]={"titel1"};
class titel: RscStdText
{
Style=48;
ColorBackground[]={0,0,0,0};
Text="titel1.paa";
X=0.25;
Y=0.10;
W=0.55;
H=0.45;
};
};
   
class titel2
{
Idd=-1;
MovingEnable=0;
Duration=10;
FadeIn=0.6;
Name="titel2";
Controls[]={"titel2"};
class titel2: RscStdText
{
Style=48;
ColorBackground[]={0,0,0,0};
Text="titel2.paa";
X=0.9;
Y=0.9;
W=0.08;
H=0.08;
};
};

class titel3
{
Idd=-1;
MovingEnable=0;
Duration=10;
FadeIn=0.6;
Name="titel3";
Controls[]={"titel3"};
class titel3: RscStdText
{
Style=48;
ColorBackground[]={0,0,0,0};
Text="titel3.paa";
X=0.00009;
Y=0.118;
W=0.3;
H=0.766;
};
};

class titel4
{
Idd=-1;
MovingEnable=0;
Duration=10;
FadeIn=0.6;
Name="titel4";
Controls[]={"titel4"};
class titel4: RscStdText
{
Style=48;
ColorBackground[]={0,0,0,0};
Text="titel4.paa";
X=0.700;
Y=0.115      
W=0.3;
H=0.768;
};
};
};

4 pictures (.paa) can't remember the dimensions anymore

Activated with

TitleRsc ["titel1","PLAIN"]
&
TitleRsc ["titel1","PLAIN"]
&
TitleRsc ["titel2","PLAIN"]
&
TitleRsc ["titel3","PLAIN"]

or with

CutRsc ["titel1","PLAIN",0]
...

« Last Edit: 24 Feb 2004, 19:22:16 by Blanco »
Search or search or search before you ask.

Captain Winters

  • Guest
Re:How can I add a picture in a cutscene?
« Reply #8 on: 27 Feb 2004, 18:55:13 »
I need to know this too.

@ GrimMonkey, there's a bit more to it than that.  ;D  You need a bucket of stuff in description.ext, that much I do know.

@xenofanes, that tute was excellent - I used it before - but sadly it doesn't cover pictures.

I found this thread which will help.  I have to go and figure it out now.



U 2 jus chekc out my mission 'Waiting For The Hammer' in the Missions Depot :D (8/10) ^_^. Pictures play a vital role in complting the mission, and you can dePBO it and use the Description.ext as a template if you needA!

Tanks! 8)

Offline The-Architect

  • Former Staff
  • ****
  • Bite my shiny metal...
    • Bob's Un-official Flashpoint Page
Re:How can I add a picture in a cutscene?
« Reply #9 on: 01 Mar 2004, 03:23:08 »
Right on Captain!  :afro:
James Andrew Wilkinson 1977 - 2005 R.I.P.
"If it ain't the friggin' incoming it's the friggin' outgoing. Only difference is who gets the friggin' grease, and that ain't no friggin' difference at all."

cpt.Hawkeyez

  • Guest
Re:How can I add a picture in a cutscene?
« Reply #10 on: 06 Mar 2004, 00:23:17 »
download chris henderson ofp scripter thing it has a wizard that will do all of that for you its in the tools sections.

Offline rhysduk

  • Former Staff
  • ****
Re:How can I add a picture in a cutscene?
« Reply #11 on: 14 Mar 2004, 16:12:41 »
THE CHOFPSE version that i have (newest one) does not do pictures for resources..

If yours does then where the hell did u get it :)

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

Pride and Joy 1 (HW100-T)