@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.
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 !!!
@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.
@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.
@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...
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.
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)
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.
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.
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.
Nice, thank you.
JawaProductions 6 months ago
@420GamingElite No idea, sorry.
Silwerfish 7 months ago
@NoSRESPAWN Ok, you're welcome!
Silwerfish 7 months ago
@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.
Silwerfish 7 months ago
@NoSRESPAWN Well I cant explain it any better than that really.
Silwerfish 7 months ago
@NoSRESPAWN I've made a tutorial on this, it's called "NPC Navigation".
Silwerfish 7 months ago
How long have you worked with the Hammer ?
rdovydas007 9 months ago
@rdovydas007 5 years or something like that.
Silwerfish 9 months ago
Comment removed
816nnm 2 months ago in playlist More videos from Silwerfish
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 9 months ago
@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
Silwerfish 9 months ago
hey, does it matter if I use: point_template or npc_template_maker, because I use always point_template
SuperCrazyKillah 1 year ago
@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 1 year ago
@Silwerfish ok, thanks for the tip! :)
SuperCrazyKillah 1 year ago
How do i even spawn an NPC in hammer? im planning to make him function as a shop, sounds weird, but yeah..
denniswarcrafter1 1 year ago
@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.
Silwerfish 1 year ago
Best source sdk tutorials in the world. Easy and simple, you should get paid for this.
Soulslayerzx 1 year ago
@Soulslayerzx I'm glad you like my tutorials! :)
Silwerfish 1 year ago
How do you make multiple combines friendly at once? instead of making separate ai_relationships?
1point61803 1 year ago
@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_".).
Silwerfish 1 year ago
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 1 year ago
@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 1 year ago
@Silwerfish k , thx!
deaddiet 1 year ago
How do I make an npc follow the player?
Jacc0s 1 year ago
@Jacc0s use the ai_goal_follow entity. To learn more about the entity go to developer,valvesoftware,com and search for it.
Silwerfish 1 year ago
@Silwerfish Yeah I already figured it out :) Thanks anyway
Jacc0s 1 year ago
why trigger once, is there a twice?
wolfservant5 1 year ago
@wolfservant5 There is a trigger_multiple.
Silwerfish 1 year ago
so now that he likes me, why wont he follow me? good tut btw
turtleshells118 1 year ago
@turtleshells118 They're not programmed to do that quite simply.
Thanks!
Silwerfish 1 year ago
How can i make an npc say something and have his mouth move with it. because i know how to use ambient_generic
Strikerklm96 1 year ago
@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.
Silwerfish 1 year ago
omg thank u man, good tutorials, clear loud voice easy to understand. 5/5
Milkcartinor 1 year ago
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 1 year ago
@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.
Silwerfish 1 year ago
will this work for the rebels... or how about alyx, can i make her shoot me?
o0ZporK0o 1 year ago
@o0ZporK0o Yeah that works.
Silwerfish 1 year ago
Awsome TUT. Thanks man. DO NOT DELETE.
superdvdman 1 year ago
@superdvdman Thanks! I won't! :)
Silwerfish 1 year ago
thanks this helped
you is awsome i like your tutorials!!
warkey13 1 year ago
@warkey13 Thank you man! :)
Silwerfish 1 year ago
how to change the NPC Relationship for the NPC_maker???
tonihomi 2 years ago
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)
Silwerfish 2 years ago
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?
RickRay9 2 years ago
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!
Silwerfish 2 years ago
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,.
RickRay9 2 years ago
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.
Silwerfish 2 years ago
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 ?
paradigmproject1 2 years ago
Thanks!
There is, but that's coding (I think it's C++) and not something I am familiar with.
Silwerfish 2 years ago
What about multiple npc's?
Liamwitz 2 years ago
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.
Silwerfish 2 years ago
I just get "404 - File or directory not found." (I did remove the two +).
Silwerfish 2 years ago
I'm sorry, I don't understand what you mean! :/
Silwerfish 2 years ago
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.
Silwerfish 2 years ago
Nice tutorial :D
rooftopv3 2 years ago
Thank you!
Silwerfish 2 years ago
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.
gsp1995 2 years ago
Thank you for the feedback! I have added an annotation showing there's the Reciprocal option too.
Silwerfish 2 years ago
Bra tutorial Silverfisk ;) gillar att du gör lite mer avancerade tutorials nu.
charginmahlob 2 years ago
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
Silwerfish 2 years ago
thanks so much for this tutorial!
Nighthawk94 2 years ago
No problem, I'm glad you enjoyed it!
Silwerfish 2 years ago