Project Zomboid

Project Zomboid

[B41] Knox Event Expanded MP NPC mod [alpha v0.2.1]
 このトピックはピン留めされているので、おそらく重要です
Snejk  [開発者] 2024年10月8日 11時18分
Installation guide
This mod is still in very early stage of development. Do not use this on saves you care about. Preferably, start on a clean save when trying out the mod.

Guide for dedicated servers
The dedicated server will work on a mostly unmodified client. A deadlock workaround is recommended, but not required. See the Player guide for more information.

How to install
  1. Open your Project Zomboid Dedicated Server directory (In Steam, right-click on Project Zomboid Dedicated Server directory and select "Manage"->"Browse local files"
  2. Go to the mod directory: Steam\steamapps\workshop\content\108600\3335447777\mods\KnoxEventExpanded\media\java\classes
  3. NOTE: Default directory should be: C:\Program Files (x86)\Steam\steamapps\workshop\content\108600\3335447777\mods\KnoxEventExpanded\media\java\classes
  4. Copy the "knox" and "zombie" directories to the java directory in your Project Zomboid Dedicated Server directory (Default: C:\Program Files (x86)\Steam\steamapps\common\Project Zomboid Dedicated Server). If you are copying to the correct directory, it will ask you to replace files. Replace the files it is asking you to replace.
  5. Start the server

How to uninstall
  1. In Steam, right-click on Project Zomboid Dedicated Server and select "Properties"
  2. In the properties window, go to the "Installed Files" tab
  3. Press "Verify integrity of game files"
  4. Steam will now check all files and remove the fix by redownloading the modified files
  5. There will be a leftover directory called knox. If you wish, you can delete it, but leaving it will not cause any issues, since it will not be used anymore. If you are updating, this must be removed.

How to update
Since the mod is still very early in development, which classes exist and doesn't exist might change between updates. The best option is to uninstall the mod according to the instructions above (including removing the "knox" directory", followed by installing the mod again according to the first section of this page.

Installing No Mo Culling
The mod is compatible with No Mo Culling. The mods are installable in any order, since there are no overlapping class files.

Recommended server settings
For the mod to work well, please disable these anti-cheat options:
  1. Anti-Cheat type 2
  2. Anti-Cheat type 12
  3. Anti-Cheat type 21
  4. Anti-Cheat type 22
  5. Anti-Cheat type 23
  6. Anti-Cheat type 24
On top of this, it is also recommended to keep PvP Safety On, since npcs are PvP targetable. It is also recommended to turn on PVPMeleeWhileHitReaction, and turn down PVPMeleeDamageModifier and PVPFirearmDamageModifier. Injury generation is done client-side, and the npcs are still a bit overpowered, so making this value high will make them hit very, very hard. This can also be compensated for by increasing the Sandbox Options for Damage multiplier specific for npcs under "Knox Event Expanded General"

If you have a dedicated PC to host the server on, 1000 npcs (default) should work well. If you are facing performance issues, you can turn down the total number of npcs that are generated upon starting the server in the Sandbox Options under "Knox Event Expanded General".

For a full list of known incompatible mods, please see the Mod Compatibility thread.

If you run into any issues installing and making it work, feel free to ask questions here.
最近の変更はSnejkが行いました; 1月5日 1時05分
< >
1-15 / 44 のコメントを表示
Cieten 2024年10月12日 16時39分 
so for a rented server one need to place the knox and zombie folder inside the java folder inside "server files" folder
Snejk  [開発者] 2024年10月12日 20時19分 
@Cieten That's right.
What about the regular servers? Through the “host” button in the game.
Snejk  [開発者] 2024年10月18日 14時45分 
It is on my list of things to implement, and I have heard from one player that this isn't working. It will however probably be last in line to be added. My approach is to figure out how to do both MP and SP individually before approaching client-hosted/Co-op, since it's essentially putting SP and MP together, so it'd make sense to figure both of them out separately before trying to put them together.
Will 2024年11月6日 21時31分 
Snejk の投稿を引用:
It is on my list of things to implement, and I have heard from one player that this isn't working.
Now it is working. The fact is that I was confused by the two instrucions for the MP and SP versions. At the same time, in fact, the installation was the same.
Snejk  [開発者] 2024年11月7日 1時17分 
@Will Yes, the installation is the same i.e. they use the same classes, but the directories are different, since they are installed separately via Steam. This is the reason why I chose to have two separate instructions in the guide above.

Do you have any suggestion to improve the instructions to make it more clear?
Will の投稿を引用:
Snejk の投稿を引用:
It is on my list of things to implement, and I have heard from one player that this isn't working.
Now it is working.

So is it possible to install a mod for the game via the “host” tab after all? How can I do that? Using the single player method? (Even if yes, for some reason I don't have a Java folder in my PZ folder)
Snejk  [開発者] 2024年11月7日 6時37分 
I am not 100% sure. Some people have reported having issues with this, but I have no logs to look at, so I don't know what to make of it.

I did try this for myself yesterday though, and it worked for me. To enable the mod in MP hosted via the client, you simply install it the same way you would for SP.
Snejk の投稿を引用:
I am not 100% sure. Some people have reported having issues with this, but I have no logs to look at, so I don't know what to make of it.

I did try this for myself yesterday though, and it worked for me. To enable the mod in MP hosted via the client, you simply install it the same way you would for SP.

Yes, that's what I suspected, but as I said above, for some reason I don't have a Java folder in the Project Zomboid directory. There is only a javax folder, but I don't think that's what I need...
Snejk  [開発者] 2024年11月7日 7時40分 
I'm sorry, I wrote the instructions above wrong. The SP client does not have a java directory. You simply drop it inside the ProjectZomboid directory (default: C:\Program Files (x86)\Steam\steamapps\common\ProjectZomboid) and if it asks you to replace a bunch of files, you have done it correctly.
最近の変更はSnejkが行いました; 2024年11月7日 7時40分
Snejk の投稿を引用:
I'm sorry, I wrote the instructions above wrong. The SP client does not have a java directory. You simply drop it inside the ProjectZomboid directory (default: C:\Program Files (x86)\Steam\steamapps\common\ProjectZomboid) and if it asks you to replace a bunch of files, you have done it correctly.

Are you sure it's enough to just move it to the root folder? Doing that and going into singleplayer I get errors every tick.
Going into KnoxEventExpanded\media\java\classes\zombie and KnoxEventExpanded\media\java\client\zombie I saw the same folders as in team\steamapps\common\ProjectZomboid\zombie. Maybe I should move them there and replace them?

But I still don't know where to put the KnoxEventExpanded\media\java\classes\knox folder.
I can't find the “knox” folder anywhere in the game files.
Snejk  [開発者] 2024年11月7日 13時02分 
The client directory is only for vanilla clients who wants to play multiplayer, so you can disregard that unless that is that you are trying to install.

For hosted MP via the client, you take both the knox and zombie directories in the classes directory and copy them into the ProjectZomboid directory. The knox direcory is my framework that I have written, so that directory will not exist if you are doing a fresh install.
Snejk の投稿を引用:
I'm sorry, I wrote the instructions above wrong. The SP client does not have a java directory. You simply drop it inside the ProjectZomboid directory (default: C:\Program Files (x86)\Steam\steamapps\common\ProjectZomboid) and if it asks you to replace a bunch of files, you have done it correctly.
does that mean we replace or skip when it tells us to?
Snejk  [開発者] 2024年11月12日 0時40分 
emanmantan の投稿を引用:
Snejk の投稿を引用:
I'm sorry, I wrote the instructions above wrong. The SP client does not have a java directory. You simply drop it inside the ProjectZomboid directory (default: C:\Program Files (x86)\Steam\steamapps\common\ProjectZomboid) and if it asks you to replace a bunch of files, you have done it correctly.
does that mean we replace or skip when it tells us to?
Yes, replace the files it is asking you to replace. I added a clarification to this in the instructions.
最近の変更はSnejkが行いました; 2024年11月12日 0時41分
plytz 2024年11月13日 14時06分 
I installed it correctly! I was literally passing out while writing this yesterday because I took my sleeping medicine and I didn't go to sleep after. So far, this mod looks really cool. We all know the NPC update is going to come out in 10 years so this will do for now! Thank you.
< >
1-15 / 44 のコメントを表示
ページ毎: 1530 50