NPC speech is added through the
entity, which can be used to play
files previously created in Face Poser.
If you need to use custom voice lines, then you’ll have to create your own scenes in Face Poser, and you have to make your map into a sourcemod to include them.
Fortunately, it’s really simple to make a sourcemod, and making a scene with just a sound clip and no animations is not too complicated.Edit: thick fingers, small mobile screen, hit submit instead of preview
If you just need to use existing voice clips, you can look through the existing
to see if they’re right for you. The stock scene files are not included in Half-Life 2
since they’re compiled into a single
file. However, they’re all included with Source SDK 2013, which you can find on Valve’s Github page
You can also look through decompiled maps to see how which scenes are used for a particular piece of dialogue, and how else they need to be set up in order to work.
I hope you find this helpful!