Лифт из старой Лаборатории (Portal 2)

From Valve Developer Community
< Ru
Revision as of 04:08, 22 August 2024 by Nesciuse (talk | contribs) (obsolete language category)
Jump to navigation Jump to search
English (en)Русский (ru)Translate (Translate)

Железные лифты используются в старой лаборатории. Они сделаны из металлических балок, которые служат в качестве направляющих рельс, и самого лифта, который состоит из каркаса и двух раздвижных дверей.

Старый лифт в игре.

Создание

Входной лифт

1. Создайте

Warning icon.png
This article has been marked as a candidate for speedy deletion for the following reason:
Use {{Flag|en}} instead.
If you object to this decision, then please discuss why here (If you make a discussion section also create this redirect page). If this page doesn't meet the criteria for speedy deletion, then please remove this notice, but do not remove it from pages that you have created yourself
Administrators / Moderators - Remember to check if anything links here and the page history before deleting.

func_instance и задайте имя файла VMF "instances/underground/test_dome_entrance_lift_01.vmf"

2. Выберите лифт, появится кнопка "Edit Instance". Нажмите её, и будет открыт vmf лифта.

3. Создайте энтити

Warning icon.png
This article has been marked as a candidate for speedy deletion for the following reason:
Use {{Flag|en}} instead.
If you object to this decision, then please discuss why here (If you make a discussion section also create this redirect page). If this page doesn't meet the criteria for speedy deletion, then please remove this notice, but do not remove it from pages that you have created yourself
Administrators / Moderators - Remember to check if anything links here and the page history before deleting.

logic_auto и настройте выход так:

My Output Target Entity Target Input Delay
Io11.png OnMapSpawn entrance_lift_train StartForward 0.00

4. Сохраните этот vmf (можно под другим именем).

5. Вернитесь в карту, создайте энтити info_player_start и разместите её в лифте.

Выходной лифт

Создайте экземпляр "test_dome_exit_lift_01.vmf". Больше делать ничего не нужно.

См. также

Расширенная статья по созданию лифтов(en)