The Source engine is a 3D game engine developed by Valve Corporation. Its unique features include a large degree of modularity and flexibility, an artist-driven, shader-based renderer, accurate lip sync and facial expression technology, and a powerful, efficient and completely network-enabled physics system.

Post tutorial Report RSS HD Video Tutorial - NPC Relationships

Learn how to alter the minds of those puny NPCs to change what they think about other people or things.

Posted by on - Intermediate Mapping/Technical

Rundown
We start out with a Combine Soldier and a player start. We create an ai_relationship entity and use it to make the Combine like the player.

Then we add a trigger_once entity that reverts the disposition change when triggered so that the Combine will try to kill the player again.


Please give me a comment telling me what you think.
Also, don't forget to give me tutorial requests!

Comments
Chrissstrahl
Chrissstrahl

Interesting :),
perhaps you can do a example mini mission how to make a interactive mission map with simple basic objects(not just doors) for starters.

Reply Good karma Bad karma+2 votes
Silverfisk Author
Silverfisk

Thank you!
I want to keep my tutorials focused and then let the mapper decide what to do with it. So I'd rather make many focused tutorials than one tutorial on a loose subject. :)

Reply Good karma+5 votes
SysOp.
SysOp.

Exactly, excellent work!

Reply Good karma Bad karma+2 votes
Silverfisk Author
Silverfisk

Thank you!

Reply Good karma+1 vote
Radu_IceMan
Radu_IceMan

Keep them coming! These tutorials are really helpful.

Reply Good karma Bad karma+2 votes
Silverfisk Author
Silverfisk

Thank you!
I'm glad you like them!

Reply Good karma+1 vote
Minuit
Minuit

Cool tutorial. I've never really looked into mapping for Source too much, but it seems like it's got a LOT of customisation features. Kinda like Spirit of Half-Life for GoldSrc, but already built into the game.

Reply Good karma Bad karma+2 votes
Silverfisk Author
Silverfisk

Thank you!
Yeah you can really do a lot of things with Hammer, if you've got a Source game I suggest you check it out. It's pretty easy to use also.

Reply Good karma+1 vote
Minuit
Minuit

Yeah, I've been mapping for GoldSrc with Hammer for years now, but I've just never felt any inspiration for making anything on Source. Maybe I should try and make a miniproject sometime, to try and familiarise myself with all these new entities.

Reply Good karma Bad karma+2 votes
Silverfisk Author
Silverfisk

You might as well do that, GoldSrc is very old compared to the newer engines and it's always nice keeping yourself up to date. :)

Reply Good karma+1 vote
MrCake
MrCake

I have a question: Is it possible to make a NPC drive a car? (if you could do this in a mod the player wouldn't have to do everything in a mission)

Reply Good karma Bad karma+2 votes
Silverfisk Author
Silverfisk

I'm afraid you can't do that easily, no. :(
You can have AI controlled Combine APCs though.

Reply Good karma+1 vote
Croco15
Croco15

Great tutorial.

Reply Good karma Bad karma+2 votes
Silverfisk Author
Silverfisk

Thank you!

Reply Good karma+1 vote
cW#Ravenblood

awesome tuto
and this is the ony english tuto where i can understand :D
thx m8 and keep up more!

Reply Good karma Bad karma+2 votes
Silverfisk Author
Silverfisk

Thank you!
You bet I'll keep going! :)

Reply Good karma+1 vote
Relto
Relto

Another good tutorial, mate.

Reply Good karma Bad karma+2 votes
Silverfisk Author
Silverfisk

Thanks!
More are to come!

Reply Good karma+1 vote
wazanator
wazanator

Think you could make a tutorial on optimizing a map? To me that seems where most people have problems mapping at as they don't know what exactly to func_detail or where to put hint brushes

Reply Good karma Bad karma+2 votes
Silverfisk Author
Silverfisk

Good request, it's been added to the list!
Thank you!

Reply Good karma+1 vote
Holymac
Holymac

Hey can you add a tutorial on func_tank i think that actually shoots bullets or something like that oh and also make the cancop i know thats a scripted_sequence but its so funny. Good tutorial I watched NPC animations and NPC_navigation aswell as this. Keep up the good work.

Reply Good karma Bad karma+2 votes
Silverfisk Author
Silverfisk

I've added your requests to the list!
Thank you, I'm glad you like my tutorials!

Reply Good karma+1 vote
SneakySoft
SneakySoft

AWESOME TUTORIALS
-I would like to see an advanced lighting tutorial.

Reply Good karma Bad karma+2 votes
Silverfisk Author
Silverfisk

Thank you! :D
Great, thanks for the request, it's been added to the list!

Reply Good karma+1 vote
SneakySoft
SneakySoft

ohh, I have another one, how about a tutorial show how to let a character walk a path while looking at you, talking to you and having the right voice audio with that.

lik eall teh alyx moments ingame

Reply Good karma Bad karma+1 vote
Silverfisk Author
Silverfisk

That's choreography, I'll add it to the request list, thank you.

Reply Good karma+1 vote
ruanito
ruanito

So what if you make it reverse the relationship when it's programmed to fear or ignore? "fear --> ignore" and "ignore --> fear"?

Reply Good karma Bad karma+1 vote
Seaal
Seaal

If you make a vortigaunt bad, are you able to kill it?

Reply Good karma Bad karma+1 vote
Post a comment
Sign in or join with:

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.

Follow Report Profile
Platforms
Windows, VR, X360, XBOX, PS3
Company
Valve
Contact
Send Message
Licence
Commercial
Release date
Engine watch
Follow
Tutorial
Browse
Tutorials
Report
Report
Share
Related Engines
Source
Source Commercial
Related Groups
Level Design Group
Level Design Group Hobbies & Interests
The Human Pond
The Human Pond Hobbies & Interests
Valve
Valve Developer & Publisher