Ru/Mapping with Antlions

From Valve Developer Community
< Ru
Revision as of 23:53, 21 March 2016 by Alvagor (talk | contribs) (Created page with "{{otherlang2 |title=Создание карт с Муравьиными львами }} {{Abstract Mapping:ru}} right|250px Antlion behavior includes h...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:Otherlang2

Серия Воссоздание окружающей обстановки Выскажите свои мысли — Помогите нам воплотить больше идей
Warning icon.png
This article has been marked as a candidate for speedy deletion.
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.

Снаряжение(en) | Животные и существа(en) | Муравьиные львы(en) | Лучи и лазеры(en) | Кабели и верёвки(en) | Движущиеся облака(en) | Теория цвета(en) | Битвы(en) | Комбайны | Сжатие ресурсов | Двери(en) | Пыль, туман и дым(en) | Лифты(en) | Переключение карт | Внешнее освещение, солнце, погода и окружение(en) | Взрывы(en) | Огонь | Растительность(en) | Стекло и окна | Хэдкраб | Жизнеспособность | Лестницы | Освещение(en) | Оптимизация(en) | Физические объекты(en) | Сканеры сетчатки | Звук и музыка(en) | Спецэффекты | Ландшафт | Поезда(en) | Турели | Вода | Оружие | Зомби(en)

Antlion.jpg

Antlion behavior includes how they act, how to make them unburrow when walking on the sand, how to make them fly and how to make them follow a precise route. Antlions basically can't see; they hear their enemies which is why they are sometimes complicated to handle. In most cases, they just run to and attack the player, but you can make them do precise things too.

Entities


  • weapon_bugbait - a weapon the player can use to control antlions
  • prop_thumper - the Combine mechanism that thumps the ground to ward off antlions


npc_template_maker

If you want to create an antlion that spawns by unburrowing, a simple npc_maker will not suffice because it does not have all the options of the npc_antlion (start burrowed, alert radius, path corners, squad names and hint groups). Therefore we must use npc_antlion_template_maker.

To make an antlion that unburrows on spawn, check the Start Burrowed flag on the antlion, configure the npc_template_maker normally with the antlion in the template and then add the following output:

OnSpawnNpc, (your antlion), Unburrow

As soon as the burrowed antlion spawns it will unburrow, instead of appearing from nowhere.

See also