Forum Jump :

Author Message

ADuke  



Posts: 157
Rank:


Level: Member

Country: us
Location: New Mexico
Occupation: Yes, please
Age: 43
In-game name:

 
#1 Posted at 2008-09-26 22:14        
     
Hello,

I am trying to get an image to display on screen at a trigger in my mission. I have searched countless numbers of forum posts all over the web and used all of the provided code snippets. At this point my image trigger isn't generating any error messages, it's just simply not showing up.

Here is my entire description.ext:

class RscTitles
{
	class otr
	{
	    	idd = -1;
	    	movingEnable = false;
	    	duration = 10;
	    	fadein = 0;
	    	fadeout = 0;
	    	name = "otr";
	    	controls[] = {otr};


		class otr
		  {
			   x = 0.25;
			   y = 0.2;
			   w = 0.5;
			   h = -0.25;
			   type = 0;
			   idc = -1;
			   style = 48;
			   colorBackground[] = {0, 0, 0, 0};
			   colorText[] = {1, 1, 1, 1};
			   font = BitStream;
			   sizeEx = 1;
			   lineSpacing = 0;
			   access = ReadAndWrite;
			   text = "otr.paa";
		  };
	};

};


class CfgMusic
{
  tracks[]=
  {
      chaiya
  };

  class chaiya
  {
      name = "chaiya";
      sound[] = {\sounds\chaiya.ogg, db+100, 1.0};
  };

};

and here is the trigger code:

titleRSC ["otr",plain]

I have been working on this for a long time, as far as I know this should be pretty easy.