Coding

 Reply to this postStart new topic

new cleo 3 opcodes

Donald
post Apr 20 2015, 05:53 AM
Post #1


The New Guy!

Posts: 1
Joined: 29-January 13



Here are the op codes for the audio mp3 play for

GTA SA LIBERTY CITY STORIES PC

0B50=1,stop_audio %1d%

0B51=13,%13d% = play_audio %2d% direct_path %1d% volume %4d% position %8d% loop %5d% menu_flag %6d% tempo %10d% speed %7d% pitch %11d% synchronize speed %9d% volume %3d% save %12d%

0B52=12,get_audio %1d% state %2d% volume %3d% position %4d% length %5d% loop %6d% menu_flag %7d% tempo %8d% speed %9d% pitch %10d% synchronize speed %11d% volume %12d%

0B53=11,set_audio %1d% volume %3d% for %4d% ms position %8d% loop %2d% menu_flag %9d% temp %10d% speed %7d% pitch %11d% synchronize speed %5d% volume %6d%

tested and working

EXAMPLES:

0B50: stop_audio 0@


0B51: 0@ = play_audio "AUDIO\LCS\INTRO\INTRO_MUSIC.MP3" direct_path 0 volume 100.0 position 0.0 loop 0 menu_flag 0 tempo 0.0 speed 100.0 pitch 0.0 synchronize speed 0 volume 1 save 0


0B52: get_audio 100@ state 82@ volume 80@ position 81@ length 80@ loop 80@ menu_flag 80@ tempo 80@ speed 80@ pitch 80@ synchronize speed 80@ volume 80@


0B53: set_audio 0@ volume 2@ for 0 ms position -1.0 loop -1 menu_flag -1 temp -100.0 speed -1000.0 pitch -100.0 synchronize speed -1 volume -1






This post has been edited by Donald: Apr 23 2015, 01:56 AM
Go to the top of the page
 
+Quote Post
Reply to this postStart new topic

3 User(s) are reading this topic (3 Guests and 0 Anonymous Users)
0 Members: