Jump to content

Advanced Alchemical Crafting v3.3


Recommended Posts

I have added 

"Land_MBG_Garage_Single_A"

in order to use it with virtual garages.

However when I place the garage it immediately says building

successful and then disappears. Can anyone tell me where I

might add the allowed buildable to my Anti hack or battle eye.

I believe that is what is removing them when I place them.

Link to comment
Share on other sites

I'm not sure if this fix has been posted yet.

For anyone having the issue when you hit ESC, you need to alt F4

Open the preview_item.sqf

Put this block of code

private ["_dikCode","_handled"];
_handled = false;

//ESC FIX
if (_dikCode == 0x01) then {
    _handled = true;
};

Bellow

GlobalPreviewVariable=0;

 

I'm not a pro coder, and im not sure if this is the proper way to do this, but now if i hit ESC twice it closes the Preview window.  No need to alt F4 anymore.

 

 

Link to comment
Share on other sites

  • 4 months later...
 
 
 
 

hi Guys,
I have this script installed me on my server everything is going great so far
but if I make what it will disappear after 1-2 seconds.

I also have the variable with my variable combined (check the notes)
maybe is because the fault why we can not.

would be great if someone could help me.

 

  Reveal hidden contents

 

Link to comment
Share on other sites

  • 1 month later...

I have looked but can't find any info on this anywhere....

 

I wanted all of my buildables to be set to right click the toolbox. I have it all set up right with 46 items in the drop down menu. The menu will not load and it breaks the crafting window when i load that many. I haven't tried to figure out how many possible entries i can have in the drop down menu without breaking anything, but i did just try to put 4 items in it and it worked fine.

Does anyone know:

how many items max the menu will hold

If it is possible to change the max number of items it holds

Or if i just have to make a second right click menu for the toolbox and have a whole other crafting window pop up with different items?

 

Thanks in advance!!!

Link to comment
Share on other sites

  On 9/19/2014 at 10:37 PM, Zupa said:

 

NIce, saves some work!.

 

i'll share the build file when it's done.

 

I ended up now rewriting the whole script xD taking out the gems and making Single Currency support for it (instead of gems).

 

Also cleaning up some code. I prefer no while lusses  to check for any changes ^^. 

And no big functions in compiles.sqf ^^

 

I change it so u can get all menu's from right clicking toolbox and then a sub dialog to choose which category to go into ^^

 

(No worries about it calling Z-Craft) Thats just for on my server. Credits are always given! And i keep names in re releases (for Single currency i mean).

ed21a66cc7.jpg

Expand  

Did you ever release the files to get this subcategory menu zupa?

Link to comment
Share on other sites

  • 4 weeks later...
Thanks for Zupa zCraft. I borrowed it from the GUI
class ZCraft
{
	idd = 711196;
	onLoad = "uiNamespace setVariable ['ZCraft', _this select 0]";
	class Controls {
		class RscText_f7030: RscTextT
		{
			idc = -1;
			x = 0.30 * safezoneW + safezoneX;
			y = 0.15 * safezoneH + safezoneY;
			w = 0.30 * safezoneW;
			h = 0.40 * safezoneH;
			colorBackground[] = {0,0,0,0.8};
		};	
		
	class RscText_e7037: RscTextT
		{
			idc = -1;
			text = "Z-Craft";
			x = 0.30 * safezoneW + safezoneX;
			y = 0.15 * safezoneH + safezoneY;
			w = 0.30 * safezoneW;
			h = 0.05 * safezoneH;		
			colorBackground[] = {0,0,0,0.8};	
			colorText[] = {1,1,1,1};			
		};
		
		class Zupa_RscButtonMenu_d7039: Zupa_RscButtonMenu
		{
			idc = -1;
			text = "Signs";
			x = 0.31 * safezoneW + safezoneX;
			y = 0.22 * safezoneH + safezoneY;
			w = 0.08 * safezoneW;
			onButtonClick = "closeDialog 0;createDialog ""Advanced_Crafting"";execVM 'scripts\Amethyst.sqf';";
		};
		
				class Zupa_RscButtonMenu_c7040: Zupa_RscButtonMenu
		{
			idc = -1;
			text = "Interior";
			x = 0.41 * safezoneW + safezoneX;
			y = 0.22 * safezoneH + safezoneY;
			w = 0.08 * safezoneW;
			onButtonClick = "closeDialog 0;createDialog ""Advanced_Crafting"";execVM 'scripts\Citrine.sqf';";
		};
		
				class Zupa_RscButtonMenu_a7031: Zupa_RscButtonMenu
		{
			idc = -1;
			text = "Outdoors";
			x = 0.51 * safezoneW + safezoneX;
			y = 0.22 * safezoneH + safezoneY;
			w = 0.08 * safezoneW;
			onButtonClick = "closeDialog 0;createDialog ""Advanced_Crafting"";execVM 'scripts\Emerald.sqf';";
		};

				class Zupa_RscButtonMenu_b7059: Zupa_RscButtonMenu
		{
			idc = -1;
			text = "Garden";
			x = 0.31 * safezoneW + safezoneX;
			y = 0.32 * safezoneH + safezoneY;
			w = 0.08 * safezoneW;
			onButtonClick = "closeDialog 0;createDialog ""Advanced_Crafting"";execVM 'scripts\Obsidian.sqf';";
		};
		
				class Zupa_RscButtonMenu_a7040: Zupa_RscButtonMenu
		{
			idc = -1;
			text = "Furniture";
			x = 0.41 * safezoneW + safezoneX;
			y = 0.32 * safezoneH + safezoneY;
			w = 0.08 * safezoneW;
			onButtonClick = "closeDialog 0;createDialog ""Advanced_Crafting"";execVM 'scripts\Ruby.sqf';";
		};
		
				class Zupa_RscButtonMenu_a7051: Zupa_RscButtonMenu
		{
			idc = -1;
			text = "Flags";
			x = 0.51 * safezoneW + safezoneX;
			y = 0.32 * safezoneH + safezoneY;
			w = 0.08 * safezoneW;
			onButtonClick = "closeDialog 0;createDialog ""Advanced_Crafting"";execVM 'scripts\Sapphire.sqf';";
		};
		
				class Zupa_RscButtonMenu_b7049: Zupa_RscButtonMenu
		{
			idc = -1;
			text = "Defense";
			x = 0.31 * safezoneW + safezoneX;
			y = 0.42 * safezoneH + safezoneY;
			w = 0.08 * safezoneW;
			onButtonClick = "closeDialog 0;createDialog ""Advanced_Crafting"";execVM 'scripts\Topaz.sqf';";
		};
		
				class Zupa_RscButtonMenu_b7040: Zupa_RscButtonMenu
		{
			idc = -1;
			text = "Lights";
			x = 0.41 * safezoneW + safezoneX;
			y = 0.42 * safezoneH + safezoneY;
			w = 0.08 * safezoneW;
			onButtonClick = "closeDialog 0;createDialog ""Advanced_Crafting"";execVM 'scripts\Lights.sqf';";
		};
		
				class Zupa_RscButtonMenu_c7031: Zupa_RscButtonMenu
		{
			idc = -1;
			text = "Cancel";
			x = 0.51 * safezoneW + safezoneX;
			y = 0.42 * safezoneH + safezoneY;
			w = 0.08 * safezoneW;
			onButtonClick = "((ctrlParent (_this select 0)) closeDisplay 9000);";
		};
		
		
	

	};
};

 

Link to comment
Share on other sites

  • 4 years later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...