Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
To add the lines to a map, open the map you want to edit (make sure it's finalised first) in the in-game editor, then type "puzzlemaker_export mapname" to save it as "mapname.vmf" (or whatever you typed in) in sdk_content/maps. Place down a logic_choreographed_scene somewhere inside the map and give it a name of some kind (I usually use things like "glados_intro2", but it doesn't matter to much as long as they are unique.) In the "scene file" keyvalue, click browse and make sure the dropdown at the bottom is set to "Scene", not "Raw" and that autoplay is unchecked (this doesn't work for voice lines, so it's pretty useless). Type in the filter textbox to narrow down the list of scene files, then find the one that corresponds to the voice line you want. Press OK to choose it, then you can exit the properties dialogue.
Probably the easiest way to trigger the line is to make a trigger_once entity. Make a brush textured with "tools/toolstrigger", wherever the player needs to be to play the voice line (on contact with the block the line will play). Press Control-T to make it an entity, then set the classname to "trigger_once". Switch to the outputs tab, then press the add button to add an output. Use the dropdowns/type into them an output name of "OnStartTouch", the name of the choreographed_scene that you want to trigger as the target entity and select an input of "Start". If you want GLaDOS to play multiple voice lines one after the other, add an output to the first choreo line the exact same way to trigger the second, but use an output name of "OnCompletion". For three lines do the same with the second choreo to activate the third, and so on for more lines.