Bully-Board

Bully Modding Section => Requests => Requests Archive => Topic started by: Arthur Marinho on June 23, 2013, 10:27:41 PM

Title: Music
Post by: Arthur Marinho on June 23, 2013, 10:27:41 PM
Hi bullyheads, i was hoping someone could teach me how to put my music to play ingame? like, when i fight greasers, instead of their theme song play, it plays the one i chose?
Title: Re: Music
Post by: c00ld0c26 on June 24, 2013, 09:02:27 AM
I'll teach ya its simple, problem is, I can teach you how to play a song in lua, but not change a clique theme song.

1.First of all you need to crack the audio files
2. Then write this at your lua script :

SoundPlayStream("", 0.69999998807907)

Inside the "" put the songs name, that you cracked from the music bin.
Here is an example of a name of a song from the music bin : MS_FightingBullies

As the name suggest, it is the theme song for the bullies.
Anyway, If you have any questions on how to crack the audio or anything else, dont be afraid to ask.
Title: Re: Music
Post by: Phap on June 24, 2013, 10:18:24 AM
I'll teach ya its simple, problem is, I can teach you how to play a song in lua, but not change a clique theme song.

1.First of all you need to crack the audio files
2. Then write this at your lua script :

SoundPlayStream("", 0.69999998807907)

Inside the "" put the songs name, that you cracked from the music bin.
Here is an example of a name of a song from the music bin : MS_FightingBullies

As the name suggest, it is the theme song for the bullies.
Anyway, If you have any questions on how to crack the audio or anything else, dont be afraid to ask.
What is the 0.69999998807907?
Title: Re: Music
Post by: c00ld0c26 on June 24, 2013, 10:30:47 AM
I'll teach ya its simple, problem is, I can teach you how to play a song in lua, but not change a clique theme song.

1.First of all you need to crack the audio files
2. Then write this at your lua script :

SoundPlayStream("", 0.69999998807907)

Inside the "" put the songs name, that you cracked from the music bin.
Here is an example of a name of a song from the music bin : MS_FightingBullies

As the name suggest, it is the theme song for the bullies.
Anyway, If you have any questions on how to crack the audio or anything else, dont be afraid to ask.
What is the 0.69999998807907?

The volume.
0.6 is quite normal.
if u put 2 or 3 it will be very loud.
Title: Re: Music
Post by: Arthur Marinho on June 24, 2013, 06:07:25 PM
ok, thanks for the help.
Title: Re: Music
Post by: c00ld0c26 on June 24, 2013, 07:54:06 PM
Oh I almost forgot.
Make sure to put  .rsm at the end of the song name, or it wont work.
Title: Re: Music
Post by: deadpoolXYZ on June 28, 2013, 07:34:53 AM
I'll teach ya its simple, problem is, I can teach you how to play a song in lua, but not change a clique theme song.

1.First of all you need to crack the audio files
2. Then write this at your lua script :

SoundPlayStream("", 0.69999998807907)

Inside the "" put the songs name, that you cracked from the music bin.
Here is an example of a name of a song from the music bin : MS_FightingBullies

As the name suggest, it is the theme song for the bullies.
Anyway, If you have any questions on how to crack the audio or anything else, dont be afraid to ask.

It's not necessary to crack the audio files unless you want to know the name of the songs easily.
By the way, isn't this the correct code or does that one work too?

SoundPlayInteractiveStream("", MUSIC_DEFAULT_VOLUME)
Title: Re: Music
Post by: c00ld0c26 on June 28, 2013, 07:56:34 AM
Yes it is but I gave him a "safe commnad" that is Rise recommended me to use more then the command you wrote.
Title: Re: Music
Post by: Arthur Marinho on July 01, 2013, 02:07:53 AM
ok, thanks for the help.