Colt Posted August 14, 2014 Posted August 14, 2014 Hello.I am working on JASource and i want to change NPC's. limitsI 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.
mrwonko Posted August 14, 2014 Posted August 14, 2014 You should find out where the crash happens, that will give you a hint about what went wrong.
Colt Posted August 14, 2014 Author Posted August 14, 2014 The crash happens when NPC's are close to player or just block self and they cant read waypoint
ent Posted August 14, 2014 Posted August 14, 2014 If you are working with the source... then just debug it?
Colt Posted August 14, 2014 Author Posted August 14, 2014 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now