Making BMS NPCs Speak: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:
==Scenes==
==Scenes==
To make an NPC speak in {{bms|3}} 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.
To make an NPC speak in {{bms|3}} 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|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: ''\c1a01\scientist''. Make sure if you are using generic you only see ''npc\security'', ''npc\male_scientist, etc., or something similar, no chapter names. }}
{{warning|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. }}

Revision as of 06:28, 29 February 2024

Black Mesa Level Creation

Stub

This article or section is a stub. You can help by expanding 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.