making npcs talk!

making npcs talk!

Re: making npcs talk! Posted by seg on Sun Dec 19th 2004 at 7:45am
seg
5 posts
Posted 2004-12-19 7:45am
seg
member
5 posts 1 snarkmarks Registered: Dec 6th 2004
Alright, so I can play sounds in the sound browser, but when i try to
play them in the game, they do not work. for example, when I
place !npc_citizen.die in a scripted_sentence, it does not play it in
the game....

Being unable to do something so basic is really limiting my map making
capabilities. If I could just get my npc's to talk, I could pump
out a bunch of maps.

Also, I've gotten a wav file in the Sound folder of my mod(entitled
seth.hello), and I've gotten it to play in the sound in the sound
browser, but when I try to get it to play in the game, by using
!seth.hello as a scripted_sentence, it doesn't work!!

Somebody help me. My npcs will not speak! I spent a bunch
of hours trying to get this to work and I'm about to give up.
  • Seth
From sentence.txt:

"npc_citizen.die"

{

"channel" "CHAN_VOICE"

"volume" "VOL_NORM"

"pitch" "PITCH_NORM"

"soundlevel" "SNDLVL_NORM"

"rndwave"

{

"wave" "*vo/npc/$gender01/pain01.wav"

"wave" "*vo/npc/$gender01/pain02.wav"

"wave" "*vo/npc/$gender01/pain03.wav"

"wave" "*vo/npc/$gender01/pain04.wav"

"wave" "*vo/npc/$gender01/pain05.wav"

"wave" "*vo/npc/$gender01/pain06.wav"

"wave" "*vo/npc/$gender01/pain07.wav"

"wave" "*vo/npc/$gender01/pain08.wav"

"wave" "*vo/npc/$gender01/pain09.wav"

}

}
Re: making npcs talk! Posted by Crono on Sun Dec 19th 2004 at 8:03am
Crono
6628 posts
Posted 2004-12-19 8:03am
Crono
super admin
6628 posts 700 snarkmarks Registered: Dec 19th 2003 Location: Oregon, USA
http://www.hl2world.com/wiki/index.php/Category:Faceposer

Try giving that and some of its links a read.
Re: making npcs talk! Posted by seg on Sun Dec 19th 2004 at 3:15pm
seg
5 posts
Posted 2004-12-19 3:15pm
seg
member
5 posts 1 snarkmarks Registered: Dec 6th 2004
I'm talking about playing normal sounds, such as !npc_citizen.die, not
creating new ones. (although thats my intention after I get this
to work.. one step at a time)

This reminds me what my second question is:

Why don't I have faceposer on my computer?

I've gone to the bin file inside of sourcesdk and I can't find this exe file:

Steam/SteamApps/XXXusernameXXX/sourcesdk/bin/faceposer.exe

Theres hammer.exe and all of those rendering exes but no faceposer.

Do I need to reinstall my sdk all together?

Help!

[edit] Okay I just reinstalled the sdk, didn't take very long to do... But the faceposer is still not there!

I refuse to believe I'm the ONLY one having these kinds of problems.

[/edit]
  • seg
Re: making npcs talk! Posted by Guessmyname on Sun Dec 19th 2004 at 3:31pm
Guessmyname
342 posts
Posted 2004-12-19 3:31pm
342 posts 173 snarkmarks Registered: Dec 6th 2004
As far as we know, no-one has faceposer.

Wether it will be later released I don't know
Re: making npcs talk! Posted by seg on Sun Dec 19th 2004 at 3:34pm
seg
5 posts
Posted 2004-12-19 3:34pm
seg
member
5 posts 1 snarkmarks Registered: Dec 6th 2004
Okay, cool I feel better now.

However, I just want to reiterate my question:

How come I can't make my npcs speak using scripted_sentence?
There aren't a lot of tutorials on this extremely important function
(Even for hl1) but i've read all the tutorials that exist with no clues as to how to
get it to work properly.

Does anyone have a map I can look at that would help me figure it out?
  • Seg