Ads keep us online. Without them, we wouldn't exist. We don't have paywalls or sell mods - we never will. But every month we have large bills and running ads is our only way to cover them. Please consider unblocking us. Thank you from GameBanana <3

NPC Assaults - A Tutorial for Half-Life 2

Welcome to another one of my mapping tutorials. In this tutorial, I will be teaching you how to set up a very simple NPC assault using Combine Soldiers. This can be done with any kind of NPC, including Rebels. Lets Get Started!
  1. Start off by opening your map, or just create a quick battle scene from scratch. My map will consist of 2 rooms, 1 for the player, and the other for the combine.
  2. The Combine will spawn in the second room, and then when triggered, they will assault the player in the other room.
  3. Place some info_node entities around your map, this is needed so that the NPCs know where to go.
  4. Now, place an npc_combine_s entity in your map, and open up it's properties menu.
  5. Now, change the following Properties for the npc_combine_s
    • Name: ass_comb_01
    • Squad Name: ass_squad_01
    • Tactical Variant: Pressure the Enemy
  6. Now, duplicate the npc_combine_s entity 3 times and place it in the other areas where you want them to spawn.
  7. Now, using the Entity tool (Shift+E), place 4 assault_assaultpoint entities whereever you want in your map. Each entity determines where the Combine will go when the assault is triggered.
  8. Now, give each of the Entities a name like ass_point_01 ass_point_02 and so on.
  9. Now, using the Entity tool (Shift+E), create the same amount of assault_rallypoint entities, and place them close to each of the npc entities.
  10. Now, open up the properties menu for each, and give them the same name ass_rally_01
  11. Now you need to link each rally point with each assault point. So go ahead and set the Assault Point option to one of the assault_assaultpoint entities you placed earlier.
  12. Once your done, there should be a line connecting each Rally Point with the Assigned Assault point. Now you must create a trigger so that the assault can begin.
  13. Go ahead and create a brush covered in the tools/toolstrigger texture and place it where you want the trigger to be. I'm going to place mine right in front of the player spawn point
  14. Now, select the brush and Tie it to a trigger_once entity (Ctrl+T) and add an Output with the following settings:
    • My Output Named: OnTrigger
    • Targets Entities Named: ass_comb_01
    • Via This Input: Assault
    • With a Parameter Override of: ass_rally_01
    You're done! Place in some weapons and ammo, and go test out your new NPC Assault!
Thank you for reading my tutorial, if you have any questions, please do not hesitate to PM me or leave a comment.

Half Life Storm Half Life Storm Studio Example Map -SGT_kick_ur_ass
1-10 of 26
1
Pages
Go to page:
  • Phant0m avatar
    Phant0m Joined 15y ago
    Offline
    2,256 points Ranked 21,469th
    12y
    Fix the screenshots please.
    • Agree x 1
    Gaming should not be taken too avatar
    Mantra
    Gaming should not be taken too
    URL to post:
  • Estevoo avatar
    Estevoo Joined 14y ago
    Offline
    6,583 points Ranked 1,237th
    13 medals 1 legendary 1 rare
    • 10 years a member Medal icon
    • 6 years a member Medal icon
    • Reached 1,000 Points Medal icon
    • Reached 2,500 Points Medal icon
    • 1 post awarded Exemplary Feedback Medal icon
    • One month a member Medal icon
    12y
    Do you have map sample?
    Walker bait
    URL to post:
  • Bov avatar
    Bov Joined 16y ago
    Offline
    827 points Ranked 44,894th
    3 medals 1 rare
    • Submitted 20 Maps Medal icon
    • Submitted 5 Maps Medal icon
    • Submitted 10 WiPs Medal icon
    12y
    I noticed that fastzobmies didnt had the output assault. Does it work anyway if I write assault there or do I have to something else?
    Noob
    URL to post:
  • Jallz avatar
    Jallz Joined 13y ago
    Offline
    13y
    Posted by Craminator Very cool, I just tried linking it to a npc_maker, to create two waves of combine. This is intense. Thanks for the tut.
    How u make the npc_maker go there?
    Bananite
    URL to post:
  • panzer1b avatar
    panzer1b Joined 13y ago
    Offline
    1,999 points Ranked 21,989th
    13y
    It don't seem to work for antlions, wanted to make huge forces of like 40 charge to a base from spawn, but no work
    End of Line Man...
    URL to post:
  • Craminator avatar
    Craminator Joined 14y ago
    Offline
    3,212 points Ranked 3,421st
    9 medals 1 rare
    • 6 years a member Medal icon
    • Reached 1,000 Points Medal icon
    • Reached 2,500 Points Medal icon
    • One month a member Medal icon
    • 6 months a member Medal icon
    • 1 year a member Medal icon
    13y
    Very cool, I just tried linking it to a npc_maker, to create two waves of combine. This is intense. Thanks for the tut.
    Map It Up! avatar
    Mantra
    Map It Up!
    URL to post:
  • Kyrikus avatar
    Kyrikus Joined 13y ago
    Offline
    6,657 points Ranked 1,217th
    13y
    Very nice. since the ep2 update, info_nodes make hunters very OP. watch how many you put in. could be impossibly hard to win that fight!
     avatar
    URL to post:
  • Celt avatar
    Celt Joined 15y ago
    Offline
    1,743 points Ranked 22,616th
    14y
    Pros: very well written
    1Lt avatar
    Mantra
    1Lt
    URL to post:
  • killer89 avatar
    killer89 Joined 16y ago
    Offline
    3,798 points Ranked 2,667th
    11 medals 1 legendary 1 rare
    • 10 years a member Medal icon
    • 6 years a member Medal icon
    • Reached 1,000 Points Medal icon
    • Reached 2,500 Points Medal icon
    • One month a member Medal icon
    • 6 months a member Medal icon
    14y
    I filled my map with info_nodes; fast zombie became so smart, that i couldnt hide from it. creepy shit, if you ask me.
     avatar
    URL to post:
  • 2tow avatar
    2tow Joined 15y ago
    Offline
    14y
    This tutorial was all that i needed! Now i know much more about single player mapping. 10/10! G O D L I K E!!
    The miracle of life the nightm avatar
    Mantra
    The miracle of life the nightm
    URL to post: