Home   Help Search Login Register  

Author Topic: in-game pics  (Read 529 times)

0 Members and 2 Guests are viewing this topic.

chrisb1220

  • Guest
in-game pics
« on: 02 Mar 2003, 22:56:36 »
Ya um hi all. I am wondering how to get a outside pic to show in a cutscene kinda like what that Takeofftim did in Iron Wall. HELP!

Jester

  • Guest
Re:in-game pics
« Reply #1 on: 03 Mar 2003, 15:54:16 »
you have to do this into the description.ext

Code:

// Control types
#define CT_STATIC                                               0
#define ST_PICTURE                              48

class RscPicture {
        type = CT_STATIC;
        idc = -1;
        style = ST_PICTURE;
        colorBackground[] = { 0, 0, 0, 0 };
        colorText[] = { 1, 1, 1, 1 };
        font = FontS;
        size = 0;
};

class RscTitles
  {
   titles[]={"Logo"};
   
   class Logo  // 1) Intro ******************
     {
        idd=-1;
        movingEnable=0;
            duration=6;
        fadein=0;      
        name="Logo";
        controls[]={"Logo"};
         
        class Logo : RscPicture
          {
             style=48;
             text="picname.jpg";
             x=0.25;
             y=0.20;
             w=0.48;
             h=0.18;
          };

     };

   };
 


where the:
x=0.25;
y=0.20;
w=0.48;
h=0.18;

is where you control the size and position of the picture.


Thanks to Gummi for the info, I had the same question a while back.

chrisb1220

  • Guest
Re:in-game pics
« Reply #2 on: 04 Mar 2003, 00:52:13 »
Got it. Ok, thnx :-)

Offline Capt Ryan

  • Members
  • *
  • Heil Myself !
    • Capt Ryans World War II Adventures
Re:in-game pics
« Reply #3 on: 06 Mar 2003, 17:59:36 »

Is it posible to use more than 1 pic - like 3 diffrent and if so how to add more pic to the decribtion.ext  ?

 ::)



Ryan

Capt Ryans WWII Adventures -  http://www.ofpww2.dk

Offline Black_Feather

  • Former Staff
  • ****
  • I'll never forget you Daisey.
Re:in-game pics
« Reply #4 on: 06 Mar 2003, 20:20:20 »
try this it should work unless I've made a typo

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

class RscTitles
{

class firstpic
{
idd=-2;
movingEnable=1;
duration=8;
name="firstpic";
controls[]={"firstpic"};

class firstpic: RscPicture
{
text="firstpic.paa";
x=0.00000;
y=0.00000;
w=0.75;
h=0.375;
};
};



class differentpic
{
idd=-2;
movingEnable=1;
duration=8;
name="differentpic";
controls[]={differentpic};

class differentpic: RscPicture
{
text="differentpic.paa";
x=0.00000;
y=0.00000;
w=0.75;
h=0.375;
};
};


titles[]={"firstpic","differentpic"};
};
};

Offline Capt Ryan

  • Members
  • *
  • Heil Myself !
    • Capt Ryans World War II Adventures
Re:in-game pics
« Reply #5 on: 06 Mar 2003, 22:53:57 »

Thanx very much - Indeed  - A dream came true ,  a world of posibilities


Ryan  ;D
Capt Ryans WWII Adventures -  http://www.ofpww2.dk