Added: 2 years ago
From: Silwerfish
Views: 4,877
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (70)

Sign In or Sign Up now to post a comment!
  • Nice, thank you.

  • @420GamingElite No idea, sorry.

  • @NoSRESPAWN Ok, you're welcome!

  • @NoSRESPAWN Nodes are what the NPCs use to navigate the level. The nodes have connections between them and that information is given to the NPCs so they can find their way from one place to another.

  • @NoSRESPAWN Well I cant explain it any better than that really.

  • @NoSRESPAWN I've made a tutorial on this, it's called "NPC Navigation".

  • How long have you worked with the Hammer ?

  • @rdovydas007 5 years or something like that.

  • Comment removed

  • hi, i really need help! could you put your name as the target so they wont attack you(and only you) is there a way to do that? (to make them just like you) cuz im making this for a multiplayer server and i want them to ignore me. BTW Awesome Tutorials!!!! :) they help me alot !!!

  • @MyFriendsCallMeTwig Yes, the player is known as "!player" without the quotes. Don't know how it works in MP though. Glad you like the tutorials! :D

  • hey, does it matter if I use: point_template or npc_template_maker, because I use always point_template

  • @SuperCrazyKillah I think point_template is a bit more demanding since it can be used on any entity or group of entities (probably not going to affect you unless you use a load of entities). If you want to make an NPC I suggest you stick to npc_template_maker since that's what it's for.

  • @Silwerfish ok, thanks for the tip! :)

  • How do i even spawn an NPC in hammer? im planning to make him function as a shop, sounds weird, but yeah..

  • @denniswarcrafter1 Just place an entity called npc_citizen, npc_zombie, npc_metropolice, npc_alyx, npc_combine_s, or whichever NPC you want in there and it will appear when you start the level.

  • Best source sdk tutorials in the world. Easy and simple, you should get paid for this.

  • @Soulslayerzx I'm glad you like my tutorials! :)

  • How do you make multiple combines friendly at once? instead of making separate ai_relationships?

  • @1point61803 You set the class name of the NPC instead of the actual name of it. A class name is for example npc_combine_s or npc_metropolice.

    If you don't want ALL NPCs of a certain type to be friendly, you can give the NPCs the same name or use wildcards (so one is named "combine_01", the other is named "combine_02". When you select what NPCs the ai_relationship should affect, you can just put in "combine_*" and it will affect all names that start with "combine_".).

  • if a npc run around it onyl watches 1 point of me , like runnign backwards, running left i want him to walk forward and if he turn he also turns , and how do u let npc walk? mine always runs...

  • @deaddiet To make an NPC walk you can use a scripted_sequence entity and set the NPC to walk to the destination in the properties of that entity.

    To learn a bit more about scripted_sequence entities, see my tutorial on NPC animations and/or search for it on developer,valvesoftware,com.

  • @Silwerfish k , thx!

  • How do I make an npc follow the player?

  • @Jacc0s use the ai_goal_follow entity. To learn more about the entity go to developer,valvesoftware,com and search for it.

  • @Silwerfish Yeah I already figured it out :) Thanks anyway

  • why trigger once, is there a twice?

  • @wolfservant5 There is a trigger_multiple.

  • so now that he likes me, why wont he follow me? good tut btw

  • @turtleshells118 They're not programmed to do that quite simply.

    Thanks!

  • How can i make an npc say something and have his mouth move with it. because i know how to use ambient_generic

  • @Strikerklm96 To do that you have to use Face Poser, my next tutorial will be on this so I'll probably have something for you in a week or so.

  • omg thank u man, good tutorials, clear loud voice easy to understand. 5/5

  • that easy? oh man the only thing I didn't know was !player thing...

    BTW if you have lots of enemyes you'll have to call them all the same or just use it to one and all combines will like you? and if you make him like a rebel for example, will he like you or attack you but not the rebel?

  • @idonthatethissite You can make the relationships as complicated as you want, you can tell a specific combine to like a specific rebel for example.

    You'll have to change the relationship for every NPC you want to change the relationship. So if you want several combines to like the player, it won't be enough to just make one of them like the player.

  • will this work for the rebels... or how about alyx, can i make her shoot me?

  • @o0ZporK0o Yeah that works.

  • Awsome TUT. Thanks man. DO NOT DELETE.

  • @superdvdman Thanks! I won't! :)

  • thanks this helped

    you is awsome i like your tutorials!!

  • @warkey13 Thank you man! :)

  • how to change the NPC Relationship for the NPC_maker???

  • You should be able to use the same method that I use in this tutorial. I'm not 100% sure, but I'm almost certain that relationship changes apply to NPCs that haven't spawned when the relationship was applied.

    (You can specify what name you want the spawned NPC to have in the npc_maker)

  • Oh, thanks! I thought you only showed how he attacks you.

    Thanks, is there any video about how to make them navigate and like.. break a door?

  • Are you serious?

    Check the other tutorials I made man, I have tutorials on NPC navigation and NPC animation (how to make a combine kick in a door).

    Good luck!

  • Ok, thanks, but how to make combine get ready near a door to breach the door with dynamite or so. Like Scruffy's Combine Door Breach V2 look for it,.

  • To make NPC do any kind of animation you use scripted_sequence entities, so play around with them a bit and see what you can come up with.

  • Nice Vid once again.

    Do you think there's a way to Modify the behaviour (tactics, intelligence such as dificulty levels) for Bots in CSS or for MEtropilices in hL2 ?

  • Thanks!

    There is, but that's coding (I think it's C++) and not something I am familiar with.

  • What about multiple npc's?

  • You can use the same name for several NPCs or you can use wildcards (so if you have NPCs called "dude1", "dude2" and "dude3", set the name of affected NPC to "dude*" and all your dudes will be affected.

    Hope this helps.

  • I just get "404 - File or directory not found." (I did remove the two +).

  • I'm sorry, I don't understand what you mean! :/

  • You just click the name of the value in the properties dialog, and you should be presented with a drop down box or a text field or something on the right where you can change its value.

    I hope this was what you meant.

  • Nice tutorial :D

  • Thank you!

  • You know what you could've also made in this tutorial? Making allies becoming your enemies, but you can't kill them, so just change the Reciprocal property to Yes and now you can kill them. But still, great tutorial for newbies. Keep it up.

  • Thank you for the feedback! I have added an annotation showing there's the Reciprocal option too.

  • Bra tutorial Silverfisk ;) gillar att du gör lite mer avancerade tutorials nu.

  • Thank you! :D

    The original idea was to create more advaced tutorials, but now I create about what's most requested instead.

    So if you've got any requests, you know what to do! ;D

  • thanks so much for this tutorial!

  • No problem, I'm glad you enjoyed it!

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more