Ru/L4D Level Design/Finale Events Part 1

From Valve Developer Community
< Ru
Revision as of 04:53, 24 February 2010 by Zhenya93 (talk | contribs)
Jump to navigation Jump to search

5я карта каждой кампании Left 4 Dead имеет финал, где выжившие должны запросить помощи по радио, сражаться с волнами зараженных и танками, а в конце уйти на спасательном транспорте. Также такой пример есть на карте tutorial_standards.

Компоненты финала

There are several things that you need to make a finale work properly:

  • trigger_finale – радио, с помощью которого вы зовёте на помощь спасателей.
  • зона навигации, промаркированная FINALE.
  • Спасательный транспорт (Обычно это prop_dynamic с анимацией).
  • A trigger_multiple to check if all the survivors have made it to the escape vehicle.
  • Четыре info_survivor_positions которые телепортируют выживших, когда они спасены.

Еще необходимо учитывать стандарты финала:

  • Припасы (Патроны, оружия, аптечки).
  • point_viewcontrol_multiplayer камера для финала.
  • Немного env_fade энитий, которая убирает камеруво время финала.
  • Энити "env_outtro_stats" чтобы показывались титры в конце спасения.
  • prop_minigun Пулимёт, который выжившие используют для обороны.
  • A rescue closet – маленькая комната с дверью, содержащая три энити info_survivor_rescueвнутри.
Радио, которое запускает финал на карте tutorial_standards.

Создание trigger_finale

Selecting the radio model.

Go to the Entity Tool and select "trigger_finale" from the Objects drop-down menu.

Place it in the Camera viewport and open its properties.

Click on the World model row and click on the Browse button on the right side.

Type "radio" in the Filter field.

Select the model "props\terror\hamradio.mdl" and click OK.

The trigger_finale properties.

Change the Name to "radio".

Change the Disable Shadows field to "Yes".

This will allow us to send an input to "radio" or the trigger_finale and it won't allow a shadow to draw through the table.

There is also a Use Delay field that we use frequently. This is the amount of seconds before the finale will start after pressing the button. For now, just leave this as the default value of 0.

The nav areas marked with FINALE.

Save and compile your level with F9.

After the level loads, enter nav edit mode with Page Down.

Use "noclip" N to fly to where your trigger_finale is.

Select the nav areas around the trigger_finale and grow the selection just like you did with the BATTLEFIELD areas in the Panic Event/Minifinale.

Use "mark FINALE" in the console to add the FINALE attribute.

Note.pngПримечание:You can see the nav areas flagged with the FINALE attribute of any map by using "nav_flood_select FINALE" in the console. Try it with the tutorial_standards map or any of the finale maps in Left 4 Dead to see how much of the nav is flagged with this attribute. You can also use nav_flood_select with other attributes.

Frequently used Nav attributes:

  • PLAYER_START
  • EMPTY
  • CHECKPOINT
  • BATTLEFIELD
  • BATTLESTATION
  • FINALE
  • NOT_CLEARABLE
  • NO_MOBS
  • OBSCURED
  • RESCUE_CLOSET
  • RESCUE_VEHICLE

← [[ru/
L4D Level Design/Разрушаемые стены|:L4D Level Design/Разрушаемые стены]](en)