Ru/Diversity Vent

From Valve Developer Community
Jump to navigation Jump to search

Template:Otherlang2

Пневматические (вакуумные) трубы - тестовый элемент, который вырезали из игры. Но инструменты и модели для создания этого элемента остались. Пневматические трубы - часть системы доставки тестового оборудования (в неё входят раздатчики), которая является элементом эстетики Portal 2. Этот элемент используется в Aperture для переноса различных предметов, таких как кубы, турели и гели, или в качестве тестового элемента для всасывания этих предметов.

Кубы и турели, пролетающие по трубам, имеют анимацию, см. папку с моделями "props_vac_anim".

Труба

Создание пневматической трубы

Template:Note:ru

  • Создайте несколько (три штуки) энтити
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.

prop_static и выберите для них модель props_bts\vactube_128_straight_b.mdl.

  • Соедините трубы и разместите ещё одну энтити
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.

prop_static и присвойте ей модель props_bts\vactube_90deg_01.mdl. Это труба со сгибом.

  • Чтобы завершить трубу, создайте ещё одну энтити
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.

prop_static и присвойте ей модель props_bts\vactube_connector.mdl

Создание вакуума

Это сложная часть. Рекомендуется использовать энтити

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.

info_placement_helper, которая поможет найти корректные значения высоты, поворота и крена для

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.

trigger_push. У info_placement_helper появится большая красная стрелка, указывающая направление своего хода, если заданы значения высоты, поворота и крена (pitch yaw roll). Направление красной стрелки укажет в том же направлении, в котором объекты будут проталкиваться в трубе, и которое задано в свойствах trigger_push, просто скопируйте параметры pitch, yaw и roll из info_placement_helper в свойства trigger_push.

  • Для прямых труб: создайте 64x64 брашевую энтити trigger_push и затекстурируйте её текстурой Trigger. Разместите её внутри прямой трубы и выровняйте её в начале трубы точно по центру.
  • Растяните брашевую энтити на протяжение всей трубы.
  • Для согнутой трубы: создайте ещё одну 64x64 брашевую энтити trigger_push с текстурой Trigger. Разместите её внутри согнутой трубы и растяните её вниз до пола и вверх до дна энтити trigger_push из прямой трубы. Так физические объекты поднимутся с пола вверх до прямой трубы, а затем улетят.

В свойствах всех энтити trigger_push обязательно установите флажок Physics Objects. Параметр Speed of Push задайте на 1500, и проверьте, что Push Direction соответствует направлению труб.

Примечание: чтобы брашевая энтити могла действовать на турели, установите флажок NPCs!

Удаление объектов в конце трубы

  • В конце трубы, куда предметы уносятся прочь от взгляда игрока, разместите брашевую энтити
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.

trigger_multiple размером 128x128x16. Она будет удалять физические объекты из трубы.

My Output Target Entity Target Input Parameter Delay Only Once
Io11.png OnStartTouch !activator Kill 0.00 No

Template:Note:ru

Finishing up

Finished Vent
  • Directly underneath the entry tube where objects will be sucked in, place a info_placement_helper on the floor. Set the Radius to 64, and set the Force placement to Yes.
  • Above the info_placement_helper, and below the entry tube, place a point_push facing up (-90, 0, 0). Adjust the Radius to about 250, and set the Magnitude to -40. This will add an effect of dust being sucked into the portal when placing portals.
  • At the opening of the vent place an info_particle_system facing down (90, 0, 0) with Particle System Name of broken_tube_suck. Make sure Start Active? is set to yes. This will add an effect of dust being sucked in the vent, not only to the portal, but also from it.

External links