:
Destination Time
:
Present Time
:
Last Time Departed
Sign in to follow this  
Dragon King

Cleo help

Recommended Posts

ok here we go, I have converted the new downtown for SA as a test and I also have converted the clock code to cleo. but I have set up the code to play the mp3 version of the clock sounds which won't play. I'll give you the part of the thread I am having trouble with. I have placed these at the beggining of the thread:

0AAC: 20@ = load_mp3 "CLEO\AUDIO\HANDMOVE.MP3"

0AAC: 21@ = load_mp3 "CLEO\AUDIO\CHIME1.MP3"

0AAC: 22@ = load_mp3 "CLEO\AUDIO\CHIME2.MP3"

0AAC: 23@ = load_mp3 "CLEO\AUDIO\CHIME3.MP3"

0AAC: 24@ = load_mp3 "CLEO\AUDIO\CHIME4.MP3"

0AAC: 24@ = load_mp3 "CLEO\AUDIO\DONG.MP3"

:CLOCK_626

16@ = 0 

gosub @CLOCK_553 

00BF: 0@ = current_time_hours, 1@ = current_time_minutes 

if 

  1@ == 0 

else_jump @CLOCK_673 

jump @CLOCK_811 



:CLOCK_673

if 

  1@ == 15 

else_jump @CLOCK_719 

0AAD: set_mp3 22@ perform_action 0 

0AAD: set_mp3 22@ perform_action 1 

gosub @CLOCK_1018 

jump @CLOCK_933 



:CLOCK_719

if 

  1@ == 30 

else_jump @CLOCK_765 

0AAD: set_mp3 23@ perform_action 0 

0AAD: set_mp3 23@ perform_action 1 

gosub @CLOCK_1018 

jump @CLOCK_933 



:CLOCK_765

if 

  1@ == 45 

else_jump @CLOCK_933 

0AAD: set_mp3 24@ perform_action 0 

0AAD: set_mp3 24@ perform_action 1 

gosub @CLOCK_1018 

jump @CLOCK_933 



:CLOCK_811

if 

  0@ == 0 

else_jump @CLOCK_843 

0@ = 12 

jump @CLOCK_868 



:CLOCK_843

if 

  0@ > 12 

else_jump @CLOCK_868 

0@ -= 12 



:CLOCK_868

if and

  0@ > 0 

$FADE = 0 

else_jump @CLOCK_933 

0@ -= 1 

0AAD: set_mp3 21@ perform_action 0 

0AAD: set_mp3 21@ perform_action 1 

gosub @CLOCK_963 

wait 1000 

jump @CLOCK_868 



:CLOCK_933

0AAD: set_mp3 21@ perform_action 0 

0AAD: set_mp3 22@ perform_action 0 

0AAD: set_mp3 23@ perform_action 0 

0AAD: set_mp3 24@ perform_action 0 

end_thread 



:CLOCK_963

16@ = 0 



:CLOCK_970

wait 10 

if 

   not 16@ >= 3000 

else_jump @CLOCK_1121 

if 

  $FADE == 0 

else_jump @CLOCK_933 

jump @CLOCK_970 



:CLOCK_1018

16@ = 0 



:CLOCK_1025

wait 10 

if 

   not 16@ >= 15000 

else_jump @CLOCK_1121 

if 

00FE:   actor $PLAYER_ACTOR sphere 0 in_sphere 300.5628 2563.654 88.85578 radius 85.0 85.0 85.0 

else_jump @CLOCK_933 

if 

  $FADE == 0 

else_jump @CLOCK_933 

jump @CLOCK_1025 



:CLOCK_1121

return

please help.

*EDIT* I also have a realtime cleo.

Share this post


Link to post
Share on other sites
Sign in to follow this