Adding new npc models to hammer without getting the error model

I’ve worked out how to get the model as an option for the citizen npc and as a class of it’s own in fgd. Hammer and compile still show the dreaded error model. I’ve rechecked that the path to the model is correct and even copied it to the corresponding gmod folders. I’ve read the wiki pages on npc creation but it tells no useful information about what to do with the .cpp files it talks about making or how they even relate to the process. Is that keeping hammer from making he connection to the model?

you’re trying to spawn an snpc? just place an entity in your map, and look through the lua for the internal name, and set that as your entity.