Reply To: NPC, taking lots of CPU
Home / Forums / Modders Corner / Mafia Editing / Mod Help / NPC, taking lots of CPU / Reply To: NPC, taking lots of CPU
I found the problem!
it has to do with Titanic’s collissions, apperantly the collission model is still too complicated for characters to calculate. so what I’ll do is to seperate the collission model of the deck itself from the rest of the collissions.
What I did to find out was to add about 15 NPCs into the scene, all with cordinates 0,0,0.
now they were all walking on the drop collission below the Titanic, no change in FPS!
Then I moved them all onto the ship, and as soon as I ran the game, FPS decreased to ~10FPS
After I killed them all, FPS went normal. That explains why the draw distance/ level of detail had no effect to this.
Let’s hope the best for this collission trick.
Thanks everyone for the great help once again!
