I'm trying to create a new powerful mercenary,I have edited the npc file,but the problem is...The NPC is stiil stupid,can't switch weapon,and standing still...I think maybe I can create a new CLASS,I mean,like "CLASS_DESANN" but I can't find the CLASS file,so where can find and edit it? and if somebody has other good ideas to make the NPC stronger,please tell me
Mmm, you can't create new NPC classes without coding. (And only for MP!) The AI is just stupid in multiplayer, and it's not easy to make it smart or expand on it.
Sounds like you're shit outta luck, unless you wanted to spend 1.5+ years or so learning programming.
basically, you need one of the MP mods that fix npcs such as "last hope" and that will make all NPCs smarter (and able to switch guns etc)