Go Back   Steam Users' Forums > Steam Tool Discussions > Source Level Design

Thread Tools Display Modes
Old 05-12-2012, 10:29 AM   #1
Join Date: Feb 2012
Reputation: 131
Posts: 171
How do you make a citizen talk?

Hi, I was wondering how exactly you would make a citizen say something. I know how you would browse for normal dialogue with the ambient_generic sound browser, but I dont know how to make a certain npc say something, and have their mouth match up with the speech.Thanks
forums101 is offline  
Reply With Quote
Old 05-23-2012, 10:50 AM   #2
Join Date: Jan 2011
Reputation: 18
Posts: 85
When you want to make your own speech, that is a bit complicated. However, when you want to use an existing speech, use the logic_choreographed_scene entity.

Give it a name.
Go to Scenefile and click browse to see all existing dialogues.
Then you set a target. Most scenes already set a target in the scene file.
But some also don't have them set, so enter in Target 1 your actors name.
Some scenes also have multiple actors in 1 scene.
Now to run the dialogue, just use the input Start.
When it doesn't work, open the console in-game and see for an error saying that <NAME> is missing as an actor. Then just rename your actor to that name and you can clear the Target 1 then.

WOW that was long. Oh well.
If you didn't understand all that, check out the page on the VDC. There is also a prefab called "npc_gman_overwatch" which uses this entity. There you can see some stuff. Also you can look at some of the default maps.

(I know that could be alot smaller but just to be safe!)
DoubleThinking is offline   Reply With Quote

Go Back   Steam Users' Forums > Steam Tool Discussions > Source Level Design

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

All times are GMT -7. The time now is 01:30 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Site Content Copyright Valve Corporation 1998-2015, All Rights Reserved.