Home   Help Search Login Register  

Author Topic: Rsc and strikeFist  (Read 670 times)

0 Members and 1 Guest are viewing this topic.

Federalist

  • Guest
Rsc and strikeFist
« on: 11 Feb 2004, 16:10:41 »
Hi,

   I'm making a mission and just had a couple of questions to ask.

1. I read the Rsc tutorial and can succesfully add a picture to my cutscenes. However, the tutorial only explains how to add one picture. How can I add more than one picture?
I think the description.ext should look like this, but it doesn't work.

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 Title
   {
      idd=-1;
      movingEnable=0;
      duration=8;
      name="Title";
      controls[]={"Title"};
      class Title: RscPicture
      {
         text="Title.paa";
         x=0.200000;
         y=0.200000;
         w=0.600000;
         h=0.600000;
};
class RscTitles2
{
   class Title2
   {
      idd=-1;
      movingEnable=0;
      duration=8;
      name="Title2";
      controls[]={"Title2"};
      class Title: RscPicture
      {
         text="Title2.paa";
         x=0.200000;
         y=0.200000;
         w=0.600000;
         h=0.600000;

      };
   };
};

2. Also, how do I use the strikeFist command. I'm sorry if this question has already been asked, but I searched for both strikeFist and "strikeFist" and nothing came up.

Thanks guys.


Offline Marvin

  • Members
  • *
  • One day they will come
Re:Rsc and strikeFist
« Reply #1 on: 11 Feb 2004, 16:13:30 »
Jyst copy the part

class RscTitles2
{
  class Title2
  {
      idd=-1;
      movingEnable=0;
      duration=8;
      name="Title2";
      controls[]={"Title2"};
      class Title: RscPicture
      {
        text="Title2.paa";
        x=0.200000;
        y=0.200000;
        w=0.600000;
        h=0.600000;

      };
  };
};
as many  timess you want, of course changing each name! if you will use the same names, then the game will crash!

YOur problem is that you are closing the first RscPicture



it should look like

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 Title
  {
      idd=-1;
      movingEnable=0;
      duration=8;
      name="RscTitles";
      controls[]={"RscTitles"};
      class Title: RscTitles
      {
        text="Title.paa";
        x=0.200000;
        y=0.200000;
        w=0.600000;
        h=0.600000;
      };
    };
  };
class RscTitles2
{
  class RscTitles2
  {
      idd=-1;
      movingEnable=0;
      duration=8;
      name="RscTitles2";
      controls[]={"RscTitles2"};
      class Title: RscTitles2
      {
        text="Title2.paa";
        x=0.200000;
        y=0.200000;
        w=0.600000;
        h=0.600000;

      };
  };
};


};

and about second part - i know the play playmove StrikeFist, am i right!

« Last Edit: 11 Feb 2004, 16:26:08 by Marvin »
Is there any games than Flashpoint?

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Rsc and strikeFist
« Reply #2 on: 11 Feb 2004, 16:52:26 »
strokeFist, not strikefist.

You can add it as a weapon to the player unit:  removeallweapons first as usual.

For AI its best done as a playmove animation I think.
Plenty of reviewed ArmA missions for you to play

Federalist

  • Guest
Re:Rsc and strikeFist
« Reply #3 on: 12 Feb 2004, 15:59:11 »
Thanks guys. Right as usual  8)