Jump to content

bakos133

Member
  • Posts

    5
  • Joined

  • Last visited

bakos133's Achievements

  1. So hey! It seems like its working now! Thank you so much! This would make things SOO much easier! Phew! I don't suppose you would be willing to help run me through a brief(or however long one of these takes) tutorial on adding interactivity to custom items would you? Maybe something like being able to get a custom UI to pop up? If not that is perfectly fine! I am not looking for anyone to do my work for me I am a game designer myself but i work with unity3D and Unreal, so working with lua is kind of familiar to me. I've been self-taught since i can even remember and i'm always interested in learning new things! But as i said, if not, no hard feelings! I thank you for helping me resolve the issue i had at hand! Be safe on your travels and i wish you all the best!
  2. Unfortunately it didn't work Do i need the any specific order? And/Or do i maybe need a "Client", "Server", and/or "Shared" folder for this to work? I read somewhere on the forums that the next update requires that stuff.
  3. Thank you for helping by the way! I will try that right now and get back to you! I don't mean to be a bother if i am at all. While i try this, would other mods by any chance cause any conflicts? Also I agree about the sandbags, and when i saw Lemures working on the sandbag mod, i was like WOW thats genius! I think i want to update what he was doing! But so far no luck Anyhow, i shall be right back and i'll let you know the verdict. Thanks again. Ps. Hows my folder organization by the way? Do i need to add any folders like "Client", "Server", and/or "Shared"? Pps. Also, is it: Imports or Import? And do i need a comma at the end of the Base?
  4. Oh sorry! I am trying to make a recipe to make a sandbag out of either a pillow or a sheet. So using a sheet/pillow, twine/thread, and a needle; it would be possible to make an empty sandbag. The only problem is, i am not sure how to go about using the recipe in-game. Not trying to empty or fill really, just create. Anything i'm missing there? Ps. Thank you for responding. Quote: If you are trying to fill up a sandbag you are doing it the reverse... you are giving the player an empty sandbag and running an empty sandbag script... I guess I am confused on what you are trying to accomplish... can you clarify?
  5. (Before i start i would like to mention that my mod is based off of another similar mod by a man named Lemures. Link: http://pz-mods.net/gameplay/CraftableSandbags/ Which allows you to craft sandbags from sheets and pillows in game using some thread/twine, a needle, and either a pillow or a sheet. Full credit goes to him for the idea!) ---------------------------------------------------------------- Hello everyone! My name is Nandor! I have been unsuccessfully testing out some recipe combinations here and there in Project Zomboid in the hopes to learn a bit of the modding scene. Unfortunately i cannot get my custom recipes to work in game! For instance i have the recipe set up in a text file, but i have not been able to find a proper up-to-date tutorial on what else i need to do to get them to work, so i feel i've hit a snag! I have my folders organized as such: (F) = Folder (.extension) = Type of file My Mod(F) | |---->mod.info |---->media(F) | | | |---->lua(F) | | | | | |---->sandbagin.lua | | | |---->scripts(F) | | | | | |---->recipes.txt | | | recipes.txt: module Base{ recipe SandbagE Sheet { Sheet, Thread, keep Needle, null, Result:EmptySandbag, Time:180.0, OnCreate:recipe_sandBagE, } recipe SandbagE Pillow { Pillow, Thread, keep Needle, null, Result:EmptySandbag, Time:60.0, OnCreate:recipe_sandBagE, }}sandbagin.lua function recipe_sandBagE(items, result, player) local inv = player:getInventory(); inv:AddItem("Base.EmptySandBag");end------------------------------------------------------------ Now my question is very basic. I have gotten the mod to show up, to activate, but NOT to run properly in-game. Am i missing something very obvious that i am not seeing? Or did i even miss a post here and there that might fix/explain my issue better? Any help would be appreciated Ps. If you want to just give me grief for not doing the proper searches first, I do want to mention that the reason i have gotten this far is because i have been following tutorials of which only told me how to spawn items upon button presses and make basic recipes. I might have missed some though, so once again any help is much appreciated.
×
×
  • Create New...