I changed the code in the scrap metal to match the same framework I use in heat pack. I added the Chernas empty can items. Thank you Timmy for the Class name codes and your original file. Let me know if you see any more issues.
I thing the issue with the soda cans is I am doing all my development and work on Lingor and Panthera maps. I do not have a Chernaus map to test on. I add some code to deal with the other Empty Soda Can types when I get a few minutes.
I updated the syntax errors in the git hub. Thanks for the catch. For some reason on the Lingor map the boil option is not working right with the standard code. I updated that so we could get the boil option which was not showing up.
For any that are interested I put a master code in for my self and a separate one for my admin to allow them to remove any deplorable or access any gate. In your codeComapre.sqf add the following code.
// compare arrays to see if code matches
if (typeOf(_panel) == "Infostand_2_EP1")...
Do you mean the filenames are wrong in the smelt dir referenced by the Self Action script? I cut and paste the name in the git archive from the Self Action to make sure they match now. If you can double check it I appreciate it.
If your not getting the context menu then there something wrong with the entries in your self Action file.
Check you compiles.sqf file and it should point to your custom location for your self file.
// fnc_usec_selfActions = compile preprocessFileLineNumbers...
I am working on other projects right now but the code should look something like this and have not had time to ttest it.
// -------------------------------------------Item Fix Start-------------------------------------------
private["_hasmapitem","_hascompassitem","_haswatchitem"];
_hasmapitem...
*****************************************
* Mod Name: piggd Scrap Metal Smelting *
* Author: piggd *
* Email: dayzpiggd@gmail.com *
* Version: 1.0 *
* Date: 04/22/2013 *
*****************************************
Information:
This mod will allow you to smelt tin and soda cans into scarp metal...
TSW Radio Fix
In Each Skin File add this line
// Fix for Fred's Wardrobe to stop TSW Kicks
player removeWeapon "ItemRadio";
titleText ["...looking good! Wardrobe closed for 1 minute.", "PLAIN DOWN", 3];
// Fix for Fred's Wardrobe to stop TSW Kicks
player removeWeapon "ItemRadio";
sleep 5...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.