Project Zomboid

Project Zomboid

PZNS NPC Framework
310 Comments
Krazium VR 22 Jun @ 9:56am 
plz dont stop your SS mod is the best and this mod your making could turn into something big!
Yumi OWO 12 Jun @ 9:25am 
There is no way to give them guns or armor. They are just stuck with bats. Download Supurb Survivors. This is stupid
Uncle Igor (No Relation) 4 Jun @ 1:38pm 
All these people bitching about no multiplayer support should maybe take the time to open their eyes and fucking read, and maybe you will understand why there is no multiplayer support, I can tell the creator must be getting tired of illiterate bums constantly still asking for multiplayer support even way after the creator himself has said they're NOT going to do it themselves, and that they're even going as far a blocking people who keep asking them for it (Understandably), If you want a multiplayer sipport for it MAKE IT YOUR OWN FUCKING SELF or shut the fuck up for once:steamfacepalm:
Jebus 4 Jun @ 11:35am 
WHY Do none of the Modders ever consider Multiplayer its so god damn lame like wanting to fight stuff other than zombies with friends? WHY, why does it have to be a straight up No to Multiplayer man :/
number1millipedefan 10 May @ 11:39am 
Shaggoth Supurb Survivors/Supurb Survivors Continued
®🍁kyi⭒˚。⋆ 31 Mar @ 10:04pm 
B42 UPDATE PLS
Willi 29 Mar @ 3:05am 
Multiplayer ?
ANGLORD 12 Mar @ 8:57am 
This will be legendary in B42.
Guns399 11 Mar @ 6:29pm 
Build 42 when?
VEXPZR 4 Mar @ 1:55am 
I love this mod, but for some reason it's messing with my cursor and the game in general now.
Shaggoth (Ищезаяц) 27 Feb @ 1:47am 
one question only. what the heck is ss/ssc?
𝓖𝓱𝓸𝓼𝓽 19 Jan @ 5:09am 
Npc Survivor keeps killing them when I spawn em.... They wont work together. almost like they see em as zombies
ryley2312 10 Jan @ 3:02pm 
why does it take ten shots to kill a npc kills it for me
WTFłłVIPΣR 31 Dec, 2024 @ 3:55pm 
Can you please add a way to teleport companions to myself. They get stuck in places sometimes.
斯文人 24 Dec, 2024 @ 4:35am 
B42 pls bro
747074170 24 Oct, 2024 @ 11:34am 
rename system please?
WorldWhisper IV 22 Sep, 2024 @ 12:24am 
you made the Hostile NPC too tanky, it took 3 clean hits to the face with a machete and still lived to kill me with a lousy hammer
Jon the VGNerd 19 Sep, 2024 @ 7:17pm 
Not sure what's going on, but it seems survivors no longer spawn in PZ anymore with the mod enabled, same with other PZNS mods.
Purple Nebula 18 Sep, 2024 @ 5:58pm 
@Screethegargoyle There's a setting in I think "Display" options, "Enable Mouse When Aiming" or something, enabling this should fix that issue; SS/SSC has this same issue and as of now it seems like a hard limit/issue with the vanilla game's inner workings as NPCs are seen as AI players, which makes the game think you are aiming (and thus your mouse disappears cause the setting is turned off) and poof, gone is your mouse.
Screethegargoyle 14 Sep, 2024 @ 4:45pm 
okay so i figured out the issue, whenever an npc fires a gun the game thinks im firing it and disables the cursor
Screethegargoyle 12 Sep, 2024 @ 5:09pm 
mouse dissappears
Tax 7 Sep, 2024 @ 3:37pm 
A question: Is there a Spanish-translated version of this mod? (If there isn't, can I help translate it?)
tilarium 5 Sep, 2024 @ 8:09am 
Only place I’ve ever consistently found an RV spawning is that grassy section to the east of the Dixie gas station. Could be a mod adds that as a spawn though. Outside of that, I don’t think there are any set spawn points for RVs, just have to look around to find one. Or use the cheat menu (rebirth version) or bikinitools to spawn one.
Pix 5 Sep, 2024 @ 6:48am 
quick question, Is this mod as laggy as Superb Survivors?
Are there more npc than just resident evil ones?
Do they spawn in world, or you have to spawn them?
Can you give them jobs, like in SS, to barricade windows, make farms etc?
This mod looks great!
no. 1 Sep, 2024 @ 2:02pm 
skin mods dont work with this for some reason. i have a face retexture mod and it just doesnt apply with this mods NPCs
BDZ1972 27 Aug, 2024 @ 8:00am 
Just got wrecked by a hostile survivor...they usually don't do anything, but my companion opened fire into the dark earlier on, I thought "zombie, she'll deal with it", then I saw the "red naming" and before I knew it I'd eaten three bullets!

If I'd not had a proper med kit with plenty of sutures, I would have bled out on the spot - Reminded of why any incarnation of SS (no matter how WIP or buggy) is a great addition to this game!
BenzyBoy 22 Aug, 2024 @ 8:17am 
Will there be a possibility to add/adjust NPC behaviour. Zomboid feels empty on hardcore settings without superb survivors helping with chores or competent melee fighting. (hauling corpse, chopping trees, gathering wood or other items, DOCTOR, farming would be cool)

From my understanding PZNS is the new and improved SSC!? I've always valued performance over everything but the NPCs are utterly immersion breaking. Most unrealistic gun targeting (especially when shooting through windows at distance), unnaturally pivet on a dime to shoot zombies while completely surrounded yet cannot manage to face zombies normally to attack with melee.

I beg for the SSC features to be added :P! I miss the days of making a spartan line and mowing through hundreds of zombies until the brutes come!
Acoolpro2 20 Aug, 2024 @ 5:20pm 
is there any roleplay options
Emanonevi 14 Aug, 2024 @ 8:30am 
how do I change their haircuts?
Tax 15 Jul, 2024 @ 8:01pm 
@Kenpachi I believe that you can use debug to clean them with the healing menu, not sure, havent tested.
Kenpa 11 Jul, 2024 @ 10:26pm 
They get so eternally dirty, so quickly... hahaha

I feel bad for them when I'm freshly bathed. Is there a method any knows of to help these filthy NPCs out?
🌴 Zunder 🌴 2 Jul, 2024 @ 3:16pm 
Thank you for your response =)
okkg  [author] 2 Jul, 2024 @ 2:10pm 
pzns uses this: https://projectzomboid.com/modding/zombie/characters/SurvivorFactory.html
you would need to modify a spawning mod to use a table of names and surnmaes you made and pick a random one
🌴 Zunder 🌴 2 Jul, 2024 @ 1:51pm 
Hi,
in 'superb suvivor' mods there is a file 'moodles_xx.txt' in the /shared/Translate/ directory which lists many first names.

I wanted to change the first names of the NPCs in your mod but I can't find the file that lists the list of first names; However, the NPCs spawn with a random first and last name...

Where can I find this list please?
okkg  [author] 27 Jun, 2024 @ 5:39am 
@skoaljaw Food needs arent implemented yet
tilarium 27 Jun, 2024 @ 1:51am 
Read. The. Description. Why is something so simple so hard for some people?
OofeyTheBee 27 Jun, 2024 @ 1:50am 
Does it work in multiplayer?
Skoaljaw 21 Jun, 2024 @ 3:25am 
An absolutely brilliant mod and very easy to use! This might be a silly question and I apologize if it is, but do they need food and water in their inventory and will they eat/drink automatically? I ask because my Agent Wong just dropped dead moments after I did a medical check with "OK" status.
-Yuri- 9 Jun, 2024 @ 5:49am 
I wanted to use this MOD because superb has a lot of bugs. However, the NPCs in this MOD are still useless in battle. I have high hopes for it, but I think I'll be using superb for a while longer.
okkg  [author] 16 May, 2024 @ 11:03pm 
Use notepad++ or Visual Code Studio to code, learn some basic lua coding, analyze example mods in the PZNS framework. PZNS framework also has a utils folder that you can use to speed up the coding. https://projectzomboid.com/modding/index.html https://pzwiki.net/wiki/Modding
Madirish2601 16 May, 2024 @ 3:55am 
I really want to use this framework to make npc’s however I don’t know how to start as I have never made a mod for PZ before. I am wondering what software I should use etc
adi 28 Apr, 2024 @ 2:59am 
@JustZo2e what do you not understand about this being a FRAMEWORK not an actual mod
Zur 26 Apr, 2024 @ 3:22pm 
awesome mod but so incredibly buggy, doesn't allow full scaling of RP can't talk to other npcs as it doesn't show up and the npcs are quite non cooperative, if you fixed these issues this would be a top download
MarBl 14 Apr, 2024 @ 5:50am 
When I place a stack of items with this mod enabled, right-clicking them and clicking Take Half causes an error. The console log says it's conflict with vanilla and the survivor inventory, something to do with referencing a null. Not a big deal as I rarely take half anyway!
oZumbiAnalitico 12 Apr, 2024 @ 10:09am 
@Chrisndan ,@Therobloxdudev
Sometimes the animation freezes and the npc get stuck. In the behaviour coding you should clear the timed action queue periodically or create a function to identify stucked npcs.
Sometimes they get stuck in objects, like furnitures and containers, you should prevent spawn in these kind of squares.

For other kind of issues or issues on user-side, will help if you send a video link and the mods used.
oZumbiAnalitico 12 Apr, 2024 @ 10:03am 
@VirtualRageMaster
Yes, this is pretty much the current state. But for the jobs, the "Guard" and "Companion" are functional, the guards circle around your home-base searching for trouble, the companions follows you and can travel with you in vehicles. More jobs are needed obviously, you can improve by adding directly to the main project, but I think is better to create a mod addon instead. I manage to code a tree chopper in one of my other mods ( https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3062331905 ), but isn't very good, although do the job.

Hope more ppl get interested on using this framework and contribute to the project, as the B42 seems to not come before the real life apocalypse.

( I not the owner of the project, only made some mods with the framework )
oZumbiAnalitico 12 Apr, 2024 @ 10:03am 
@Cozetta
As far as I know, this can only be "fixed" by setting the npcs immune to cold, in vanilla-lua I can't find the function responsible, so I guess is on java code (which is out of scope for lua-modding). In my Hostile NPCs mod (Take No Prisoners, tnp for short) you can find a file named sneezing_fix.lua which do this workaound.
Cozetta 12 Apr, 2024 @ 8:35am 
I have a problem with my character constantly sneezing but there's no sickness or cold. It seems like npc spread their illness to the player but the player won't get the appropriate moodle.
Chrisndan 5 Apr, 2024 @ 11:04am 
Same here with the npc's freezing
VirtualRageMaster 16 Mar, 2024 @ 1:59pm 
Thanks for this mod, I tried it out.
How much of this mod is functional?

Im running JUST the PZNS related mods.

I get the right click context menus for PZNS and TNP.
I can recruit followers using the interact button mod.
I can get them to follow me.
They fight melee in proximity but don't move to attack.
They don't move to attack even if in guard mode.
I can set zones for home and corpse disposal but...
When i set jobs for NPCs, they don't actually do anything?

Just wondering if this is expected behavior for the current state of the mod, or if I've installed it weird.