Jump to content
  • 0

class RscTitles


lucho

Question

9 answers to this question

Recommended Posts

  • 0

^1

 

 

 

// logo watermark
#include "defines.hpp"
class RscTitles {
 #include "playerHud.hpp"
 class wm_disp {
  idd = -1;
  onLoad = "uiNamespace setVariable ['wm_disp', _this select 0]";
  fadein = 0;
  fadeout = 0;
  duration = 10e10;
  controlsBackground[] = {};
  objects[] = {};
  class controls {
   class wm_text2 {
    idc = 1;
    x = safeZoneX+0.027;//safeZoneW*0.01;
    y = safeZoneY+safeZoneH-0.16;
    w = 0.151*safeZoneH;
    h = 0.057*safeZoneH;
    shadow = 2;
    class Attributes
    {
     font = "EtelkaNarrowMediumPro";
     color = "#24FFFFFF";
     align = "left"; // put "center" here if you want some background
     valign = "middle";
     shadow = 2;
    };
    colorBackground[] = { 1, 0.3, 0, 0 };  // uncomment and increase 4th number to have a background
    font = "EtelkaNarrowMediumPro";
    size = 0.06*safeZoneH;
    type = 13;
    style = 0;
    text="";
   };
  };
 };
};

Link to comment
Share on other sites

  • 0

^2

 

 

class RscTitles
{
titles[] = {"DeathScr"};
class DeathScr {
  idd = -1;
  movingEnable = 0;
  duration = 10;
  fadein = 2;
  fadeout = 2;
  name="DeathScr";
  controls[]={"Picture"};
  class Picture {
    x = safezoneX; y = safezoneY; w = safezoneW; h = safezoneH;
    text="DeathScr.paa";
    sizeEx = -1;
    type=0;
    idc=-1;
    style=48;
    colorBackground[]={0,0,0,0};
    colorText[]={1,1,1,1};
    font="Bitstream";
  };
};
};

Link to comment
Share on other sites

  • 0

thx!

 

but there is nothing about it

 

i try

 

Quote

class RscTitles {
 #include "playerHud.hpp"
 class wm_disp {
  idd = -1;
  onLoad = "uiNamespace setVariable ['wm_disp', _this select 0]";
  fadein = 0;
  fadeout = 0;
  duration = 10e10;
  controlsBackground[] = {};
  objects[] = {};
  class controls {
   class wm_text2 {
    idc = 1;
    x = safeZoneX+0.027;//safeZoneW*0.01;
    y = safeZoneY+safeZoneH-0.16;
    w = 0.151*safeZoneH;
    h = 0.057*safeZoneH;
    shadow = 2;
    class Attributes
    {
     font = "EtelkaNarrowMediumPro";
     color = "#24FFFFFF";
     align = "left"; // put "center" here if you want some background
     valign = "middle";
     shadow = 2;
    };
    colorBackground[] = { 1, 0.3, 0, 0 };  // uncomment and increase 4th number to have a background
    font = "EtelkaNarrowMediumPro";
    size = 0.06*safeZoneH;
    type = 13;
    style = 0;
    text="";
   }; 

{
titles[] = {"DeathScr"};
class DeathScr {
  idd = -1;
  movingEnable = 0;
  duration = 10;
  fadein = 2;
  fadeout = 2;
  name="DeathScr";
  controls[]={"Picture"};
  class Picture {
    x = safezoneX; y = safezoneY; w = safezoneW; h = safezoneH;
    text="DeathScr.paa";
    sizeEx = -1;
    type=0;
    idc=-1;
    style=48;
    colorBackground[]={0,0,0,0};
    colorText[]={1,1,1,1};
    font="Bitstream";
  };
};
};

Link to comment
Share on other sites

  • 0

well then put just this:

titles[] = {"DeathScr"};
class DeathScr {
  idd = -1;
  movingEnable = 0;
  duration = 10;
  fadein = 2;
  fadeout = 2;
  name="DeathScr";
  controls[]={"Picture"};
  class Picture {
    x = safezoneX; y = safezoneY; w = safezoneW; h = safezoneH;
    text="DeathScr.paa";
    sizeEx = -1;
    type=0;
    idc=-1;
    style=48;
    colorBackground[]={0,0,0,0};
    colorText[]={1,1,1,1};
    font="Bitstream";
  };
};

right after 

class RscTitles {
Link to comment
Share on other sites

  • 0
Quote

 

// logo watermark

#include "defines.hpp"

class RscTitles {

 #include "playerHud.hpp"

 class wm_disp {

  idd = -1;

  onLoad = "uiNamespace setVariable ['wm_disp', _this select 0]";

  fadein = 0;

  fadeout = 0;

  duration = 10e10;

  controlsBackground[] = {};

  objects[] = {};

  class controls {

   class wm_text2 {

    idc = 1;

    x = safeZoneX+0.027;//safeZoneW*0.01;

    y = safeZoneY+safeZoneH-0.16;

    w = 0.151*safeZoneH;

    h = 0.057*safeZoneH;

    shadow = 2;

    class Attributes

    {

     font = "EtelkaNarrowMediumPro";

     color = "#24FFFFFF";

     align = "left"; // put "center" here if you want some background

     valign = "middle";

     shadow = 2;

    };

    colorBackground[] = { 1, 0.3, 0, 0 };  // uncomment and increase 4th number to have a background

    font = "EtelkaNarrowMediumPro";

    size = 0.06*safeZoneH;

    type = 13;

    style = 0;

    text="";

   {

 titles[] = {"DeathScr"};

 class DeathScr {

   idd = -2;

   movingEnable = 0;

   duration = 10;

   fadein = 2;

   fadeout = 2;

   name="DeathScr";

   controls[]={"Picture"};

   class Picture {

     x = safezoneX; y = safezoneY; w = safezoneW; h = safezoneH;

     text="\z\addons\dayz_server\DeathScr.paa";

     sizeEx = -1;

     type=0;

     idc=-1;

     style=48;

     colorBackground[]={0,0,0,0};

     colorText[]={1,1,1,1};

     font="Bitstream";

  };

 };

};

Link to comment
Share on other sites

  • 0
Quote

 

RPT

15:45:55 Error context titles[] = {"DeathScr"};

ErrorMessage: File mpmissions\DayZ_Epoch_11.Chernarus\configs\dialogs.hpp, line 180: '/RscTitles/wm_disp/controls/wm_text2.': '{' encountered instead of '='

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...