OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: |Scorpio| on 04 Sep 2008, 16:32:33

Title: Problems...
Post by: |Scorpio| on 04 Sep 2008, 16:32:33
Ok.. I have a little problem again.. But not with camera this time.. The camera works fine now... Never mind.. But now I got problems with Titlersc's.. I have magnificent picture and all should be fine.. At least I think so.. But when I get to that spot where I should have big beautiful picture, it gives me a message: "Titlersc not found" or something similar.. This doesn't make any sense.. I have the picture in the right Intro folder and it has correct name but still.. it wont work. Why this is happening?
Title: Re: Problems...
Post by: johnnyboy on 04 Sep 2008, 17:42:16
Hi Scorpio,

Do you have the resource defined in the description.ext file?  See this biki page for an example:

http://community.bistudio.com/wiki/Description.ext#RscTitles

Also, its more helpful for everyone if your title is specific to the problem.  That way other folks with a similar problem (or who are expert in this subject and can help you) will know to read your post.  A post title like "Titlersc not displaying" would be good.

Good luck.

Title: Re: Problems...
Post by: |Scorpio| on 06 Sep 2008, 18:33:38
Okay the problem was, that I didn't put it too in Description data base.. That solved a one problem but now I have more annoying problem..
So I have all things in shape and correctly written in Descritpion.ext, but when Im trying to take a look on my mission it gives me this kind of a message:
Users\"username"\missions\Intro.FDF_eastborder_w\description.ext/RscTitles.titles: 'c' encountered instead of ';'

I made my descritpion data base exactly just like in the BisWiki site.. And here's my Desritpion.ext:

requiredVersion = 1.91

class RscTitles
{
  titles[] = {Suomitaist}

  class Suomitaist
  {   
    idd = -1;   
    movingEnable = false;
    duration = 3;
    fadein = 0;
    name = "Suomitaist";
    controls[] = {"image1"};

    class Suomitaist: RscPicture
    {   
      x = 0;
      y = 0;
      w = 1;
      h = 1;
      text = "Suomitaist.jpg";
    };   
  };

Somebody know answer to this?
Title: Re: Problems...
Post by: Planck on 06 Sep 2008, 19:05:47
Yes, I think you forgpt to put a ; on the end of:

titles[] = {Suomitaist}

like so:

titles[] = {Suomitaist};


Planck