Ru/Reconstructing (Portal 2)
Эта тема Portal 2 появляется в одиночной кампании после пробуждения ГЛэДОС. Поскольку ГЛэДОС сбрасывает игрока в глубину комплекса, здесь отсутствуют растения и меньше солнечного света; однако, комплекс всё еще неисправен и, как в ранней теме заброшенных камер, характеризуется ржавыми, заброшенными помещениями, полными мусора и битого стекла.
Эта тема также используется в Серии 3 кооперативного режима.
Переходы между уровнями располагаются в полуразрушенных лифтах, окружённых неработающими экранами и мусором. До прибытия лифта в его шахте могут пролетать кубы и турели. По ходу игры помещения становятся чище.
Подробное описание
Здесь взято лучшее из темы заброшенных камер и добавлена ГЛэДОС, всеми любимый компьютер-убийца. Так что при создании карты не забудьте добавить её речь. В этой теме камеры постепенно становятся чище, и возникает ощущение пробуждения комплекса. Уровни очень динамичны, имеется множество панелей, которые строят стены, пол и потолок; они используются как тестовые элементы, так и в качестве декораций. И поскольку здесь используется множество энтитей, оживляющих комплекс, рекомендуется хорошо знать Hammer.
В ходе кампании появляются такие тестовые элементы, как воздушная панель веры, термический луч подавленности и мосты плотного света. Тем не менее, это очень много, так что не пытайтесь использовать сразу всё.
В отличие от маленьких камер предыдущей темы здесь карты очень большие. В игре много места, панели веры подбрасывают на большие расстояния. Потолки высокие и большие, обычно имеется бассейн с токсичной жижей. Некоторые бассейны достигают 1024 единиц в ширину.
Характерные особенности
Тема восстановления характеризуется очень сильной динамикой. ГЛэДОС вновь взяла комплекс под контроль, и теперь ей нужно всё починить. Иногда она достраивает тестовые камеры прямо на глазах у игрока, добавляя финальные штрихи.
ГЛэДОС
Да, она вернулась, и если вы используете эту тему, ГЛэДОС должна быть внутри. Серьёзно, карта без реплик в два раза скучнее. Но при этом используйте оригинальные цитаты; мы миллион раз слышали 'вот результаты теста: ты ужасный...', но как часто вы услышите 'орла на воздушном шаре'? Ещё лучше, если вы возьмёте вырезанные реплики, которые еще можно найти в файлах игры! Список реплик ГЛэДОС см. здесь: [1].
Освещение
Здесь дневного света значительно меньше, комнаты наблюдения включены, так как ГЛэДОС восстановила управление комплексом. В некоторых комнатах стёкла разбиты, но большая часть окон цела. Отличительная черта комнат наблюдения в этой теме - мерцание и включение света при входе игрока.
Чтобы создать освещение, добавьте экземпляр выключенной комнаты наблюдения, и разместите внутри энтити light или light_spot, а также env_projectedtexture с заданным стилем 'Fluorescent flicker.' Углы light_spot и env_projectedtexture должны быть одинаковыми, их следует направить на основную часть тестовой камеры. Никогда не размещайте комнаты наблюдения на уровне пола.
Далее, добавьте trigger_once перед входом в тестовую камеру и подключите его к логическому реле со следующими выходами:
My Output > Target Entity Target Input Parameter Delay Only Once OnTrigger env_projectedtexture TurnOn 0.00 No OnTrigger env_projectedtexture SetLightStyle Normal 1.00 No
Если вы хотите соответствующих звуков, добавьте энтити ambient_generic с именем звука VFX.LightFlicker и назовите light_flicker_snd. Добавьте ещё ambient_generic с именем звука VFX.LightFlickerEnd и назовите light_flicker_end_snd. Затем добавьте третью энтити ambient_generic с именем звука World.LightFlickerPowerOn и назовите её light_poweron_snd.
Далее, добавьте логическое реле со следующими выходами:
Чтобы заработало, подключите trigger_once к этому logic_relay.
В этой теме также используются световые ленты, некоторые из них гудят. Звук нужно добавлять в звуковой ландшафт, а не в ambient_generic.
Панели
Panels are present all around this theme, doing miscellaneous work other than forming the test chamber itself. There are literally hundreds of animations to pick and use from; and if that isn't enough, there are plenty of panel models to use, each with tens of different animations.

These wake animations are specifically tailored for this point in the game, and really give the sense that the facility is coming back to its senses. A good thing to do is scrolling through all the animations, with time you'll know exactly what you are looking for. You can find a full tutorial on creating these powerup panels on the full Panels page. Malfunctioning panels are still present in this theme, but they are a lot less common.
A thing that is important to point out is that on a large-ish grid size, the panels will be recessed two units into the wall; This is normal. A common mistake is moving them so they are flush with the Walls, and then adding the brush. All this means is that the panel will actually stick out from the wall. On that note, the brush attached to the robotic arm should be 2 units thick.
Now about those miscellaneous dynamic elements to cover; let's begin with the elements relevant to this theme. One clever little trick is using a trigger_look to trigger a relay, either when the player looks at it or when a certain amount of time has passed. This relay should start the animation of a panel or a group of panels. You should use it for the player might not look where you intended him to look and he'll miss all your hard work making those panels.
But panels aren't always attached to robotic arms; some panels are just a brush. This is brilliant for making panels fall of the ceiling into toxic slime pools, which is good for two things. First, it looks awesome, and adds a dynamic element to your map. Second, however, it can be used in a large chamber to draw the players gaze and attention to a certain area, one that they might not have otherwise noticed straight away, perhaps giving them some guidance on where to go, so they can begin with a goal. To do this follow these instructions:
Шаг 1
Create a func_physbox, and texture it as you would to any other rusted panel, useful textures for that are:
- black_wall_metal_005@
- white_wall_tile_004@
- squarebeams_rusty_01
@ - a variable, a set of letters and numbers.
Ensure the Motion Disabled flag is checked. Attach this func_physbox to a phys_hinge for maximum effect.
Шаг 2
Add a relay with the following outputs:
My Output > Target Entity Target Input Parameter Delay Only Once OnTrigger func_physbox EnableMotion 0.00 No OnTrigger phys_hinge Break 2.50 No
Then simply trigger the relay (an aforementioned trigger_look works well for this) and enjoy your falling panels! Don't forget to add some details to the BTS area behind the panel (squarebeams, etc).
However, you don't have to constrain yourself only to the ceiling. One can also perform this trick with wall panels; just don't use a hinge, but use a small phys_explosion behind the panel to knock it off the wall about a tenth of a second after its motion is enabled. There are instances you can use if you find them appealing:
- animated_panels\128x128_ceiling_panel_fall_01.vmf
- animated_panels\128x128_ceiling_panel_fall_02.vmf
- animated_panels\128x128_wall_panel_fall_01.vmf
Различные советы
These are the main elements that should be used through out this theme:
- Broken wall, floor, and ceiling pieces showing the square beam structure
- Falling wall and ceiling tiles, usually into gigantic pools of Slime Water
- Panels with power up animations
- Observation room(s) with an intially flickering light
- Active Security camera
- Enormous test chambers
- Flashing test sign
The geometry should be a lot cleaner than in the previous theme; everything should be a bit blockier, and more of the panels are black, also; though there are roughly the same amount of white tiles, the solution shouldn't be obvious. This is really what, visually, distinguishes the previous theme from this one. Don't hesitate to make whole walls white, just so long as black and white are in about equal proportion. If you want, add subtle visual indicators to where portals should be placed.
См. также
- Панели - Подробная информация по созданию панелей
- ГЛэДОС - Добавление реплик ГЛэДОС
- http://theportalwiki.com/wiki/GLaDOS_voice_lines/ru - Список реплик ГЛэДОС со всеми звуковыми файлами