Інсталювати Steam
увійти
|
мова
简体中文 (спрощена китайська)
繁體中文 (традиційна китайська)
日本語 (японська)
한국어 (корейська)
ไทย (тайська)
Български (болгарська)
Čeština (чеська)
Dansk (данська)
Deutsch (німецька)
English (англійська)
Español - España (іспанська — Іспанія)
Español - Latinoamérica (іспанська — Латинська Америка)
Ελληνικά (грецька)
Français (французька)
Italiano (італійська)
Bahasa Indonesia (індонезійська)
Magyar (угорська)
Nederlands (нідерландська)
Norsk (норвезька)
Polski (польська)
Português (португальська — Португалія)
Português - Brasil (португальська — Бразилія)
Română (румунська)
Русский (російська)
Suomi (фінська)
Svenska (шведська)
Türkçe (турецька)
Tiếng Việt (в’єтнамська)
Повідомити про проблему з перекладом
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.