Raised This Month: $51 Target: $400
 12% 

About FM_Emitsound. Need Info.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
SkumTomteN
Veteran Member
Join Date: Oct 2013
Location: Asgard
Old 03-27-2015 , 12:28   About FM_Emitsound. Need Info.
Reply With Quote #1

Is there any information about Channels, Flags, Samples in FM_Emitsound?.

Want to know more about the function.

Thank you.
__________________
Contact: Steam
Videos: Youtube
SkumTomteN is offline
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 03-28-2015 , 02:13   Re: About FM_Emitsound. Need Info.
Reply With Quote #2

Well it really depends on what exactly you want to know. The constants can be found in the SDK common/const.h.
__________________
Quote:
vBulletin Tip #42: Not much would be accomplished by merging this item with itself.
hornet is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 03-28-2015 , 03:50   Re: About FM_Emitsound. Need Info.
Reply With Quote #3

Search.
__________________
fysiks is offline
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Old 03-28-2015 , 08:43   Re: About FM_Emitsound. Need Info.
Reply With Quote #4

Quote:
Originally Posted by hornet View Post
Well it really depends on what exactly you want to know. The constants can be found in the SDK common/const.h.
Well, only channels really have some kind of use. It doesn't really explains anything. Tells you what you can use but not really what they are used for.

Code:
// channels
#define CHAN_AUTO			0
#define CHAN_WEAPON			1
#define	CHAN_VOICE			2
#define CHAN_ITEM			3
#define	CHAN_BODY			4
#define CHAN_STREAM			5			// allocate stream channel from the static or dynamic area
#define CHAN_STATIC			6			// allocate channel from the static area 
#define CHAN_NETWORKVOICE_BASE	7		// voice data coming across the network
#define CHAN_NETWORKVOICE_END	500		// network voice data reserves slots (CHAN_NETWORKVOICE_BASE through CHAN_NETWORKVOICE_END).
#define CHAN_BOT			501			// channel used for bot chatter.

// attenuation values
#define ATTN_NONE		0
#define	ATTN_NORM		(float)0.8
#define ATTN_IDLE		(float)2
#define ATTN_STATIC		(float)1.25 

// pitch values
#define	PITCH_NORM		100			// non-pitch shifted
#define PITCH_LOW		95			// other values are possible - 0-255, where 255 is very high
#define PITCH_HIGH		120

// volume values
#define VOL_NORM		1.0
__________________
Jhob94 is offline
SkumTomteN
Veteran Member
Join Date: Oct 2013
Location: Asgard
Old 03-29-2015 , 20:47   Re: About FM_Emitsound. Need Info.
Reply With Quote #5

Quote:
Originally Posted by hornet View Post
Well it really depends on what exactly you want to know. The constants can be found in the SDK common/const.h.
To Hornet:

Thanks. just wanted some more info about emitsound that i couldnt find on google.

To Fysiks:

I did search but i didnt find anything.

To Jhob:

Thanks!
__________________
Contact: Steam
Videos: Youtube
SkumTomteN 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 14:49.


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