#1 22-05-2011 20:00

Sabudum
Registered: 19-04-2011
Posts: 3

Coding audio, how is that done?

All right, so i want to play an audio in game, in Vice City, through scm coding, for instance, i wanna play the camera sound when i get close to some point, or play some church bells near the church, that is already implemented in the game, but, how can i do that through scm coding?

i know that there are two opcodes for this:

018D: 6@ = create_sound 0 at -923.4324 -333.2397 14.3816
018C: play_sound 1 at 0.0 0.0 0.0

But how to use them, and how can i know the sound ID?

If someone can help me with this, i'd be much appreciated, thanks!

Last edited by Sabudum (22-05-2011 20:06)

Offline

Board footer

Powered by FluxBB