Ru/Diversity Vent: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 4: | Line 4: | ||
}} | }} | ||
''' | '''Пневматические (вакуумные) трубы''' - тестовый элемент, который вырезали из игры. Но инструменты и модели для создания этого элемента остались. Пневматические трубы - часть системы доставки тестового оборудования (в неё входят раздатчики), которая является элементом эстетики Portal 2. Этот элемент используется в Aperture для переноса различных предметов, таких как [[cubes (Portal 2):ru|кубы]], [[turret (Portal 2):ru|турели]] и [[gel (Portal 2):ru|гели]], или в качестве тестового элемента для всасывания этих предметов. | ||
Кубы и турели | Кубы и турели, пролетающие по трубам, имеют анимацию, см. папку с моделями "props_vac_anim". | ||
[[File:vent1.png|200px|thumb|right| | [[File:vent1.png|200px|thumb|right|Труба]] | ||
== Создание | == Создание пневматической трубы == | ||
{{note|В | {{note:ru|В данном руководстве используется три прямых трубы и одна со сгибом. Чтобы просмотреть другие варианты труб, в браузере моделей в разделе ''props_bts'' введите''vactube''.}} | ||
* Создайте | * Создайте несколько (три штуки) энтити {{en}} [[prop_static]] и выберите для них модель ''props_bts\vactube_128_straight_b.mdl''. | ||
* Соедините | * Соедините трубы и разместите ещё одну энтити {{en}} [[prop_static]] и присвойте ей модель ''props_bts\vactube_90deg_01.mdl''. Это труба со сгибом. | ||
* Чтобы | * Чтобы завершить трубу, создайте ещё одну энтити {{en}} [[prop_static]] и присвойте ей модель ''props_bts\vactube_connector.mdl'' | ||
== | == Создание вакуума == | ||
Это сложная часть. Рекомендуется использовать энтити {{en}} [[info_placement_helper]], которая поможет найти корректные значения высоты, поворота и крена для {{en}} [[trigger_push]]. The [[info_placement_helper]] will have a big red arrow that will show you the direction it's facing when the pitch, yaw, and roll values are set. The direction of the red arrow is pointing towards is the same direction that objects will be pushed towards in the tube when set in the [[trigger_push]] properties, just copy over the pitch, yaw, and roll settings from the [[info_placement_helper]] into the push direction properties of the [[trigger_push]]. | |||
* For straight tubes: create a 64x64 [[trigger_push]] brush entity and texture it with the Trigger texture. Place it inside the straight tubes and line it up with the origin of the straight tubes to ensure it's directly in the center. | * For straight tubes: create a 64x64 [[trigger_push]] brush entity and texture it with the Trigger texture. Place it inside the straight tubes and line it up with the origin of the straight tubes to ensure it's directly in the center. | ||
Line 24: | Line 23: | ||
* For the curved tube: create another 64x64 [[trigger_push]] brush entity textured with Trigger. Place it inside the curved tube and stretch it down to the floor and up to the bottom of the straight tube's [[trigger_push]] entity. This will lift physics objects into the straight tubes, then carried away. | * For the curved tube: create another 64x64 [[trigger_push]] brush entity textured with Trigger. Place it inside the curved tube and stretch it down to the floor and up to the bottom of the straight tube's [[trigger_push]] entity. This will lift physics objects into the straight tubes, then carried away. | ||
In the object properties of all [[trigger_push]] entities, ensure the '''Physics Objects''' flag is checked. The '''Speed of Push''' should be set to 1500, and make sure the '''Push Direction''' is correctly set with the direction of the tubes. | |||
Note: the '''NPCs''' flag should be checked as well if you want the brush to affect turrets! | |||
== Removing vacuumed objects == | == Removing vacuumed objects == |
Revision as of 03:29, 5 January 2014
Пневматические (вакуумные) трубы - тестовый элемент, который вырезали из игры. Но инструменты и модели для создания этого элемента остались. Пневматические трубы - часть системы доставки тестового оборудования (в неё входят раздатчики), которая является элементом эстетики Portal 2. Этот элемент используется в Aperture для переноса различных предметов, таких как кубы, турели и гели, или в качестве тестового элемента для всасывания этих предметов.
Кубы и турели, пролетающие по трубам, имеют анимацию, см. папку с моделями "props_vac_anim".
Создание пневматической трубы
- Создайте несколько (три штуки) энтити
prop_static и выберите для них модель props_bts\vactube_128_straight_b.mdl.
- Соедините трубы и разместите ещё одну энтити
prop_static и присвойте ей модель props_bts\vactube_90deg_01.mdl. Это труба со сгибом.
- Чтобы завершить трубу, создайте ещё одну энтити
prop_static и присвойте ей модель props_bts\vactube_connector.mdl
Создание вакуума
Это сложная часть. Рекомендуется использовать энтити info_placement_helper, которая поможет найти корректные значения высоты, поворота и крена для
trigger_push. The info_placement_helper will have a big red arrow that will show you the direction it's facing when the pitch, yaw, and roll values are set. The direction of the red arrow is pointing towards is the same direction that objects will be pushed towards in the tube when set in the trigger_push properties, just copy over the pitch, yaw, and roll settings from the info_placement_helper into the push direction properties of the trigger_push.
- For straight tubes: create a 64x64 trigger_push brush entity and texture it with the Trigger texture. Place it inside the straight tubes and line it up with the origin of the straight tubes to ensure it's directly in the center.
- Make the brush length as long as the vent tubes.
- For the curved tube: create another 64x64 trigger_push brush entity textured with Trigger. Place it inside the curved tube and stretch it down to the floor and up to the bottom of the straight tube's trigger_push entity. This will lift physics objects into the straight tubes, then carried away.
In the object properties of all trigger_push entities, ensure the Physics Objects flag is checked. The Speed of Push should be set to 1500, and make sure the Push Direction is correctly set with the direction of the tubes.
Note: the NPCs flag should be checked as well if you want the brush to affect turrets!
Removing vacuumed objects
- At the opposite end of the tube, where the player may lose sight of objects being carried away by the vacuum, place a trigger_multiple brush entity that is 128x128x16 large. This will be used to remove the physics objects in the tube.
- For the trigger_multiple entity:

Finishing up
- 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
- Original tutorial with example map (Portal 2 Mods) - appears to be broken