Making a headcrab xen teleport: Difference between revisions
Jump to navigation
Jump to search
Warning:Be careful of the Max Live NPCs and Frequency parameters, if you don't know what you are doing then leave it as the above values
No edit summary |
Thunder4ik (talk | contribs) m (Unicodifying, replaced: [[Image: → [[File: (3)) |
||
Line 9: | Line 9: | ||
<br> | <br> | ||
Next tie it to a <code>trigger_once</code> by pressing control + T | Next tie it to a <code>trigger_once</code> by pressing control + T | ||
[[ | [[File:Bms teleport trigger.png|thumb|right|600px|The trigger brush tied to a trigger_once]] | ||
=== The trigger logic === | === The trigger logic === | ||
Line 15: | Line 15: | ||
Now in the outputs add the following: | Now in the outputs add the following: | ||
{| {{OutputsTable}} | {| {{OutputsTable}} | ||
| [[ | | [[File:Io11.png]] || OnStartTouch || xen_spawner || Spawn || || 0.00 || No | ||
|- | |- | ||
|} | |} | ||
Line 45: | Line 45: | ||
Your final setup should look like this; | Your final setup should look like this; | ||
[[ | [[File:Bms teleport final.png|thumb|center|600px|The final result:]] | ||
[[Category:Tutorials]][[Category:Black Mesa level design]] | [[Category:Tutorials]][[Category:Black Mesa level design]] |
Revision as of 01:51, 7 January 2024
This guide will teach you how to make an npc (in this case a headcrab) teleport in-front of the player as seen throughout the campaign
Skill Level
This tutorial expects you to have this amount of knowledge within the topic to follow along smoothly. | |||||
---|---|---|---|---|---|
Novice | Familiar | Competent | Proficient | Expert |
Trigger Construction
The trigger
Start by creating a brush that uses the tools/toolstrigger texture
Next tie it to a trigger_once
by pressing control + T
The trigger logic
Now in the outputs add the following:
My Output | Target Entity | Target Input | Parameter | Delay | Only Once | |
---|---|---|---|---|---|---|
![]() |
OnStartTouch | xen_spawner | Spawn | 0.00 | No |
The xen portal
Place a env_xen_portal
with the following properties:
Property Name | Value |
---|---|
Name | xen_spawner |
Frequency | -1 |
Max Live NPCs | 1 |
Class name of spawned NPC | npc_headcrab |
You may edit the Class name of spawned NPC
parameter to change the desired npc, note that they are usually xen creatures.
Note: you may play around with the Frequency
, Max Live NPCs
parameters!

Final Setup
Your final setup should look like this;