Making BMS NPCs Speak

From Valve Developer Community
Jump to: navigation, search
Black Mesa Level Creation

Stub

This article or section is a stub. You can help by adding to it.

Skill Level

This tutorial expects you to have this amount of knowledge within the topic to follow along smoothly.

Novice Familiar Competent Proficient Expert

Scenes

To make an NPC speak in Black Mesa is quite simple. First, make a new entity called logic_choreographed_scene. Then, in the keyvalues pick what voiceline you want, then pick the target NPC.

Warning.pngWarning:Certain voice lines only work for certain characters, such as having a scientist speak guard voice lines, won't work. Voice lines also have to be generic, unless you name a NPC the required name for that voice line. Example: For \c1a01\scientist, you would name the scientist Sci_c1a01. Make sure if you are using generic you only see npc\security, npc\male_scientist, etc., or something similar, no chapter names.