lucho Posted April 10, 2015 Report Share Posted April 10, 2015 how i can add this 2 scripts in one? death Screen with wm_disp Link to comment Share on other sites More sharing options...
0 lucho Posted April 10, 2015 Author Report Share Posted April 10, 2015 ^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 More sharing options...
0 lucho Posted April 10, 2015 Author Report Share Posted April 10, 2015 ^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 More sharing options...
0 SchwEde Posted April 10, 2015 Report Share Posted April 10, 2015 you know you can easily post all of it in just one post ^^ http://opendayz.net/threads/death-screen-and-sound.18718/ this should help you to get this done lucho 1 Link to comment Share on other sites More sharing options...
0 lucho Posted April 10, 2015 Author Report Share Posted April 10, 2015 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 More sharing options...
0 SchwEde Posted April 10, 2015 Report Share Posted April 10, 2015 just follow the instructions, these are the things you want to have. Do it and have fun with it Link to comment Share on other sites More sharing options...
0 lucho Posted April 10, 2015 Author Report Share Posted April 10, 2015 i have allready wm disp but death Screen Need Rsc Titeles too and i dont know how i can add this to Rsc Titeles because there allready1 script Link to comment Share on other sites More sharing options...
0 SchwEde Posted April 10, 2015 Report Share Posted April 10, 2015 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 More sharing options...
0 lucho Posted April 10, 2015 Author Report Share Posted April 10, 2015 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 More sharing options...
0 lucho Posted April 10, 2015 Author Report Share Posted April 10, 2015 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 More sharing options...
Question
lucho
how i can add this 2 scripts in one?
death Screen with wm_disp
Link to comment
Share on other sites
9 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now