Difference between revisions of "Half-Life: Alyx Workshop Tools/Level Design/Barnacle"
m (XBLAH moved page HLA SDK/Barnacle to Half-Life: Alyx Workshop Tools/Level Design/Barnacle) |
Deprecated (talk | contribs) (Added HLATools page template) |
||
Line 1: | Line 1: | ||
+ | {{HLATools page|leveldesign=1}} | ||
== Introduction == | == Introduction == | ||
Line 16: | Line 17: | ||
[[File:HLA_SDK_Barnacle_Img2.png]] | [[File:HLA_SDK_Barnacle_Img2.png]] | ||
− | |||
− | |||
− |
Revision as of 20:44, 27 May 2020
Introduction
This tutorial will teach you how to add a Barnacle to the game.
Setup
Create a test room. Insert a npc_barnacle entity and translate it's origin to the ceiling of the room. Switch the grid size to 1 unit and translate the entity in the Z axis 1 unit down. For some reason, the model origin is 1 unit below it's top face, so, if you don't translate it down, it will crop part of the model.
Finishing up
Compile and run your map, and you should have a working Barnacle, with sounds and AI.
You can download the example map here [[1]].