Jump to content

NPC Crashing Game


Recommended Posts

Posted

Hello.

I am working on JASource and i want to change NPC's. limits


I have created better render for npc (when many npcs are on the map ghoul2 models defroms) but it's not the problem.. the problem is NPC limit i think.

On my scripted mission there is many many npc around the map, all npcs have been scripted to BS_FOLLOW_LEADER(Enemy will not stay anymore and always try to reach player) and there problems starts.   If many npc's are close to player (i think 25 npcs or if npc's touch other npc and they block) the game just crashes..so here is my question how can i change this FOLLOW_LEADER limits because when npc's are with BS_DEFAULT game won't crashes and can be more  npcs. i've tryed to change NPC memory( MAX_NPC_DATA_SIZE), but there is no result.     I'll be very Grateful for helping me.

Posted

The crash happens when NPC's are close to player or just block self and they cant read waypoint

Posted

I don't know how.. i cant find this code but im sure there is code for that because it happens on any map.. and only on BS_FOLLOW_LEADER

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