Jump to content

[RELEASE] Custom GUI / Menu


theduke

Recommended Posts

If I want to remove a box I do so by removing it in the rules_init and the rules.hpp? For example


//(_finddialog displayCtrl 1103) ctrlSetText format["%1",_rule4text];

//class slk_rules4: slkRscStructuredText
//{
//	idc = 1103;
//	text = ""; //--- ToDo: Localize;
//	x = 0.226719 * safezoneW + safezoneX;
//	y = 0.6078 * safezoneH + safezoneY;
//	w = 0.546562 * safezoneW;
//	h = 0.066 * safezoneH;
//};

?

Link to comment
Share on other sites

  On 5/2/2016 at 9:37 PM, DangerRuss said:

If I want to remove a box I do so by removing it in the rules_init and the rules.hpp? For example


//(_finddialog displayCtrl 1103) ctrlSetText format["%1",_rule4text];

//class slk_rules4: slkRscStructuredText
//{
//	idc = 1103;
//	text = ""; //--- ToDo: Localize;
//	x = 0.226719 * safezoneW + safezoneX;
//	y = 0.6078 * safezoneH + safezoneY;
//	w = 0.546562 * safezoneW;
//	h = 0.066 * safezoneH;
//};

?

Expand  

for hpp Russ

Do

 

/*class slk_rules4: slkRscStructuredText
{
idc = 1103;
text = ""; //--- ToDo: Localize;
x = 0.226719 * safezoneW + safezoneX;
y = 0.6078 * safezoneH + safezoneY;
w = 0.546562 * safezoneW;
h = 0.066 * safezoneH;
};*/

Link to comment
Share on other sites

  On 5/3/2016 at 8:34 PM, dztancem8 said:

For some reason my donation box wont work, I dont know what ive done wrong >_<

The menu works 100%

I click on the new button I added and the next dialogue opened is blank. Please add me on steam or PM me for help?

Expand  

make sure you added the new HPP in the description.ext

Link to comment
Share on other sites

Hello at all,

 

nice Release but for me don´t work...

here r my settings:

 

description.ext:

 

  Reveal hidden contents

dayz_spaceInterrupt.sqf:

 

  Reveal hidden contents

so...whats wrong? folder is in mission pbo...

 

Please help!

 

€dit:  I use F1 for open this...i try with TAB but both don´t work....

Edited by SeCTioN
update
Link to comment
Share on other sites

  • 5 months later...

Hey Guys,

Thanks to Duke to make a such great menu.

Iam just having a small problem which is when people want to suicide. It only happens to player and not admins. I have followed everything what the installation showed. 

Iam using infistar and iam not getting any errors.

Hope you guys can help me out. thanks anyway...

Link to comment
Share on other sites

  On 10/31/2016 at 6:50 PM, sercanatici said:

Hey Guys,

Thanks to Duke to make a such great menu.

Iam just having a small problem which is when people want to suicide. It only happens to player and not admins. I have followed everything what the installation showed. 

Iam using infistar and iam not getting any errors.

Hope you guys can help me out. thanks anyway...

Expand  

Unfortunately the scripts that came with it were just examples of things you could do with the menu. You might want to look for a suicide script that better suits your needs.

Link to comment
Share on other sites

@sercanatici  try this suicide.sqf

  Reveal hidden contents

another:

  Reveal hidden contents

 

Link to comment
Share on other sites

  On 10/31/2016 at 11:13 PM, theduke said:

Unfortunately the scripts that came with it were just examples of things you could do with the menu. You might want to look for a suicide script that better suits your needs.

Expand  

 

  On 10/31/2016 at 11:35 PM, juandayz said:

@sercanatici  try this suicide.sqf

  Reveal hidden contents

another:

  Reveal hidden contents

 

Expand  

Thanks to both of you, i kinda wonder how infistar is blocking regular players scroll wheel menu.

Link to comment
Share on other sites

  On 11/1/2016 at 7:21 AM, sercanatici said:

 

Thanks to both of you, i kinda wonder how infistar is blocking regular players scroll wheel menu.

Expand  

Ahh sorry. In your AHconfig, look for

_cMenu

add this

#USER:DamiSpawn

Make sure you DONT have a comma for the last one.

 

Link to comment
Share on other sites

  On 11/1/2016 at 5:48 PM, sercanatici said:

cMenu is true so i had to set it to false. Will that be a problem for the server?

Expand  

there should be 2 spots with _cmenu.  One will be the true or false. Dont change that.

The other you will see a block of available menus to be whitelisted. Just add that menu to it

Link to comment
Share on other sites

  • 3 months later...

Hi all,

I have try to install this script in 1.0.6.0, work good but only one time. You press TAB and menu appear, you close it and it never appear again. I have try to add _handled = true; but dont work.

I add the dik code in keyboard.sqf wich replace dayz_spaceinterrupt.sqf.

 

Any help plz :)

Link to comment
Share on other sites

I answer to my question :)

To work with 1.0.6.0, you need to extract keyboard.sqf (no more dayz_space interrupt.sqf in 1.0.6.0) in dayz_code\compile and put it in your mission file.

Modify keyboard.sqf ass follow.

Add

	//ESLK Menu
	_informenu = {if (isNull findDisplay 7777) then {
	execVM "custom\menu\menu_init.sqf";
	};
	_handled = true;
	};

before 

    _block = {
        _handled = true;
    };

and add:

	[[DIK_TAB], _informenu] call _addArray;

At line 265 before:

    [[DIK_ESCAPE], _cancelBuild] call _addArray;

 

Enjoy :)

Link to comment
Share on other sites

  On 2/20/2017 at 3:26 PM, juandayz said:

@theduke  @Casual_Jeff  a new post in 1.6 section  about this, gonna make happy a lot of people who not know about an existent adaptation for 1,6 :biggrin:

Expand  

Sure no problem. Ill make a post in there for this as soon as i get it running on my 106 server

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...