Powered by Max Banner Ads 

NPC Assaults

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
  15. 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.

Example Map

-SGT_kick_ur_ass

  • Share/Bookmark