Mapping with Antlions
Abstract Mapping series Discuss your thoughts - Help us develop the articles or ideas you want |
---|
Ammunition | List of HL2 Animals and Creatures | Mapping with Antlions | Beams and Lasers | Cables and Ropes | Moving Clouds | Color Theory in Level Design | Combat | Combine | Compression (Source 1) | Doors | Dust, Fog, & Smoke | Elevators | Level Transitions | Environmental Lighting, Sun, Weather, & Outdoors | Explosions | Fire | Half-Life 2 Foliage | Glass & Windows | Headcrab | Health | Ladders | Lighting | Optimization (level design) | Physics | Retinal scanners | Sound and Music | Special effects | Terrain | Trains | Turrets | Water | Weapons | Zombie |
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
- npc_antlion - includes the Antlion Worker
- npc_antlionguard - a much larger and more dangerous form of antlion
- npc_antliongrub - antlion larvae (Episode 1)
- npc_antlion_grub - the Orange Box version of the grub
- npc_antlion_template_maker - a specialized spawner for dealing with antlions
- weapon_bugbait - a weapon the player can use to control antlions
- prop_thumper - the Combine mechanism that thumps the ground to ward off antlions
- point_bugbait - an entity that detects when the player has used the Bugbait
- point_antlion_repellant - an entity that prevents antlions from jumping into its radius
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, and configure the npc_antlion_template_maker normally. The maker will automatically cause the antlion to unburrow.
As soon as the burrowed antlion spawns it will unburrow, instead of appearing from nowhere.