Home   Help Search Login Register  

Author Topic: Showing images in-game  (Read 721 times)

0 Members and 1 Guest are viewing this topic.

seanver

  • Guest
Showing images in-game
« on: 27 Oct 2002, 00:50:31 »
That's the question. The code to show an image in-game. More or less I know how to do it, but I would like to know how can I set the size I want to show the image (I used a code in my campaign but it was resized from its original size). Heeelp!

Gameer_77

  • Guest
Re:Showing images in-game
« Reply #1 on: 27 Oct 2002, 11:34:21 »
*Sigh* :-\

Been answered before. Try searching the Cutscene and sound forum for things like, "Picture" and "Dialog". (Needs Resistance)

 8)PEACE

seanver

  • Guest
Re:Showing images in-game
« Reply #2 on: 27 Oct 2002, 12:33:45 »
I have searched for them but I didn't found anything. Well here is the code I used:

Code: [Select]
class RscTitles
{
   class picture
   {
      name = "picture";
      duration =20;
      idd = -1;
      movingEnable = false;

      controls[]=
      {
         picture
      };
      class picture : RscText
      {
         style = ST_PICTURE;
         lineSpacing = 1.0;
         text = "G17.jpg";
         x = 0.068; y = 0.10; w = 0.85; h = 0.8;
         font = FontMAINCZ;
         sizeEx = 1.5 * 0.1;
         size = 1.7;
      };
   };

I used this thing in the description.ext file. Anyone could explain me how to set the original size of the picture?