Re: [hlcoders] Music during map loading
-- [ Picked text/plain from multipart/alternative ] We used FMOD but we changed it to Audiere because FMOD was not thread safe, we found some crashes related to it. Oh and we used CAutoGameSystem / IGameListener2 to fetch events. On 8/13/07, Jeffrey botman Broome [EMAIL PROTECTED] wrote: Tony omega Sergi wrote: -- [ Picked text/plain from multipart/alternative ] you use FMOD.. to start playing a track.. then stop it or fade it out.. ...and just in case you can't find FMOD in the Half-Life SDK... http://www.fmod.org/ :) -- Jeffrey botman Broome ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders -- ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] Music during map loading
Thanks! Adam --- Louka Outrebon [EMAIL PROTECTED] wrote: -- [ Picked text/plain from multipart/alternative ] We used FMOD but we changed it to Audiere because FMOD was not thread safe, we found some crashes related to it. Oh and we used CAutoGameSystem / IGameListener2 to fetch events. On 8/13/07, Jeffrey botman Broome [EMAIL PROTECTED] wrote: Tony omega Sergi wrote: -- [ Picked text/plain from multipart/alternative ] you use FMOD.. to start playing a track.. then stop it or fade it out.. ...and just in case you can't find FMOD in the Half-Life SDK... http://www.fmod.org/ :) -- Jeffrey botman Broome ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders -- ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders Owner Nigredo Studios http://www.nigredostudios.com Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user panel and lay it on us. http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] Music during map loading
Tony omega Sergi wrote: -- [ Picked text/plain from multipart/alternative ] you use FMOD.. to start playing a track.. then stop it or fade it out.. ...and just in case you can't find FMOD in the Half-Life SDK... http://www.fmod.org/ :) -- Jeffrey botman Broome ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] Music during map loading
FMOD you too. I am lost as to what exactly you are saying. How do I start music playing when the map change occurs and a new map begins loading? On 8/11/07, Jeffrey botman Broome [EMAIL PROTECTED] wrote: Nick wrote: I would also like to know how this is done. FMOD? Start up a thread, let it run while loading a map. Fade to silence when the map starts running. -- Jeffrey botman Broome ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] Music during map loading
Threads. Unless the Source engine has some system-agnostic thread interface (the developers' wiki returns zero results... must suck doing server threading for both POSIX (Unix) and Windows separately), just read this: http://msdn2.microsoft.com/en-us/library/ms682516.aspx The thread function should, while making sure the music is playing, periodically check some sort of global variable and return when it becomes non-zero. CreateThread right before you load; when loading is done, set the global variable to 1 and do a WaitForSingleObject followed by a CloseHandle. I don't think you need to CriticalSection the global variable setting since only one thread will ever modify it (the one responsible for the loading). Oh, and should you ever wonder: what POSIX threads call mutex is a critical section on Windows. A mutex is used for interprocess (and not interthread like on POSIX) communications on Windows. ~~ Ondra On 12.08.07 21:44 Uhr, Nick wrote: FMOD you too. I am lost as to what exactly you are saying. How do I start music playing when the map change occurs and a new map begins loading? On 8/11/07, Jeffrey botman Broome [EMAIL PROTECTED] wrote: Nick wrote: I would also like to know how this is done. FMOD? Start up a thread, let it run while loading a map. Fade to silence when the map starts running. -- Jeffrey botman Broome ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] Music during map loading
-- [ Picked text/plain from multipart/alternative ] you use FMOD.. to start playing a track.. then stop it or fade it out.. On 8/12/07, Nick [EMAIL PROTECTED] wrote: FMOD you too. I am lost as to what exactly you are saying. How do I start music playing when the map change occurs and a new map begins loading? On 8/11/07, Jeffrey botman Broome [EMAIL PROTECTED] wrote: Nick wrote: I would also like to know how this is done. FMOD? Start up a thread, let it run while loading a map. Fade to silence when the map starts running. -- Jeffrey botman Broome ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders -- -omega -- ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] Music during map loading
I would like the same thing or a texture to replace the entire 'loading' screen like Vampires. Adam --- Jonathan Middleton [EMAIL PROTECTED] wrote: -- [ Picked text/plain from multipart/alternative ] Hi, I would like to play an mp3 during the map loading sequence but I'm having some trouble finding where the loading sequence begins on the client. Can anyone point me in the right direction? Cheers, Jonathan -- ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders Owner Nigredo Studios http://www.nigredostudios.com Be a better Globetrotter. Get better travel answers from someone who knows. Yahoo! Answers - Check it out. http://answers.yahoo.com/dir/?link=listsid=396545469 ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] Music during map loading
Dito. Didn't Insurgency do something like that? Hence, it's possible for mods. I would like the same thing or a texture to replace the entire 'loading' screen like Vampires. Adam --- Jonathan Middleton [EMAIL PROTECTED] wrote: -- [ Picked text/plain from multipart/alternative ] Hi, I would like to play an mp3 during the map loading sequence but I'm having some trouble finding where the loading sequence begins on the client. Can anyone point me in the right direction? Cheers, Jonathan -- ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders Owner Nigredo Studios http://www.nigredostudios.com Be a better Globetrotter. Get better travel answers from someone who knows. Yahoo! Answers - Check it out. http://answers.yahoo.com/dir/?link=listsid=396545469 ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] Music during map loading
-- [ Picked text/plain from multipart/alternative ] Yeah Insurgency plays music while loading maps. Since I don't have Insurgency installed anymore, I can't look into it (probably coded anyway). /ProZak On 11/08/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Dito. Didn't Insurgency do something like that? Hence, it's possible for mods. I would like the same thing or a texture to replace the entire 'loading' screen like Vampires. Adam --- Jonathan Middleton [EMAIL PROTECTED] wrote: -- [ Picked text/plain from multipart/alternative ] Hi, I would like to play an mp3 during the map loading sequence but I'm having some trouble finding where the loading sequence begins on the client. Can anyone point me in the right direction? Cheers, Jonathan -- ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders Owner Nigredo Studios http://www.nigredostudios.com Be a better Globetrotter. Get better travel answers from someone who knows. Yahoo! Answers - Check it out. http://answers.yahoo.com/dir/?link=listsid=396545469 ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders -- ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] Music during map loading
-- [ Picked text/plain from multipart/alternative ] FMOD. On 8/11/07, Tobias Kammersgaard [EMAIL PROTECTED] wrote: -- [ Picked text/plain from multipart/alternative ] Yeah Insurgency plays music while loading maps. Since I don't have Insurgency installed anymore, I can't look into it (probably coded anyway). /ProZak On 11/08/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Dito. Didn't Insurgency do something like that? Hence, it's possible for mods. I would like the same thing or a texture to replace the entire 'loading' screen like Vampires. Adam --- Jonathan Middleton [EMAIL PROTECTED] wrote: -- [ Picked text/plain from multipart/alternative ] Hi, I would like to play an mp3 during the map loading sequence but I'm having some trouble finding where the loading sequence begins on the client. Can anyone point me in the right direction? Cheers, Jonathan -- ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders Owner Nigredo Studios http://www.nigredostudios.com Be a better Globetrotter. Get better travel answers from someone who knows. Yahoo! Answers - Check it out. http://answers.yahoo.com/dir/?link=listsid=396545469 ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders -- ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders -- -omega -- ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] Music during map loading
I would also like to know how this is done. On 8/11/07, Jonathan Middleton [EMAIL PROTECTED] wrote: -- [ Picked text/plain from multipart/alternative ] Hi, I would like to play an mp3 during the map loading sequence but I'm having some trouble finding where the loading sequence begins on the client. Can anyone point me in the right direction? Cheers, Jonathan -- ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] Music during map loading
Nick wrote: I would also like to know how this is done. FMOD? Start up a thread, let it run while loading a map. Fade to silence when the map starts running. -- Jeffrey botman Broome ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders