Styx Posted January 6, 2015 Report Share Posted January 6, 2015 Hi guys, I'm having trouble with one part of the Zupa Single Currency install. One of the steps requires me to add this: class RscTitles { #include "addons\playerhud\hud.hpp" }; #include "defines.hpp" #include "gold\common.hpp" #include "gold\bank_dialog.hpp" #include "gold\give_player_dialog.hpp" to the bottom of my description.ext In my description.ext I already have an RscTitles which looks like this: 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 = 1.151*safeZoneH; h = 0.057*safeZoneH; shadow = 2; class Attributes { font = "EtelkaNarrowMediumPro"; color = "00d5ff"; 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=""; }; }; }; }; I've been messing around guessing where I can put the extra #include lines in but I honestly have no idea what I'm doing :P Any help would be appreciated, thanks! Link to comment Share on other sites More sharing options...
0 StiflersM0M Posted January 6, 2015 Report Share Posted January 6, 2015 class RscTitles { #include "addons\playerhud\hud.hpp" like this above. Link to comment Share on other sites More sharing options...
0 Styx Posted January 6, 2015 Author Report Share Posted January 6, 2015 Not sure exactly what you mean there Stiflers..? Do you mean have it like this? class RscTitles { #include "addons\playerhud\hud.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 = 1.151*safeZoneH; h = 0.057*safeZoneH; shadow = 2; class Attributes { font = "EtelkaNarrowMediumPro"; color = "00d5ff"; 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=""; }; }; }; }; Doesn't it still need the other #include lines? Link to comment Share on other sites More sharing options...
0 red_ned Posted January 6, 2015 Report Share Posted January 6, 2015 the other lines just go outside the }; right at the end just add new line after and add Link to comment Share on other sites More sharing options...
0 Tech_Support Posted January 6, 2015 Report Share Posted January 6, 2015 Not sure exactly what you mean there Stiflers..? Do you mean have it like this? class RscTitles { #include "addons\playerhud\hud.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 = 1.151*safeZoneH; h = 0.057*safeZoneH; shadow = 2; class Attributes { font = "EtelkaNarrowMediumPro"; color = "00d5ff"; 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=""; }; }; }; }; Doesn't it still need the other #include lines? this is how i had mine with the walkamongstthedead addon and yes you do need the other #include lines class RscTitles { #include "addons\playerhud\hud.hpp" class zCamoStatusGUI { idd = -1; fadeout=0; fadein=0; onLoad = "uiNamespace setVariable ['zCamo_GUI_display', _this select 0]"; duration = 10e10; name= "zCamoGui"; controlsBackground[] = {}; objects[] = {}; class controls { class zCamoIcon:RscPictureGUI { idc = 1; text="custom\walkamongstthedead\zombie.paa"; x="0.958313 * safezoneW + safezoneX"; y="0.43 * safezoneH + safezoneY"; w=0.059999999; h=0.079999998; colorText[]={1,1,1,1}; }; }; }; }; #include "defines.hpp" #include "gold\common.hpp" #include "gold\bank_dialog.hpp" #include "gold\give_player_dialog.hpp" #include "spawn\defines.hpp" #include "spawn\class.hpp" #include "spawn\halo.hpp" #include "spawn\spawn.hpp" #include "custom\extra_rc.hpp" #include "custom\snap_pro\snappoints.hpp" Link to comment Share on other sites More sharing options...
Question
Styx
Hi guys,
I'm having trouble with one part of the Zupa Single Currency install.
One of the steps requires me to add this:
to the bottom of my description.ext
In my description.ext I already have an RscTitles which looks like this:
I've been messing around guessing where I can put the extra #include lines in but I honestly have no idea what I'm doing :P
Any help would be appreciated, thanks!
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now