Ru/L4D Level Design/Finale Events Part 1: Difference between revisions
Line 27: | Line 27: | ||
[[Image:l4d_hammer_finale_02.jpg|thumb|right|500px|caption|Selecting the radio model.]] | [[Image:l4d_hammer_finale_02.jpg|thumb|right|500px|caption|Selecting the radio model.]] | ||
Нажимаем '''Entity Tool''' и выбираем "trigger_finale" из панели '''Objects''' в выпадающем списке. | |||
Ставим его куда желаем нужным, напиример на стол и открываем свойства. | |||
Нажимаем кнопку '''World model''' и кликаем на кнопку '''Browse''' справа. | |||
Вводим "radio" в поле '''Filter'''. | |||
Выбираем модель радио "props\terror\hamradio.mdl" и нажимаем OK. | |||
{{clr}} | {{clr}} | ||
[[Image:l4d_hammer_finale_03.jpg|thumb|right|500px|caption| | [[Image:l4d_hammer_finale_03.jpg|thumb|right|500px|caption|Свойства trigger_finale.]] | ||
Меняем '''Name''' на "radio". | |||
Меняем '''Disable Shadows''' на "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. | 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. | ||
Line 53: | Line 53: | ||
[[Image:l4d_hammer_finale_04.jpg|thumb|right|500px|caption|The nav areas marked with FINALE.]] | [[Image:l4d_hammer_finale_04.jpg|thumb|right|500px|caption|The nav areas marked with FINALE.]] | ||
Сохраняем и компилируем карту клавишей {{key|F9}}. | |||
After the level loads, enter nav edit mode with {{key|Page Down}}. | After the level loads, enter nav edit mode with {{key|Page Down}}. |
Revision as of 05:06, 24 February 2010
5я карта каждой кампании Left 4 Dead имеет финал, где выжившие должны запросить помощи по радио, сражаться с волнами зараженных и танками, а в конце уйти на спасательном транспорте. Также такой пример есть на карте tutorial_standards.
Компоненты финала
Следующие вещи необходимы для нормальной работы финала (спасения):
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
внутри.
Создание trigger_finale
Нажимаем Entity Tool и выбираем "trigger_finale" из панели Objects в выпадающем списке.
Ставим его куда желаем нужным, напиример на стол и открываем свойства.
Нажимаем кнопку World model и кликаем на кнопку Browse справа.
Вводим "radio" в поле Filter.
Выбираем модель радио "props\terror\hamradio.mdl" и нажимаем OK.
Меняем Name на "radio".
Меняем Disable Shadows на "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.
Сохраняем и компилируем карту клавишей 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.

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
- L4D Level Design/Разрушаемые стены|:L4D Level Design/Разрушаемые стены]]