Ilias48rus 32 Posted November 10, 2016 Will work something like: class controls{ class g: RscControlsGroup{ idc = 0; x = 0.885188 * safezoneW + safezoneX; y = 0.717 * safezoneH + safezoneY; w = 0.107 * safezoneW; h = 0.232 * safezoneH; class controlsbackground{ class st: RscStructuredText{ idc = -1; text="Step:<br/>= - +5degree<br/>- - -5degree<br/>q - tyrn left<br/>e - tyrn right<br/>pageup - move up<br/>pagedown - move down<br/>8(num) - tyrn front<br/>5(num) - tyrn back<br/>space - drop|pick up<br/>f = place"; x = 0.886188 * safezoneW + safezoneX; y = 0.708 * safezoneH + safezoneY; w = 0.105 * safezoneW; h = 0.21 * safezoneH; }; }; class controls{ class at: RscText{ idc = 1; text="5"; x = 0.958375 * safezoneW + safezoneX; y = 0.708 * safezoneH + safezoneY; w = 0.02625 * safezoneW; h = 0.028 * safezoneH; }; }; }; }; initplayerlocal.sqf finddisplay 46 crtlcreate['g',0]; Share this post Link to post Share on other sites
Guest Posted November 10, 2016 You need to create a display and not a dialog Your displays need to be defined in the RscTitle class in the description.ext and displayed ingame with cutRsc. Share this post Link to post Share on other sites
Ilias48rus 32 Posted November 10, 2016 class RscTitles{ class d_p{ idd=2000; enablesimulation=1; duration=0; //tryed -1 fadein=0; fadeout=0; name='d_p'; class controlsbackground{ }; class controls{ }; }; }; cutRsc['d_p','plain',1,false]; Share this post Link to post Share on other sites
Ilias48rus 32 Posted November 11, 2016 How to make it do not fading out (constant, without "duration=999,,") Share this post Link to post Share on other sites
mrcurry 517 Posted November 11, 2016 By setting duration to 99999, AFAIK that is the way to do it. Share this post Link to post Share on other sites
Guest Posted November 11, 2016 Yeah, only a high duration will do the trick btw sorry for not answering but as I can see you figured out how to make it works Share this post Link to post Share on other sites
Ilias48rus 32 Posted November 11, 2016 Thanks both. duration=9999; onload="_d=_this select 0;d_p=_d;[]spawn{sleep 9999;cutRsc['d_p','plain',1,false]};-1 execvm'f\p\d.sqf'"; Share this post Link to post Share on other sites