OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Lykurgos on 14 Feb 2003, 20:23:43

Title: Picture and Wave2lip
Post by: Lykurgos on 14 Feb 2003, 20:23:43
1. I have a logo saved to the mission directory. The question is; how to get that logo appear during the mission?

2. Well, this is quite embarrassing, but do you know where can I download the wave2lip? (Not the official site, cause it doesnÂ't work anymore with me.

Cheers! ;D
Title: Re:Picture and Wave2lip
Post by: Tomb on 14 Feb 2003, 21:37:40
1. see bottom of rep.

2. yup - at least TheAvonLady's site (can't recall its name.... )

3. cheers  ;D

=====================

bottom of rep. ( ::) ) :

=====================

Ya need a few lines in the "description.ext" file (yanno, where identity & sound/music is defined)

 :) here's a fine example (this mission was orig. made by SFG, as far as I remember... no, Bloodmixer it was!! )

onLoadMission="Tainted Eagle"

// pictures have the same size restrictions then textures
// max size is 256x256

FROM BELOW  :o

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 myTitle
   {
      idd=-1;
      // whether the user could move the control or not
      movingEnable=0;

      // the duration of this resource in seconds
      duration=4;
      // the name displayed in the effects-section of waypoint dialog
      name="TaintEagle";
      // the list of components of this resourceclass
      // controls[]={"Background","BIS1","BIS2","WWW"};
      controls[]={"taintlogo1","taintlogo2",};

      class taintlogo1: RscPicture
      {
         text="taintlogo1.paa";
         x=0.200000;
         y=0.230000;
         w=0.300000;
         h=0.400000;
      };
      class taintlogo2: RscPicture
      {
         text="taintlogo2.paa";
         x=0.500000;
         y=0.230000;
         w=0.300000;
         h=0.400000;
      };
   };
   titles[]={"myTitle"};
};
Title: Re:Picture and Wave2lip
Post by: dertn on 14 Feb 2003, 21:46:35
I don't know so much about the technicalities, but I know where you can get it: At Avon Lady's site... http://www.theavonlady.org/theofpfaq/index.htm