• Help with some sort of music thing.
    2 replies, posted
Hey ^-^ So me and some friends are working on a star wars MMORPG for garry's mod, here's some photos; [url]http://i.imgur.com/JjBuuUr.jpg[/url] [url]http://i.imgur.com/HBEq0mz.jpg[/url] [url]http://i.imgur.com/IWAywnB.jpg[/url] [url]http://i.imgur.com/Cvs9wQ0.jpg[/url] We're adding Quests, Shop, Levels etc but there's one thing we haven't gotten to do. We're trying to find out how to make some sort of ambient music play in the background, I have the .ogg and .mp3 for the ambience, (it's 17 mins) but how would I play it for everyone and as soon as they join? and also loop it, I tried using patchplay but only people who are ingame when I start playing it can hear it, and it does not loop. On most MMORPG's like WoW, you'll know what I mean by this ambience loop. Thanks for any help you can give ^_^
you could try to make an invisible derma panel with an dhtml panel.
You can network surface.PlaySound on PlayerInitialSpawn [url]http://wiki.garrysmod.com/page/surface/PlaySound[/url] Im not entirely sure how to loop it though. But this seems a better approach since you can use the callback function. [url]http://wiki.garrysmod.com/page/sound/PlayURL[/url]
Sorry, you need to Log In to post a reply to this thread.