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

[ANY] Ambient Sounds


Post New Thread Reply   
 
Thread Tools Display Modes
Marverlous
Senior Member
Join Date: May 2013
Old 02-23-2014 , 20:07   Re: [ANY] Ambient Sounds v1.2
Reply With Quote #11

Would you add a command so that a player can disable the sounds for himself only?
__________________
Marverlous is offline
robotortoise
Senior Member
Join Date: Nov 2013
Old 03-18-2014 , 18:24   Re: [ANY] Ambient Sounds v1.2
Reply With Quote #12

This works wonderfully for my needs! I added Luigi's Mansion music to cp_manor_event, and I added Teresa Waltz in the background of ctf_boofort! I achieved this by making a .cfg file for cp_manor_event in map-cfg with the following lines:
"sm_ambientsounds_enable 1 sm_ambientsounds_folder sound/sm_ambientsounds" and a cfg file for ctf_boofort
"sm_ambientsounds_enable 1 sm_ambientsounds_folder sound/sm_boofort".

It worked great! I just set the default convar for ambient sounds to sm_ambientsounds_enable 0 and it to reset to that on map change, and it works!

I wish I could do this natively in the plugin, though. Set which sounds play on which map and if they loop or not, ect. It seems like a bit of a hassle to do it this way.

Awesome plugin, though! Thanks!
robotortoise is offline
xbladek10
Junior Member
Join Date: Jan 2012
Old 03-27-2014 , 11:13   Re: [ANY] Ambient Sounds v1.2
Reply With Quote #13

siento decir que el codigo fuente incluido en la descarga no funciona, lo compilas y da un error a la hora de cargar el plugin:

Quote:
[SM] Plugin ambient.smx failed to load: Could not find required plugin "filesmanagementinterface".
D
y el plugin que dice q no esta si esta, algo difiere del codigo fuente publicado al plugin publicado ya compilado, pero no se trata del mismo codigo.

saludos
__________________





Last edited by xbladek10; 03-27-2014 at 11:22.
xbladek10 is offline
robotortoise
Senior Member
Join Date: Nov 2013
Old 03-27-2014 , 20:35   Re: [ANY] Ambient Sounds v1.2
Reply With Quote #14

You have to install the plugin filesmanagementinterface, too.
robotortoise is offline
xbladek10
Junior Member
Join Date: Jan 2012
Old 03-27-2014 , 22:18   Re: [ANY] Ambient Sounds v1.2
Reply With Quote #15

Quote:
Originally Posted by robotortoise View Post
You have to install the plugin filesmanagementinterface, too.
i have this plugins installed and i no load and use console sm plugins load ambient.smx and no work
__________________




xbladek10 is offline
xbladek10
Junior Member
Join Date: Jan 2012
Old 03-28-2014 , 14:19   Re: [ANY] Ambient Sounds v1.2
Reply With Quote #16

the source included no is the same.
__________________




xbladek10 is offline
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Old 03-28-2014 , 16:15   Re: [ANY] Ambient Sounds v1.2
Reply With Quote #17

@xbladek10

I have been testing it and the problem was in filesmanagementinterface.inc and NOT IN MY PLUGIN

Removing this part and recompiling my plugin will work:
PHP Code:
public SharedPlugin:__pl_filesmanagementinterface 
{
    
name "filesmanagementinterface",
    
file "filesmanagementinterface.smx",
#if defined REQUIRE_PLUGIN
    
required 1,
#else
    
required 0,
#endif
}; 

The source of my plugin is the same that the compiled



P.D: si eres español agregame a steam y pregúntame en lugar de armar jaleo e ir diciendo que el codigo no es el mismo, PORQUE SI QUE LO ES, yo nunca subo códigos diferentes al compilado
__________________
Veteran Coder -> Activity channel
Coding on CS2 and taking paid and free jobs.

Contact: Steam, Telegram or discord ( franug ).

You like my work? +Rep in my steam profile comments or donate.


Last edited by Franc1sco; 03-28-2014 at 16:16.
Franc1sco is offline
Send a message via MSN to Franc1sco
xbladek10
Junior Member
Join Date: Jan 2012
Old 03-30-2014 , 15:48   Re: [ANY] Ambient Sounds v1.2
Reply With Quote #18

oka oka tio sorry no era mi intencion.
__________________




xbladek10 is offline
robotortoise
Senior Member
Join Date: Nov 2013
Old 04-06-2014 , 04:23   Re: [ANY] Ambient Sounds v1.2
Reply With Quote #19

Are there any plans to add more features to this plugin? I would certainly like looping sounds that are guaranteed to play, instead of a random chance of them playing. For instance, I added a looping wav as backround music to a map, and it looped, but then it started playing twice.

And then there's the fact that when you're killed, you stop hearing the ambient sounds.

And you can't place certain sounds in certain areas. (like soundscapes)

Basically I want the ability to add soundscapes to maps without recompiling or editing the map. Is that possible?

Maybe you could also integrate with this?
robotortoise is offline
qiuhaian
Senior Member
Join Date: Nov 2009
Old 12-04-2014 , 00:27   Re: [ANY] Ambient Sounds v1.2
Reply With Quote #20

L 12/04/2014 - 13:24:10: SourceMod error session started
L 12/04/2014 - 13:24:10: Info (map "de_dust2") (file "errors_20141204.log")
L 12/04/2014 - 13:24:10: [SM] Plugin encountered error 25: Call was aborted
L 12/04/2014 - 13:24:10: [SM] Native "SetFailState" reported: Could not find Files Management Interface
L 12/04/2014 - 13:24:10: [SM] Displaying call stack trace for plugin "ambient.smx":
L 12/04/2014 - 13:24:10: [SM] [0] Line 51, D:\Csgo_Server\go_5\csgo\addons\sourcemod\scr ipting\ambient.sp::OnPluginStart()
qiuhaian 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 06:11.


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