Jump to content

A build that removes the NPC cap?


bigphil2695

Recommended Posts

  • 1 month later...
Posted

There's no such way to totally remove the cap. If you mean number of files or spawned there will be two different scenarios with one being more difficult to work around.

Posted

This should do the trick. 

 

 

A more proper explanation and fix available in this old thread:

 

For multiplayer you can increase the limit by increasing the following line in "codemp\game\NPC_stats.c":

#define MAX_NPC_DATA_SIZE 0x40000

For example doubling it to 0x80000.

And recompile the game.

 

For singleplayer it's the same thing, but in the "code\game\NPC_stats.cpp" file instead.

Smoo, bigphil2695, dg1995 and 1 other like this

JKG Developer

  • 2 weeks later...
  • 2 years later...
Posted

Somehow... this issue has returned. Basically because my weirdly specific build of OpenJK was messed up. See I was trying to reapply it without the settings from another mod, and I encountered an issue. Now when I try to reapply that build it doesn't work, unless that mod is on. I don't really know how to fix this, but I want the mod gone, and my NPC file cap to remain where it is.

 

spacer.png

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