Home   Help Search Login Register  

Author Topic: Need help adding a TitleRsc Please  (Read 722 times)

0 Members and 1 Guest are viewing this topic.

Grendel

  • Guest
Need help adding a TitleRsc Please
« on: 28 Sep 2003, 01:40:08 »
Trying to add a Mill Dot reticle as a Title RSC, found a Description.ext on another thread and tried to add my .jpeg file, but I get an error message that it can't find the file (crosshair.jpeg).  OFP doesn't $#!% the bed when I load the mission, so I don't think its a sytax issue...

Where does OFP look for the image file? Do I need path directory stuff in the text="   " part? I put the file in the mission folder (not in a folder or anything) do I need a folder?
Does the image need a certain format (like in briefing images?)

HELP! :)

Here's the description.ext:
Code: [Select]
class RSCPicture
{
type=0;
idc=-1;
style=48;
colorBackground[]={0,0,0,0};
colorText[]={1,1,1,1};
font="tahomaB24";
size=0;
};

class RSCTitles
{
titles[]={"m24"};

class TIM
{
idd=-1;
movingEnable=0;
duration=4;
name="m24scope";
controls[]={"Background"};
class Background : RSCPicture
{
text="crosshair.jpeg";
x=0.680;            
y=0.85;
w=0.320000;      
h=0.160000;
};
« Last Edit: 28 Sep 2003, 01:41:32 by Grendel »