Making a headcrab xen teleport: Difference between revisions
Jump to navigation
Jump to search
Note: you may play around with the
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.
DavidSon713 (talk | contribs) No edit summary |
DavidSon713 (talk | contribs) (→Step 2) |
||
Line 38: | Line 38: | ||
|} | |} | ||
<br> | <br> | ||
You may edit the <code>Class name of spawned NPC </code> parameter to change the desired npc, | You may edit the <code>Class name of spawned NPC </code> parameter to change the desired npc, they are usually xen creatures. | ||
{{note | you may play around with the <code>Frequency</code>, <code>Max Live NPCs</code> parameters!}} | |||
{{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}} | {{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.}} | ||
{{clr}} | {{clr}} | ||
Revision as of 13:46, 21 February 2024

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.
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.
Skill Level
This tutorial expects you to have this amount of knowledge within the topic to follow along smoothly. | |||||
---|---|---|---|---|---|
Novice | Familiar | Competent | Proficient | Expert |
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.
Step 1
Step 1a
Start by creating a brush that uses the tools/toolstrigger texture
Next tie it to a trigger_once
by pressing control + T
Step 1b
Now in the outputs add the following:
My Output | Target Entity | Target Input | Parameter | Delay | Only Once | |
---|---|---|---|---|---|---|
![]() |
OnStartTouch | xen_spawner | Spawn | 0.00 | No |
Step 2
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, they are usually xen creatures.

Frequency
, Max Live NPCs
parameters!
Final Setup
Your final setup should look like this;