MODSonline Subscriptions
View in iTunes
Please help us to raise in the ranks of podcasting and subscribe to our itunes feed using the link above.
The next MODSonair show will air LIVE on:
03/21/2010 12:03 EDT

Time remaining:
We Dontated to PixelEquity
"Mod or modification is a term generally applied to PC games, especially first-person shooters, RPGs and real-time strategy games." 2
 
Site News   |   Aggregated News   |   Forums   |   Tutorials   |   Downloads   |   Projects   |   Weblinks
Latest Forum Threads 
CoDUO Mapping.. Posts: (4) Views: (37) by GomerPyle
CoD2 MP Mapping.. Posts: (6) Views: (50) by PanZerReBorN
CoD4 Map + Mod R.. Posts: (30) Views: (205) by sam_fisher3000
CoD4 MP Mapping.. Posts: (24) Views: (468) by DeekCiti
CoD4 Scripting.. Posts: (3) Views: (16) by Samuel033
General.. Posts: (1) Views: (16) by Morphisnb
CoD4 SP Mapping.. Posts: (8) Views: (106) by voidsource
CoD2 MP Mapping.. Posts: (8) Views: (54) by Infern4ll
CoDUO Mapping.. Posts: (4) Views: (30) by morgawr
CoD4 Map + Mod R.. Posts: (2) Views: (46) by Hajas
Back to Home Page
MODSCON 2010 L4D2 Contest
Dr. Nano Free for the iPhone and iPod Touch
Register/Login to Add a Tutorial
Tutorials
HL2
ratings:
Awful Rating
Poor Rating
Average Rating
Good Rating
Excellent Rating
Creating a Spawn for NPC's, Create a Teleport and make a Beach Buggy (Updated)
Versions: You must be logged in to view history.

UPDATED!!!!!!!!!!!!!
In this tutorial you will be learning how to create a "spawn" for NPCs and how to make them go somewhere, how to create a teleport and how to make the beach buggy.

In this tutorial you will be learning how to create a "spawn" for NPCs and how to make them go somewhere, how to create a teleport and how to make the beach buggy.
 
First create your a room. It should have a small room which the combines, that is going to attack Gordon, spawns, a big room, where Gordon spawns and a
 
hallway that connects them, also create some weapons and an info_player_spawn in the big room. Then create your second room. Make a room like an "L". In
 
the small room make two NPC_maker enteties and place them so the player cant see them when he spawn. Modify the following Keyvalues: Name - npc_maker_1.
 
Frequency - 3 (That wont make it to hard or to easy). Class name of spawned NPC - npc_metropolice. Weapons - Pistol. Leave the rest keyvalues as they are.
 
 Click Aply and then deselect them. Now its time to create the things that makes the combines attack Gordon. Make an assault_rallypoint and place it near
 
the npc_makers and modify the following keyvalues: Name: rally_1 Assault Point - assault_1. Priority - 10 (The rallypoint which has the highest priority gets selected
 
first.). Now make the assault_assaultpoint. Name it assault_1. If you want the combines to attack Gordon as fast as they see him then set Clear on contact
 
with enemies to Yes, otherwise they will go to the assaultpoint and then attack Gordon. BUT, open the rallypoints entity again and go to Output. Click add and on My Output named type OnSpawnNPC, on Target Entity Named type rally_1 and on Via This Input type AddOutPut.
 
Now to the teleport! Create a brush with the triggertools texture. Place it somewhere where you will remember it when you play the map. Then Tie it to an
 
entity (Press Ctrl+T). Set the Remote_destionation keyvalue to teleport_1. Then make an info_teleport_destination and name it teleport_1. Now for the last
 
 thing: The beach buggy. Its very simple. Create a prop_vehicle_jeep and on the worldmodel keyvalue type models/buggy.mdl! Dont forget to make lights and
 
nodes. Nodes makes NPCs able to walk where it is placed, if there isn't any nodes then all NPCs wont walk/run anywhere. Now save it into your
 
half-life 2\hl2\maps folder and compile it. Test the map!!!
Created by TTTC