I noticed that... When I was *only* a player (and not a coder), I noticed
that
I got some 'Unable to open file misc/talk.wav' at the console. I wondered
what
was the cause of this message but I didn't find any answer...

When I *became* coder, I commented out the 'PlaySound("misc/talk.wav");'
line not
to have this message at the console.

I think this line is there to play a sound (like a chime) to indicate that a
new
message has been received (a chat message for example). A similar sound is
played in Wolfenstein when you get a new chat message... It indicates you
that
you _have_ to look at your message list...

Only my thought :)

      - Cortex : mapper & coder www.hlalbator.fr.st


----- Original Message -----
From: botman
To: [EMAIL PROTECTED]
Sent: Monday, March 11, 2002 5:22 PM
Subject: [hlcoders] HUD saytext.cpp question


So I was working on getting the client.dll to compile, link, and run using
the
Borland or MinGW C++ compilers and noticed this in the
CHudSayText::SayTextPrint() function of the saytext.cpp file...

   PlaySound( "misc/talk.wav", 1 );

...I don't see a "misc" directory in the "sound" directory of the
valve\pak0.pak file.  Also, since the valve directory doesn't have a "sound"
directory, that file doesn't exist on my machine.

The cstrike folder does contain a sound\misc\talk.wav file that just
contains
the mike off click.  But why would you want to play a mike off click when
someone sends a TEXT message???

P.S. I like the name of this function...

EnsureTextFitsInOneLineAndWrapIfHaveTo( i );

...it's pretty easy to tell what it does without even looking at the code.
:)

Jeffrey "botman" Broome


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to