ElDubya Posted March 13, 2015 Report Share Posted March 13, 2015 Nevermind, figured it out :) Link to comment Share on other sites More sharing options...
0 SchwEde Posted March 13, 2015 Report Share Posted March 13, 2015 Why you not tell us?? LunatikCH and Draay 2 Link to comment Share on other sites More sharing options...
0 ElDubya Posted March 13, 2015 Author Report Share Posted March 13, 2015 Because it was so simple, I was kicking myself. I wanted to move Zupa's Coin icon from where it was to further down the screen and a little bit to the left. w = 0.35; h = 0.20; I just messed around with those numbers until I got it where I wanted it. See? Nothing ground breaking :) Link to comment Share on other sites More sharing options...
0 SchwEde Posted March 13, 2015 Report Share Posted March 13, 2015 maybe, but maybe they are some people struugling with the same problem ;) always post your solution ElDubya 1 Link to comment Share on other sites More sharing options...
0 Stollenwerk Posted April 11, 2015 Report Share Posted April 11, 2015 I wanted to move Zupa's Coin icon..... Well, I'm trying this now for a while. Changing the values w = 0.35; h = 0.20; doesn't change anything for me. What did you do exactly? Link to comment Share on other sites More sharing options...
0 SchwEde Posted April 12, 2015 Report Share Posted April 12, 2015 To move the icon you need to change the X and y value. h = hight W = width Link to comment Share on other sites More sharing options...
0 Stollenwerk Posted April 12, 2015 Report Share Posted April 12, 2015 I also tried that before. It seems the icon is stuck to it's position. Tried different values for x, y, w and h, with no difference: class ZSC_Status { idc = 4900; type = 13; size = 0.040; x = safezoneX + (safezoneW -0.35); y = safezoneY + 0.40 * safezoneW; w = 0.35; h = 0.20; colorText[] = {1,1,1,1}; lineSpacing = 3; colorBackground[] = {0,0,0,0}; text = ""; style = 0x02; shadow = 2; font = "Zeppelin32"; sizeEx = 0.023; class Attributes { align = "right"; }; I would like to have it at one of these positions. Best would be at the bottom: Link to comment Share on other sites More sharing options...
0 SchwEde Posted April 12, 2015 Report Share Posted April 12, 2015 replace the x and y with this: x = 0.9025 * safezoneW + safezoneX; y = 0.959133 * safezoneH + safezoneY; and play then around with the values Link to comment Share on other sites More sharing options...
0 Stollenwerk Posted April 12, 2015 Report Share Posted April 12, 2015 Sorry, this doesn't work either for me. :( I changed the line in the playerHud.sqf a bit: _vitals ctrlSetStructuredText parseText format [" <t size='0.9'> %1 </t><img size='0.9' align='right' image='ZSC\gui\Money.paa'/>", [Money] call BIS_fnc_numberText]; Changed it to: _vitals ctrlSetStructuredText parseText format [" <t size='0.9'> %1 </t><img size='0.9' align='center' valign='bottom' image='ZSC\gui\Money.paa'/>", [Money] call BIS_fnc_numberText]; But this moves it only a bit to the left and doesn't affect the money displayed beside the hud. Damn, that shouldn't be too difficult... Link to comment Share on other sites More sharing options...
0 SchwEde Posted April 12, 2015 Report Share Posted April 12, 2015 ik I need to check the whole script for myself then and see if can get some more info there Link to comment Share on other sites More sharing options...
0 ElDubya Posted April 13, 2015 Author Report Share Posted April 13, 2015 Sorry for not relying sooner Stollenwerk, I have been having massive dramas with being able to reply to any threads on here for some reason? Anyway, all I did was change the x and y position in ZSCHud.hpp : class ZSC_Money_Display { idd = -1; fadeout=0; fadein=0; duration = 20; name= "ZSC_Money_Display"; onLoad = "uiNamespace setVariable ['ZSC_Money_Display', _this select 0]"; class controlsBackground { class ZSC_Status { idc = 4900; type = 13; size = 0.040; x = safezoneX + (safezoneW -0.35); y = safezoneY + 0.40 * safezoneW; w = 0.35; h = 0.20; colorText[] = {1,1,1,1}; lineSpacing = 3; colorBackground[] = {0,0,0,0}; text = ""; style = 0x02; shadow = 2; font = "Zeppelin32"; sizeEx = 0.023; class Attributes { align = "right"; }; }; }; }; Specifically these two lines : x = safezoneX + (safezoneW -0.35); y = safezoneY + 0.40 * safezoneW; Change the -0.35 for X Change the 0.40 for Y I just played around with those two values until I got the coin icon where I wanted it. SchwEde 1 Link to comment Share on other sites More sharing options...
0 Stollenwerk Posted April 14, 2015 Report Share Posted April 14, 2015 I'm so.... I don't have to wonder that nothing happened, adjusting the variables in ZSChud.hpp when using my RcsTitles.hpp instead where I have the hud defined, LOL ElDubya and SchwEde 2 Link to comment Share on other sites More sharing options...
0 SchwEde Posted April 14, 2015 Report Share Posted April 14, 2015 had once the same situation :D Link to comment Share on other sites More sharing options...
Question
ElDubya
Nevermind, figured it out :)
Link to comment
Share on other sites
12 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