Project Zomboid

Project Zomboid

PZNS NPC Framework
 This topic has been pinned, so it's probably important
{5LINE}Cows with Guns  [developer] 15 Jul, 2023 @ 5:23pm
SHARE YOUR NPC MODS
A post to highlight other Modder's creation(s)

If you have any NPC creations using this framework, please reply in the comments below.
Last edited by {5LINE}Cows with Guns; 1 Aug, 2023 @ 1:08am
< >
Showing 1-7 of 7 comments
Baltazar Gąbka 8 Aug, 2023 @ 12:40pm 
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?edit=true&id=3017137790

My mod for Louisville Checkpoint soldiers, pretty damn basic but works with no errors. Played around with them for a bit, and most likely will play around with zones. I may update it as framework grows, but as much as I'd like to, I dunno how to script new things.
oZumbiAnalitico 21 Aug, 2023 @ 7:40pm 
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3023939431

Hi! This mod spawn random hostile (orange jumpsuit buddies) npcs, so it's a kind of raider mod using this framework. They are pretty dumb, because i don't have much experience in programming game artificial inteligence, i will improve eventually XD
{5LINE}Cows with Guns  [developer] 22 Aug, 2023 @ 4:03pm 
Originally posted by ooShogun:
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3023939431

Hi! This mod spawn random hostile (orange jumpsuit buddies) npcs, so it's a kind of raider mod using this framework. They are pretty dumb, because i don't have much experience in programming game artificial inteligence, i will improve eventually XD

Most game AI (Artificial Intelligence) is... more or less an "Algorithm" that takes actions based on preset conditions or timing. So you are not alone if you are having difficulties (I struggle with it as well).

I looked at your code after I subscribed and found that you seem to have created a custom job AI.
https://i.imgur.com/ZmPiqLV.png

Which reminded me that I need to rewrite the routine update code for modular importing (Global Functions and Variables are slower to load and execute from what I've learned).
mw00 22 Oct, 2023 @ 3:18pm 
Is modding this game possible with Java? I don't know lua, and its weird that a Java game has mods written in lua.
{5LINE}Cows with Guns  [developer] 22 Oct, 2023 @ 3:49pm 
Originally posted by error2k:
Is modding this game possible with Java? I don't know lua, and its weird that a Java game has mods written in lua.

See the modding community discord... Java is the backend, lua is the frontend.

If you intend to mod the game with Java, you actually need to de-compile the game's source code, make your changes, re-compile and then rebuild it.

Of course once that is done, the game will likely fail the steam validation (when run) and... yeah, let's not go there, that is beyond my realm and expertise. :execution:

The typical PZ mods involving coding are usually done in lua only.
oZumbiAnalitico 30 Oct, 2023 @ 10:54am 
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3062331905

Hi! This is a friendly npc mod using the framework, I publish in the form of addon to the "Take No Prisoners" mod because I'm using facilities which I don't wish to detach from my previous mod (much pain) ... eventually I will publish addons for "PZNS NPC Framework" or pull something directly to main project (no promises though).
< >
Showing 1-7 of 7 comments
Per page: 1530 50