I have a level that requires a lot of npcs walking around like a city. I do not know how to create this without lag and I assume that extra coding will be required to do this. I've tried every console command that I could find and I can't have over 40 npcs without a significant loss in fps. My computer can definitely handle this because I've done it in Garry's Mod and gotten 100 npcs without any loss in fps. They were all in motion also.
I'm running my mod with source 2007 and regular citizen models. When I toggle "+show_budget" the Client_Animation bar is full showing that the lag is caused by Client_Animation from the NPCs.
There might also be a way to optimize this in Hammer but I'm not sure of it right now.
Any help will be greatly appreciated.













