Just wondering how to be able to use more than 1 resource object. Below is what I use to implemnt the object (image, picture, you know) in game within the editor under Resource.
The problem is I can only get one image using this method. How do you add stuff to the code to get more images in game? All of the following I place at the very bottom of the description.ext file
Thank you in advance!
#define ST_PICTURE 48
#define CT_STATIC 0
class RscGraphic
{
type = CT_STATIC;
idc=-1;
style = ST_PICTURE;
colorBackground[] = {0, 0, 0, 0};
colorText[] = {1, 1, 1, 1};
font = FontHtml;
size = 1;
};
class RscTitles
{
class myPICTUREimageblahblah
{
name = "myPICTUREimageblahblah";duration = 5;
idd = -1;movingEnable = false;controls[]= {animal};
class animal : RscGraphic
{
text = "myPICTUREimageblahblah.jpg";
x = 0.17;
y = 0.17;
w = 0.65;
h = 0.65;
};
};