BAROD Posted April 16, 2014 Report Share Posted April 16, 2014 Picture in the corner [update] It´s very well to implement a picture in the corner you can also do it we in my example here First you put that in a hpp data and name it wm_disp.hpp class RscTitles { 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"; valign = "middle"; shadow = 2; }; colorBackground[] = { 1, 0.3, 0, 0 }; font = "EtelkaNarrowMediumPro"; size = 0.06*safeZoneH; type = 13; style = 0; text=""; }; }; }; }; and in the description you putt this class RscTitles { #include "wm_disp.hpp" //all other things you have with #include in the bottom }; and this in our init at the bottom here you can set the size and shadow and where the picture is place _pic = "example\example.paa"; [ '<img align=''left'' size=''1.0'' shadow=''1'' image='+(str(_pic))+' />', safeZoneX+0.027, safeZoneY+safeZoneH-0.1, 99999, 0, 0, 3090 ] spawn bis_fnc_dynamicText; Ganja 1 Link to comment Share on other sites More sharing options...
insertcoins Posted April 16, 2014 Report Share Posted April 16, 2014 screenshot? Link to comment Share on other sites More sharing options...
BAROD Posted April 16, 2014 Author Report Share Posted April 16, 2014 only for you @insertcoins insertcoins 1 Link to comment Share on other sites More sharing options...
jahangir13 Posted April 16, 2014 Report Share Posted April 16, 2014 Barod: I don't see why the entries in description.ext are needed. The class is not called in init.sqf as for the normal watermark (in text) ?? I could not try it but is it not enough with just what you have in your init? Link to comment Share on other sites More sharing options...
BAROD Posted April 16, 2014 Author Report Share Posted April 16, 2014 that all what you need in the description you can set the position Link to comment Share on other sites More sharing options...
Triage Posted April 16, 2014 Report Share Posted April 16, 2014 I LOVE YOU BAROD 1 Link to comment Share on other sites More sharing options...
BAROD Posted April 16, 2014 Author Report Share Posted April 16, 2014 @jahangir13 when you dosen´t like to have it in your description you can put it in a hpp data and link it in the description at the end Link to comment Share on other sites More sharing options...
Mochan Posted April 17, 2014 Report Share Posted April 17, 2014 What are the dimensions for bottom left? Link to comment Share on other sites More sharing options...
Three Plus Posted April 17, 2014 Report Share Posted April 17, 2014 Tried adding this to my server and was stuck at "Wait for Host", The rpt said something about trying to load it twice. :/ ErrorMessage: File mpmissions\__cur_mp.panthera2\picture\watermark.hpp, line 34: .RscTitles: Member already defined. Link to comment Share on other sites More sharing options...
BAROD Posted April 17, 2014 Author Report Share Posted April 17, 2014 size=''1.0'' like this size=''4.0'' and it´s bigger Update for you the code put you in a Definition like class RscTitles { #include "dayz_code\config\wm_disp.hpp" }; and the hpp data here Link to comment Share on other sites More sharing options...
Three Plus Posted April 17, 2014 Report Share Posted April 17, 2014 So in my description.ext should have this at the bottom class RscTitles { #include "picture\wm_disp.hpp" }; Just asking before I try. Link to comment Share on other sites More sharing options...
BAROD Posted April 17, 2014 Author Report Share Posted April 17, 2014 yes Link to comment Share on other sites More sharing options...
Three Plus Posted April 17, 2014 Report Share Posted April 17, 2014 Nope, Still not working. ErrorMessage: File mpmissions\__cur_mp.panthera2\description.ext, line 261: .RscTitles: Member already defined. Link to comment Share on other sites More sharing options...
BAROD Posted April 17, 2014 Author Report Share Posted April 17, 2014 use my example at the top what you can download Link to comment Share on other sites More sharing options...
Three Plus Posted April 17, 2014 Report Share Posted April 17, 2014 I think it may be conflicting with BTC Logistics. Link to comment Share on other sites More sharing options...
BAROD Posted April 17, 2014 Author Report Share Posted April 17, 2014 you only put Logistics in the same code like class RscTitles { #include "custom\snap_build\points.hpp" #include "dayz_code\config\extra_rc.hpp" #include "dayz_code\config\wm_disp.hpp" #include "dayz_code\config\RscPlayerUI.hpp" }; Link to comment Share on other sites More sharing options...
insertcoins Posted April 17, 2014 Report Share Posted April 17, 2014 only for you @insertcoins :wub: Link to comment Share on other sites More sharing options...
Three Plus Posted April 17, 2014 Report Share Posted April 17, 2014 (edited) I feel like I'm making this more complicated than if should be, I had to disable BTC Logistics to get the server to get pasted "Wait for Host" any idea how to have both in there? Putting the BTC code into a .hpp file didn't work. Edited April 17, 2014 by Three Plus Link to comment Share on other sites More sharing options...
BAROD Posted April 17, 2014 Author Report Share Posted April 17, 2014 you can send me your pbo i make it work Link to comment Share on other sites More sharing options...
Three Plus Posted April 17, 2014 Report Share Posted April 17, 2014 you can send me your pbo i make it work Here you, Good luck. http://www.mediafire.com/download/jhf14s15wn1rnq8/epoch.panthera.pbo Link to comment Share on other sites More sharing options...
BAROD Posted April 17, 2014 Author Report Share Posted April 17, 2014 had sent you \ nice picture Link to comment Share on other sites More sharing options...
Three Plus Posted April 17, 2014 Report Share Posted April 17, 2014 Thank you. Link to comment Share on other sites More sharing options...
WGC GeekGarage Posted April 17, 2014 Report Share Posted April 17, 2014 This says that it's already defined... Tried adding this to my server and was stuck at "Wait for Host", The rpt said something about trying to load it twice. :/ ErrorMessage: File mpmissions\__cur_mp.panthera2\picture\watermark.hpp, line 34: .RscTitles: Member already defined. Alright so you have RscTitles defined by BTC you only put Logistics in the same code like class RscTitles { #include "custom\snap_build\points.hpp" #include "dayz_code\config\extra_rc.hpp" #include "dayz_code\config\wm_disp.hpp" #include "dayz_code\config\RscPlayerUI.hpp" }; But now you are trying to define it AGAIN in the same file So in my description.ext should have this at the bottom class RscTitles { #include "picture\wm_disp.hpp" }; Just asking before I try. so you get this error Nope, Still not working. ErrorMessage: File mpmissions\__cur_mp.panthera2\description.ext, line 261: .RscTitles: Member already defined. This is absolutely as simple as logic can be, and how come no one spotted it?? It's is saying what is wrong guys RscTitles: Member already defined. <<<------ It's screaming it to your face ;) DO THIS INSTEAD class RscTitles { #include "custom\snap_build\points.hpp" #include "dayz_code\config\extra_rc.hpp" #include "dayz_code\config\wm_disp.hpp" #include "dayz_code\config\RscPlayerUI.hpp" #include "picture\wm_disp.hpp" }; Link to comment Share on other sites More sharing options...
BAROD Posted April 17, 2014 Author Report Share Posted April 17, 2014 i have update it for a few hours it´s better now Link to comment Share on other sites More sharing options...
Asian Kid Posted April 18, 2014 Report Share Posted April 18, 2014 Anyone want to share their template? :lol: :D Link to comment Share on other sites More sharing options...
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