Hallo. I need to know is there any way I could activate sfx sound effects in CLEO. Also is it possible to put new Mp3 and wav sounds (added not replaced) in audio and use those new sounds in CLEO scrypts? I know about the 057D but it's working only in a car. Any ideas?
IV Scripter, Modeler. Group: Members
Joined: Apr 15, 2008
You need to replace some of the existing .wav files in the audio folder, VC uses a hardcoded list of wav file names which are the only ones allowed to be loaded and played by the game. You could choose to replace the "mono_" wav files, those are the internal monologues that Tommy occasionally says say after a cutscene, or the "mob_" wav's which are the mobile phone calls.
As for loading and playing wav's, use the normal method:
CODE
:Label_100 03CF: load_wav 'MOB_52A' as 1 // in VC, 1 and 2 are supported, dunno about any more.
:Label_150 0001: wait 0 ms 00D6: if 03D0: wav 1 loaded 004D: jump_if_false @Label_150
03D1: play_wav 1
:Label_200 00D6: if 03D2: wav 1 ended 004D: jump_if_false @Label_200 0001: wait 500 ms 040D: unload_wav 1 004E: end_thread (this should be end_custom_thread for cleo)
This post has been edited by Frank.s on Saturday, Jul 7 2012, 12:37
I am The Most Confused Person Group: Members
Joined: Nov 14, 2010
i tried to do that last month, i though i'll get a add by which i'll toggle off/on the Mp3 but i find something else instead a add at which if we write NOP (0x90), the mp3 song will not stop, not even in Menu
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)