Jump to content

Getting quick started with making mods


Aricane

Recommended Posts

Hi guys

I 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 promise
Check 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 script
Also there's a Lua syntax reference

Further 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.

Link to comment
Share on other sites

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

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

  • 2 weeks later...

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

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

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

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

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

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

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

 

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

  • 1 month later...
  • 2 months later...
  • 5 months later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...