Khelldon Posted December 12, 2018 Share Posted December 12, 2018 This modlet has moved View and Download this modlet from here: https://7daystodie.com/forums/showthread.php?99776-Khelldon-s-Modlets Get Nailed! This is a very simple modlet that adds nails to more of the wooden items in the game that 'should' have nails as part of their recipes. Features: - Adds nails to most wooden blocks recipes - Adds Bent Nails into the game - Adds Crowbar into the game - Wood blocks require nails to repair when damaged - Get nails from harvesting wood blocks. Use claw hammer or crowbar to get good nails, use anything else, get bent nails. - Amount of nails found in loot doubled - Straighten bent nails out via recipe IMPORTANT: Since I'm not sure how to use xpath to write localization, you'll need to copy these few lines into your 7 Days To Die directory at the bottom of the text file: "/Data/Config/Localization.txt" in order for the new "Bent Nails" and "Crowbar" to have a proper name and description. You can open this file with any text editor. resourceNailBent,items,Item,KgNone,Bent Nails,,,,, resourceNailBentDesc,items,Item,KgNone,"You have some bent nails, you can probably straighten them out.",,,,, khelldonCrowbar,items,Tool,KgNone,Crowbar,,,,, khelldonCrowbarDesc,items,Tool,KgNone,"Great for disassembling mechanical devices. Can take nails out of wooden blocks without damaging them. Can also be used to repair and upgrade walls.\nRepair with Forged Steel.",,,,, The modlet will function correctly without adding these lines, it just will not look nice Download: Khelldon-GetNailed Google Drive (recommended) Khelldon-GetNailed Github Repo (advanced) Notes: - I highly encourage that you edit this modlet to suit your own needs. I left some comments in the code to help anyone editing it to understand what everything is doing and how to change things. - This modlet was designed to work with vanilla a17.x.x and may cause some conflicts with any mods or modlets that add or alter wooden blocks in the game. It was designed to dynamically find recipes and change them, so in theory it should work no matter what recipes are added or changed, however, there are always exceptions and I think it's worth noting that it's something to look out for if problems arise. - Feel free to use this modlet as you like. If you want to copy or edit or redistribute it please feel free to do so without worrying about credit. - This modlet has not been tested fully. Please report any problems. Thank you: Thank you Sphereii for a great xpath tutorial that taught me everything I know about xpath. Thanks to StompyNZ and Doombringer101 for coming up with most of the ideas for this modlet. Thank you Guppycur for motivating me to make this. Link to comment Share on other sites More sharing options...
Guppycur Posted December 13, 2018 Share Posted December 13, 2018 This mod is so damn awesome... Changes everything... ...first time I played, I came across a trailer park, was going to nerd Pole up to the roof of a trailer, but had no nails... I actually had to play the game! Started a new server, and it was day 3 by the time I could make nails (base was forge house) to even begin building a defensible position... Hell, the damn quest chain took all day... Sitting tearing apart a house going for bent nails... Link to comment Share on other sites More sharing options...
stallionsden Posted December 13, 2018 Share Posted December 13, 2018 and BOOM a must have. Well done Khelldon brilliant :-) Link to comment Share on other sites More sharing options...
Khelldon Posted December 13, 2018 Author Share Posted December 13, 2018 Thanks Guys! Just updated this mod to 1.0.1. Update Features: - Wooden doors added into the mix of things that need nails - Ugly bent nail icon updated with a better one - Crowbar added with same properties as wrench. Works to disable cars, also works with blocks to get nails back. Added to tool spawners and will spawn in cars from time to time. Also you can craft your own with forged steel in the workbench. - Changed craft time on nails from bent nails to replicate having to pound them out. note: Crowbar requires localization too, please check the original post for code. Link to comment Share on other sites More sharing options...
stallionsden Posted December 13, 2018 Share Posted December 13, 2018 Thanks Guys! Just updated this mod to 1.0.1. Update Features: - Wooden doors added into the mix of things that need nails - Ugly bent nail icon updated with a better one - Crowbar added with same properties as wrench. Works to disable cars, also works with blocks to get nails back. Added to tool spawners and will spawn in cars from time to time. Also you can craft your own with forged steel in the workbench. - Changed craft time on nails from bent nails to replicate having to pound them out. note: Crowbar requires localization too, please check the original post for code. Oh nice. I have your mod installed. I was upgrading a broken wood block in one of the dungeon type houses where it had slits from damage it turns to a woodframe then upgraded to a normal wood block any chance we can use nails on that to please Link to comment Share on other sites More sharing options...
Guppycur Posted December 13, 2018 Share Posted December 13, 2018 Hammers damage wood so slowly they're not worth using to get unbent nails, FYI. Link to comment Share on other sites More sharing options...
stallionsden Posted December 13, 2018 Share Posted December 13, 2018 Hammers damage wood so slowly they're not worth using to get unbent nails, FYI. You sure its not cause of your old age lol :-P Link to comment Share on other sites More sharing options...
Guppycur Posted December 13, 2018 Share Posted December 13, 2018 Wait, aren't you old like me? Link to comment Share on other sites More sharing options...
stallionsden Posted December 13, 2018 Share Posted December 13, 2018 Wait, aren't you old like me? Haha I am only 21 lol with 19 yrs experience :-D still young here buddy haha Link to comment Share on other sites More sharing options...
Ozzland Posted December 13, 2018 Share Posted December 13, 2018 GetNailed mod posts the following warnings on gamestart. WRN Sprite ._khelldonCrowbarIcon has incorrect resolution 8*8, expected 116*80 WRN Sprite ._resourceNailBentIcon has incorrect resolution 8*8, expected 116*80 Link to comment Share on other sites More sharing options...
Khelldon Posted December 14, 2018 Author Share Posted December 14, 2018 Oh nice. I have your mod installed. I was upgrading a broken wood block in one of the dungeon type houses where it had slits from damage it turns to a woodframe then upgraded to a normal wood block any chance we can use nails on that to please Ah ha! Thanks! I knew there would be a few blocks that didn't make the cut. I'll work on finding those. Hammers damage wood so slowly they're not worth using to get unbent nails, FYI. Yeah I wasn't too sure what to do about that. I didn't want to make the hammer do too much damage to wood as it makes no sense. Then you could use it as an axe. The crowbar does a better job but it's still not great. Is there a way you know of to have the weapon only damage wood that has nails, and not all wood? GetNailed mod posts the following warnings on gamestart. WRN Sprite ._khelldonCrowbarIcon has incorrect resolution 8*8, expected 116*80 WRN Sprite ._resourceNailBentIcon has incorrect resolution 8*8, expected 116*80 hmmm very strange. Those icon are 116*80. Not sure why it's saying they aren't. They do show up in game. Link to comment Share on other sites More sharing options...
Guppycur Posted December 14, 2018 Share Posted December 14, 2018 Not on my end. You got the right ones on your git? Link to comment Share on other sites More sharing options...
Khelldon Posted December 14, 2018 Author Share Posted December 14, 2018 Not on my end. You got the right ones on your git? Sorry, the icons aren't showing up for you? The corect ones are showing on the git. I'm also not getting the size warning. Link to comment Share on other sites More sharing options...
Ozzland Posted December 14, 2018 Share Posted December 14, 2018 The icons show when looting and in inventory for me even with the warning However, the actual item does not appear when using it in your hands and I see this additional error in the console The file can not be loaded because it was created for another build target that is not compatible with this platform. Please make sure to build AssetBundles using the build target platform that it is used by. File's Build target is: 6 (Filename: Line: 1111) The AssetBundle 'khelldonCrowbar.unity3d' can't be loaded because it was not built with the right version or build target. (Filename: Line: 438) 2018-12-14T07:42:43 203.254 ERR Loading AssetBundle "C:/xxx/7 Days To Die_A17exp_moding2/7DaysToDie_Data/../Mods\Khelldon-GetNailed/Resources/khelldonCrowbar.unity3d" failed! Link to comment Share on other sites More sharing options...
Guppycur Posted December 14, 2018 Share Posted December 14, 2018 Ah, a 5.3.8 crowbar? Link to comment Share on other sites More sharing options...
Khelldon Posted December 14, 2018 Author Share Posted December 14, 2018 fixing this now. I had no idae i need to repack the models from a16. Thank you! Also, this thread has moved. See original post please. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.