Raised This Month: $ Target: $400
 0% 

env_sound "room_type" set room sound type.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
.Dare Devil.
Veteran Member
Join Date: Sep 2010
Old 04-26-2013 , 11:50   env_sound "room_type" set room sound type.
Reply With Quote #1

Hello, I found cvars in console
"room_type"
"waterroom_type"
( I dont know that is they in client side or server side )

then it reminded me env_sound
Is there possible to set room sound type for player without env_sound entity and room_type ( because room_type seems to be in client side and i can not test it somehow... )
Thanks!
.Dare Devil. is offline
Backstabnoob
BANNED
Join Date: Feb 2009
Location: Iwotadai Dorm
Old 04-26-2013 , 12:39   Re: env_sound "room_type" set room sound type.
Reply With Quote #2

Just saying, you could use your other thread to post this. These problems seem the same to me.
Backstabnoob is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 04-26-2013 , 14:13   Re: env_sound "room_type" set room sound type.
Reply With Quote #3

About waterroom_type, sounds like it is client side and that it is the way sound is proceeded clientside when you are under water, or something like that.

About room_type, if you would have looked at env_sound code on HLSDK, you would have found that in function void CEnvSound :: Think( void ), message SVC_ROOMTYPE is sent.
Then room_type is cache in player pdata m_flSndRoomtype (const m_flSndRoomtype = 249; // last roomtype set by sound entity).
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
.Dare Devil.
Veteran Member
Join Date: Sep 2010
Old 04-26-2013 , 14:53   Re: env_sound "room_type" set room sound type.
Reply With Quote #4

Thanks CorrorMcLeod!
.Dare Devil. is offline
Reply



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

Forum Jump


All times are GMT -4. The time now is 10:48.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode