Maximum Number of NPC
Posted: Thu Dec 30, 2021 1:17 am
I may not be remembering correctly, but I seem to recall there being a limit to the number of NPC's that can be created but I am having difficulty finding a reference to it. I think there is a limit as I have likely run into it as I am up to NPC 355 and when I try to create a new one it looks like it's going back to hard coded usecode 0x400 (Avatar) and crashes the game when trying to create a new NPC. This makes me think 356 (including 0 for Avatar) is the limit.
Is this something that is hard coded/set in the engine that will not be changed? I'm guessing since the Avatar constant is -356 if it were possible it would be quite a bit of work that is unlikely to be done, or is simply not possible?
Luckily I'm not at a dead end as I can still snag quite a few NPC's from the original game that are currently performing their original Serpent Isle business in the original (though somehow completely broken map/world) world of Serpent Isle, but knowing that I'm hard capped at 355 will help me plan how I move forward with Glimmerscape2.
Is this something that is hard coded/set in the engine that will not be changed? I'm guessing since the Avatar constant is -356 if it were possible it would be quite a bit of work that is unlikely to be done, or is simply not possible?
Luckily I'm not at a dead end as I can still snag quite a few NPC's from the original game that are currently performing their original Serpent Isle business in the original (though somehow completely broken map/world) world of Serpent Isle, but knowing that I'm hard capped at 355 will help me plan how I move forward with Glimmerscape2.