Einzelnen Beitrag anzeigen
Alt 21.04.2017, 13:49   #14 (permalink)
Cartman
500 Beiträge1000 Beiträge
 
Benutzerbild von Cartman
 
Registriert seit: 07.07.2014
Ort: nähe Hamburg
Alter: 42
Beiträge: 1.150
Standard

So sieht das bei mir aus.

Code:
class RscTitles
{
    titles[] = {Bild1,Bild2}; // optional

    class Bild1
    {    
        idd = -1;    
        movingEnable = false;
        duration = 5; // 5 second display time
        fadein = 2; // 2 second fade in - 7 seconds in all.
        name = "Bild1"; 

        class ControlsBackground
        {
            class Background : RscText //Black background for letterboxing in case of a different aspect ratio than the image
            {
                x = "safeZoneX";
                y = "safeZoneY";
                w = "safeZoneW";
                h = "safeZoneH";
                colorBackground[] = {0,0,0,0};
            };
        };
        class Controls
        {
            class image1: RscPicture
            {    
                x = "safeZoneX";
                y = "safeZoneY+((safeZoneH-(safeZoneW/(2048/1024)*(4/3)))/2)"; //Substitute 2048 and 1024 for the x,y dimensions of your image
                w = "safeZoneW";
                h = "safeZoneW/(2048/1024)*(4/3)"; //Substitute 2048 and 1024 for the x,y dimensions of your image
                text = "Bild1.paa";
            };
        };
    };
    
    class Bild2
    {    
        idd = -1;    
        movingEnable = false;
        duration = 5; // 5 second display time
        fadein = 2; // 2 second fade in - 7 seconds in all.
        name = "Bild2"; 

        class ControlsBackground
        {
            class Background : RscText //Black background for letterboxing in case of a different aspect ratio than the image
            {
                x = "safeZoneX";
                y = "safeZoneY";
                w = "safeZoneW";
                h = "safeZoneH";
                colorBackground[] = {0,0,0,0};
            };
        };
        class Controls
        {
            class image1: RscPicture
            {    
                x = "safeZoneX";
                y = "safeZoneY+((safeZoneH-(safeZoneW/(2048/1024)*(4/3)))/2)"; //Substitute 2048 and 1024 for the x,y dimensions of your image
                w = "safeZoneW";
                h = "safeZoneW/(2048/1024)*(4/3)"; //Substitute 2048 and 1024 for the x,y dimensions of your image
                text = "Bild2.paa";
            };
        };
    };
    
 };
__________________
Come for ArmA, stay for drama
Cartman ist offline