Raised This Month: $ Target: $400
 0% 

Walk sound replace


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
DoviuX
Senior Member
Join Date: Jun 2009
Location: Lithuania
Old 10-09-2010 , 04:01   Walk sound replace
Reply With Quote #1

How can i emit sound for walking ?

Code like this , I only need to change it for walkin sounds.

PHP Code:
        else if (sample[1] == 'l' && sample[2] == 'a' && sample[3] == 'y' && ( (containi(sample"bhit") != -1) || (containi(sample"pain") != -1) || (containi(sample"shot") != -1)))
        {
            
emit_sound(idCHAN_VOICEg_hunter_pain[random(sizeof g_hunter_pain)], volumeattnflagpitch)
            return 
FMRES_SUPERCEDE
        

DoviuX is offline
Send a message via Skype™ to DoviuX
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 10-09-2010 , 04:02   Re: Walk sound replace
Reply With Quote #2

Not possible to change the walk sound.

You can give players silent footsteps and create your own walk sound system.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
DoviuX
Senior Member
Join Date: Jun 2009
Location: Lithuania
Old 10-09-2010 , 04:32   Re: Walk sound replace
Reply With Quote #3

Oh okay.
DoviuX is offline
Send a message via Skype™ to DoviuX
abdul-rehman
Veteran Member
Join Date: Jan 2010
Location: Khi, Pakistan
Old 10-09-2010 , 04:57   Re: Walk sound replace
Reply With Quote #4

Quote:
Originally Posted by Exolent[jNr] View Post
Not possible to change the walk sound.

You can give players silent footsteps and create your own walk sound system.
Wont FM_EmitSound be called for emittion of walking sound ??
just askin
__________________

My Plugins For ZP

Inactive due to College and Studies
abdul-rehman is offline
Send a message via Yahoo to abdul-rehman Send a message via Skype™ to abdul-rehman
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 10-09-2010 , 04:58   Re: Walk sound replace
Reply With Quote #5

Quote:
Originally Posted by abdul-rehman View Post
Wont FM_EmitSound be called for emittion of walking sound ??
just askin
No.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
DoviuX
Senior Member
Join Date: Jun 2009
Location: Lithuania
Old 10-09-2010 , 06:08   Re: Walk sound replace
Reply With Quote #6

I got one more question. How can I block "jointeam 1/2" console command ?
DoviuX is offline
Send a message via Skype™ to DoviuX
Xalus
Veteran Member
Join Date: Dec 2009
Location: Belgium
Old 10-09-2010 , 06:54   Re: Walk sound replace
Reply With Quote #7

Quote:
Originally Posted by Exolent[jNr] View Post
No.
What about:

  1. Set silent run on.
  2. See is hes running & set sound ?
__________________
Retired.
Xalus is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 10-09-2010 , 12:00   Re: Walk sound replace
Reply With Quote #8

Quote:
Originally Posted by DoviuX View Post
I got one more question. How can I block "jointeam 1/2" console command ?
Hook with register_clcmd() and return PLUGIN_HANDLED.

Quote:
Originally Posted by Xalus View Post
What about:

  1. Set silent run on.
  2. See is hes running & set sound ?
I said that in my first reply to the thread.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Xalus
Veteran Member
Join Date: Dec 2009
Location: Belgium
Old 10-09-2010 , 12:02   Re: Walk sound replace
Reply With Quote #9

Ah sorry, I only saw..

Not possible to change the walk sound.
__________________
Retired.
Xalus is offline
Reply


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

Forum Jump


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


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