Mapping with Antlions: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 19: Line 19:


As soon as the burrowed antlion spawns he will unburrow, instead of appearing from nowhere.
As soon as the burrowed antlion spawns he will unburrow, instead of appearing from nowhere.
[[Category:Level Design]]

Revision as of 20:40, 22 February 2006

Template:Abstract mapping

Broom icon.png
This article or section needs to be cleaned up to conform to a higher standard of quality.
For help, see the VDC Editing Help and Wikipedia cleanup process. Also, remember to check for any notes left by the tagger at this article's talk page.

Antlions

This article explains a good amount of information about Antlions; Antlion behavior includes how they act, how to make them unburrow when walking on the sand, how to make them fly, or how to make them follow a precise route.

Antlions basically can't see; they hear their enemies which is why they are complicated to handle sometimes. In most cases, they just run to you and kill you, but you can make them do precise things too.

Mapping

npc_template_maker

In most cases, a simple npc_maker won't suffice because it's doesn't use the options of the antlion (start burrowed, his alert radius, his path corners, squad names, and hint groups also).

To make it work well, check the Start Burrowed flag on the antlion, configure the npc_template_maker normally with the antlion in the template then go in the outputs and do the following.

OnSpawnNpc Antlion Unburrow

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