Aricane Posted July 25, 2013 Share Posted July 25, 2013 Hi guysI know some of you are considering diving in to mod making. I'd like to share some resources I made for that.Adding items, weapons and recipes does not require programming abilities. Everyone can do it, I promiseCheck The basics of adding items and recipes if you would like to learn how to add your own weapons, foods or other items to the game. There's also a tutorial showing how to add your own sprites to the game made by RoboMat. If you have experience with another programming language check out this hello world example Your first project zomboid lua scriptAlso there's a Lua syntax referenceFurther more there's a popular event reference for the more trained LUA modders. This list shows the possible events our functions can hook up too.There's currently no commenting feature on pz-mods.net, so comments and features are greatly appreciated here. (Has been added now)And of course if you would like to share your mods, please submit them to pz-mods.net and we'll take good care of them. pz-mods.net is closed to new mods as the website is likely to be phased out.That's all. Hope you have fun with it. Ontogenesis and RoboMat 2 Link to comment Share on other sites More sharing options...
Cas Posted July 28, 2013 Share Posted July 28, 2013 I like the tutorials on PZ-Mods and i think i will be making my own mods very soon! Thanks to the tutorials i realised that this isn't very hard and i look forward to someone with a great (and simple) suggestion so i can try and create a mod for that Link to comment Share on other sites More sharing options...
Aricane Posted July 29, 2013 Author Share Posted July 29, 2013 I like the tutorials on PZ-Mods and i think i will be making my own mods very soon! Thanks to the tutorials i realised that this isn't very hard and i look forward to someone with a great (and simple) suggestion so i can try and create a mod for that Thanks Cas. I appreciate it. I also have a suggestion - make gardening tools that can be used as weapons. A hedge trimmer can be dismantled into two blades for instance. Link to comment Share on other sites More sharing options...
Ontogenesis Posted July 29, 2013 Share Posted July 29, 2013 Awesome - great job. More tutorials the better! Link to comment Share on other sites More sharing options...
speider Posted August 9, 2013 Share Posted August 9, 2013 really nice tutorial!keep up the good work! i may do some minor mods in the future:) Link to comment Share on other sites More sharing options...
Aricane Posted August 9, 2013 Author Share Posted August 9, 2013 really nice tutorial!keep up the good work! i may do some minor mods in the future:) Thanks Oh you are very welcome to do mods! No mods are too small Link to comment Share on other sites More sharing options...
speider Posted August 9, 2013 Share Posted August 9, 2013 btw is there any specific version of lua and/or specific library or can i just get the latest lua and get started? Link to comment Share on other sites More sharing options...
7Roses Posted August 9, 2013 Share Posted August 9, 2013 btw is there any specific version of lua and/or specific library or can i just get the latest lua and get started?? you should be able to start with just a text editor like notepad it's actually the game/application that uses lua that (should) implements a lua versions libraries.the little differences in lua version should not be any of your concerns (at leas not at the moment, it could become one if you really are going in advanced lua coding) but if your using an IDE and the ide asks a lua version,.... take any of the 5.x one's I don't actually know what version they use, but for the beginning mods it should not make much difference. Link to comment Share on other sites More sharing options...
Aricane Posted August 9, 2013 Author Share Posted August 9, 2013 btw is there any specific version of lua and/or specific library or can i just get the latest lua and get started?Just the latest LUA version. However the specific LUA implementation is called Kahlua which has a few limitations compared with regular LUA. The "LUA syntax reference" shows a little about it. I recommend using IntelliJ IDEA. It has LUA syntax check and spell checking. You can install the LUA plugin from within IntelliJ Link to comment Share on other sites More sharing options...
Suomiboi Posted August 10, 2013 Share Posted August 10, 2013 Found this in the old forums in which lemmy explains the javadoc class system and how it basically works. I was wowed! Somewhat more in depth stuff for me at least but very well explained! Helped me alot in understanding the reasoning behind the codes and also where all this stuff is coming from. Should be added to the wiki imo as it isn't tied to any version specifically.Not gonna do it myself yet coz I don't wanna fudge up the whole page as I've never edited a wiki... Link to comment Share on other sites More sharing options...
speider Posted August 10, 2013 Share Posted August 10, 2013 sry to bother you more aricane i dowloaded and installed intellij IDEA then downloaded the lua plugin using plugin manager, but im confussed how do i start the lua plugin so i can start script :/? never used intellij IDEA before i hope the community edition of intellij IDEA was the right one? Link to comment Share on other sites More sharing options...
RoboMat Posted August 10, 2013 Share Posted August 10, 2013 Found this in the old forums in which lemmy explains the javadoc class system and how it basically works. I was wowed! Somewhat more in depth stuff for me at least but very well explained! Helped me alot in understanding the reasoning behind the codes and also where all this stuff is coming from. Should be added to the wiki imo as it isn't tied to any version specifically.Not gonna do it myself yet coz I don't wanna fudge up the whole page as I've never edited a wiki...Inheritance is such a beautiful thing Didn't see that on the old forum! sry to bother you more aricane i dowloaded and installed intellij IDEA then downloaded the lua plugin using plugin manager, but im confussed how do i start the lua plugin so i can start script :/? never used intellij IDEA before i hope the community edition of intellij IDEA was the right one?You don't have to start the lua plugin. As soon as it is installed just start a new Lua Project and add lua scripts. That's all you have to do actually Link to comment Share on other sites More sharing options...
speider Posted August 10, 2013 Share Posted August 10, 2013 d sry to bother you more aricane i dowloaded and installed intellij IDEA then downloaded the lua plugin using plugin manager, but im confussed how do i start the lua plugin so i can start script :/? never used intellij IDEA before i hope the community edition of intellij IDEA was the right one?You don't have to start the lua plugin. As soon as it is installed just start a new Lua Project and add lua scripts. That's all you have to do actually do i have to install lua 5.2 from lua.org or do the plugin already have that? really stupid questions i now, im sry but i seriusly don't know Link to comment Share on other sites More sharing options...
RoboMat Posted August 10, 2013 Share Posted August 10, 2013 It comes with the plugin IIRC. Link to comment Share on other sites More sharing options...
speider Posted August 10, 2013 Share Posted August 10, 2013 aah nice so i can skip the lua site;) intellij is a really nice looking tool:) i guess i must be doing atleast something right because the script works:P Link to comment Share on other sites More sharing options...
Dr.Gigglestein Posted August 10, 2013 Share Posted August 10, 2013 Found this in the old forums in which lemmy explains the javadoc class system and how it basically works. I was wowed! Somewhat more in depth stuff for me at least but very well explained! Helped me alot in understanding the reasoning behind the codes and also where all this stuff is coming from. Should be added to the wiki imo as it isn't tied to any version specifically.Not gonna do it myself yet coz I don't wanna fudge up the whole page as I've never edited a wiki...and a link has been added to the pzwiki "modding" section- java tutorials- under lemmy's other tutorial... Suomiboi, you should TOTALLY start to add/ cleanup the wiki its really fun! It's the first wiki i've ever dived into helping with but no-ones yelled at me so far and it really is more fun than you would think. a lot of stuff needs to wat till .11 to be inputted, but hey, wiki's are community projects- we're the community! but thanks for the awesome link too.... Link to comment Share on other sites More sharing options...
EnigmaGrey Posted August 11, 2013 Share Posted August 11, 2013 Oh, the current JavaDoc is out of date, since 2.0b or so. It's a nice enough read, though: http://projectzomboid.com/modding/ It's not too hard to make a new Javadoc . . . you just need error-free decompiled code. Link to comment Share on other sites More sharing options...
Suomiboi Posted August 11, 2013 Share Posted August 11, 2013 Found this in the old forums in which lemmy explains the javadoc class system and how it basically works. I was wowed! Somewhat more in depth stuff for me at least but very well explained! Helped me alot in understanding the reasoning behind the codes and also where all this stuff is coming from. Should be added to the wiki imo as it isn't tied to any version specifically.Not gonna do it myself yet coz I don't wanna fudge up the whole page as I've never edited a wiki...and a link has been added to the pzwiki "modding" section- java tutorials- under lemmy's other tutorial... Suomiboi, you should TOTALLY start to add/ cleanup the wiki its really fun! It's the first wiki i've ever dived into helping with but no-ones yelled at me so far and it really is more fun than you would think. a lot of stuff needs to wat till .11 to be inputted, but hey, wiki's are community projects- we're the community! but thanks for the awesome link too.... Yea I'm going to at somepoint start looking into the wiki. But I'll try some modding first as I'm slowly starting to learn how the lua stuff works. Link to comment Share on other sites More sharing options...
RegularX Posted September 11, 2013 Share Posted September 11, 2013 Can I make a vote to pin this post? This and RoboMat's getting started post is what sold me on modding for the game. Or should we try to organize a more formal 101 post? I'm happy to help, time permitting. Link to comment Share on other sites More sharing options...
EnigmaGrey Posted September 11, 2013 Share Posted September 11, 2013 Tentative pin. Link to comment Share on other sites More sharing options...
elvendertig Posted December 5, 2013 Share Posted December 5, 2013 Is it allowed to edit PZ icons & to use them in a mod afterwards? Or do I have to create icons from scratch? Thanks! Link to comment Share on other sites More sharing options...
Aricane Posted December 5, 2013 Author Share Posted December 5, 2013 Yes Link to comment Share on other sites More sharing options...
elvendertig Posted December 5, 2013 Share Posted December 5, 2013 Ok, thank you Link to comment Share on other sites More sharing options...
Aricane Posted December 5, 2013 Author Share Posted December 5, 2013 No problem knock yourself out! Link to comment Share on other sites More sharing options...
Aricane Posted May 12, 2014 Author Share Posted May 12, 2014 The event reference has been updated to reflect build 26. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now