GTA Mods Mania
Welcome to GTA Mods Mania
To get the most benefits of the forums .Please register otherwise you
won't be able to view some important boards & topics.
We are sure you will enjoy after joining the site.
Affiliates
pic

pic

pic

!
Welcome to GTA Mods Mania Join us now to access all of our features. Once you join us, you can make any topic to talk in this forum, give the reputation of a fellow member, design your profile, and much more. If you already have an account, Login here. If don't create one, here.

Changing CLEO volume with game sfx volume

View previous topic View next topic Go down

Changing CLEO volume with game sfx volume

Post by koragg on Sun Jan 20, 2013 1:27 am

I wanna ask if theres a way to make the audio files in CLEO - PLAYLIST folder's volume change with the game sfx and radio volume from the options menu in the pause menu ??

koragg
Member
Member

Posts : 52
Join date : 2013-01-03
Age : 21
Location : Sofia, Bulgaria

Back to top Go down

Re: Changing CLEO volume with game sfx volume

Post by koragg on Sun Jan 20, 2013 1:28 am

if its not possible are there any audio files in the sfx that are rarely used so that i can replace them with the ones from CLEO - PLAYLIST folder (that way their volume will change with the game)

koragg
Member
Member

Posts : 52
Join date : 2013-01-03
Age : 21
Location : Sofia, Bulgaria

Back to top Go down

Re: Changing CLEO volume with game sfx volume

Post by TheGodfather on Sun Jan 20, 2013 6:39 pm

I think that's not possible but you may give a try by memory coding..Just an opinion..
avatar
TheGodfather
Administrator
Administrator

Posts : 1360
Join date : 2012-11-22
Age : 21
Location : Unknown

http://gtamodsmania.cz.cc/

Back to top Go down

Re: Changing CLEO volume with game sfx volume

Post by koragg on Sun Jan 20, 2013 11:23 pm

i thought so my self but had to ask ;)

koragg
Member
Member

Posts : 52
Join date : 2013-01-03
Age : 21
Location : Sofia, Bulgaria

Back to top Go down

Re: Changing CLEO volume with game sfx volume

Post by TheGodfather on Sun Jan 20, 2013 11:27 pm

That's alright u are free to ask here..I ll be giving a try whether it could be done or not..Wink
avatar
TheGodfather
Administrator
Administrator

Posts : 1360
Join date : 2012-11-22
Age : 21
Location : Unknown

http://gtamodsmania.cz.cc/

Back to top Go down

Re: Changing CLEO volume with game sfx volume

Post by koragg on Mon Jan 21, 2013 3:26 am

ok

koragg
Member
Member

Posts : 52
Join date : 2013-01-03
Age : 21
Location : Sofia, Bulgaria

Back to top Go down

Re: Changing CLEO volume with game sfx volume

Post by TheGodfather on Wed Jan 23, 2013 2:14 pm

Yes now it is possible but you need to have the latest version of New Opcodes.cleo by DK22pac
After getting that use this opcode:
Code:
0D72: get_sfx_volume_to 0@ radio_volume_to NULL type TYPE_FLOAT
avatar
TheGodfather
Administrator
Administrator

Posts : 1360
Join date : 2012-11-22
Age : 21
Location : Unknown

http://gtamodsmania.cz.cc/

Back to top Go down

Re: Changing CLEO volume with game sfx volume

Post by koragg on Wed Jan 23, 2013 4:24 pm

thanks for the opcode arjitsen but when i install this [You must be registered and logged in to see this link.] in my gta sa it says 0D72 not found (btw whats a SB sa folder :/)

koragg
Member
Member

Posts : 52
Join date : 2013-01-03
Age : 21
Location : Sofia, Bulgaria

Back to top Go down

Re: Changing CLEO volume with game sfx volume

Post by TheGodfather on Wed Jan 23, 2013 5:19 pm

You need to have the latest version: [You must be registered and logged in to see this link.]
SB sa folder is your Sanny builder folder(Where you have installed Sanny builder)
..put all SB sa folder files into Sanny builder\sa folder..
And newopcodes.cleo file into your CLEO Folder..
avatar
TheGodfather
Administrator
Administrator

Posts : 1360
Join date : 2012-11-22
Age : 21
Location : Unknown

http://gtamodsmania.cz.cc/

Back to top Go down

Re: Changing CLEO volume with game sfx volume

Post by koragg on Thu Jan 24, 2013 12:40 am

i got NewOpcodes to work but now it says "not enough actual parameters" when i add the opcode to a cleo file or to the main.scm

koragg
Member
Member

Posts : 52
Join date : 2013-01-03
Age : 21
Location : Sofia, Bulgaria

Back to top Go down

Re: Changing CLEO volume with game sfx volume

Post by TheGodfather on Thu Jan 24, 2013 7:06 pm

Can u post your code ??
avatar
TheGodfather
Administrator
Administrator

Posts : 1360
Join date : 2012-11-22
Age : 21
Location : Unknown

http://gtamodsmania.cz.cc/

Back to top Go down

Re: Changing CLEO volume with game sfx volume

Post by koragg on Fri Jan 25, 2013 12:29 am

it's not a .cs file as i tried to import the opcode to the main.scm
does it have to be in a different cleo file?

koragg
Member
Member

Posts : 52
Join date : 2013-01-03
Age : 21
Location : Sofia, Bulgaria

Back to top Go down

Re: Changing CLEO volume with game sfx volume

Post by TheGodfather on Fri Jan 25, 2013 5:34 pm

Yep right u need to make a separate CLEo file..;)
avatar
TheGodfather
Administrator
Administrator

Posts : 1360
Join date : 2012-11-22
Age : 21
Location : Unknown

http://gtamodsmania.cz.cc/

Back to top Go down

Re: Changing CLEO volume with game sfx volume

Post by koragg on Sat Jan 26, 2013 6:37 pm

here's my script.Can you tell me what have i done wrong 'cause i can't compile it.

thread 'SOUND'

:SOUND_11
wait 0
if
Player.Defined($PLAYER_CHAR)
Player.CanMove($PLAYER_CHAR) = True
0D72: get_sfx_volume_to 0@ radio_volume_to NULL type TYPE_FLOAT
wait 0
jump @SOUND_11

koragg
Member
Member

Posts : 52
Join date : 2013-01-03
Age : 21
Location : Sofia, Bulgaria

Back to top Go down

Re: Changing CLEO volume with game sfx volume

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum