Another GTA Fan Posted January 1, 2020 Share Posted January 1, 2020 (edited) How am I suppose to use the Audiostream.Volume line? I've got a couple of custom sounds to work in the game (Currently testing them for something in the future), and the sounds play ingame, but I can't seem to set the volume to make them more quiet. {$CLEO .cs} thread "TEST" :TEST_0 wait 0 if Player.Defined($PLAYER_CHAR) else_jump @TEST_0 [email protected] = Audiostream.Load("CLEO\CLEO_SOUNDS\BURNERA.MP3") [email protected] = Audiostream.Load("CLEO\CLEO_SOUNDS\BURNERB.MP3") jump @TEST_1 :TEST_1 wait 0 if 0AB0: key_pressed 83 else_jump @TEST_2 0ACA: show_text_box "Sound A" Audiostream.PerformAction([email protected], PLAY) Audiostream.Volume([email protected]) = 10 wait 3000 jump @TEST_1 :TEST_2 wait 0 if 0AB0: key_pressed 84 else_jump @TEST_1 0ACA: show_text_box "Sound B" Audiostream.PerformAction([email protected], PLAY) Audiostream.Volume([email protected]) = 30 wait 3000 jump @TEST_1 I've tried the following but none of them work: 'Audiostream.Volume([email protected]) = 30', '30 = Audiostream.Volume([email protected])', 'Audiostream.Volume([email protected], 30)' I don't know. I've used this before in the past, but I just can't remember how to adjust added audio volume level like this. Edited January 1, 2020 by Recommended Link to comment Share on other sites More sharing options...
Strs Posted January 1, 2020 Share Posted January 1, 2020 its float Value Max is 1.0 Min is 0.0 and remember if you do more than 1.0 its no effect sound will be same level Another GTA Fan 1 Link to comment Share on other sites More sharing options...
Another GTA Fan Posted January 1, 2020 Author Share Posted January 1, 2020 13 minutes ago, Strs said: its float Value Max is 1.0 Min is 0.0 and remember if you do more than 1.0 its no effect sound will be same level I'm so dumb for not trying that >.< Thanks for letting me know. It's working Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now