News: Welcome back to Bullworth! If you haven't already, you will need to reset your password..


Author Topic: LUA Help. Music Changing  (Read 4407 times)

0 Members and 1 Guest are viewing this topic.

Offline FearlessBloodseeker

  • X-Strygwyr-X
  • Jr. Member
  • **
  • Posts: 24
  • Gender: Male
  • X-Bloodseeker-X
    • View Profile
LUA Help. Music Changing
« on: April 15, 2015, 09:27:43 AM »
Hey, I need some help in changing the background's music when I use the Arcade Machine.
I used to do this few years ago when modding, but I forgot how to do it anymore. So it would be a great help if anyone can teach me on it step by step from the first to the last. Thank you in advance :)

deadpoolXYZ

  • Guest
Re: LUA Help. Music Changing
« Reply #1 on: April 15, 2015, 11:07:55 AM »
Code: [Select]
SoundPlayInteractiveStream("MUSIC.rsm", MUSIC_DEFAULT_VOLUME) --Freeroam music
SoundSetMidIntensityStream("MUSIC.rsm", MUSIC_DEFAULT_VOLUME) -- Bike music
SoundSetHighIntensityStream("MUSIC.rsm", MUSIC_DEFAULT_VOLUME) --Fight music

Offline FearlessBloodseeker

  • X-Strygwyr-X
  • Jr. Member
  • **
  • Posts: 24
  • Gender: Male
  • X-Bloodseeker-X
    • View Profile
Re: LUA Help. Music Changing
« Reply #2 on: April 16, 2015, 04:57:46 AM »
Hey thanks for the code. But still I'm going to need further help as I have forgotten how to do it. Thanks anyway :)

Offline AfterLife

  • The Reaper
  • Sr. Member
  • ***
  • Posts: 830
  • Gender: Male
  • I'm from the AfterLife...
    • View Profile
Re: LUA Help. Music Changing
« Reply #3 on: April 16, 2015, 05:31:38 AM »
Hey thanks for the code. But still I'm going to need further help as I have forgotten how to do it. Thanks anyway :)
At the Music.rsm, rename that to the music you want. Ex. MS_BikeFunHigh.

Offline FearlessBloodseeker

  • X-Strygwyr-X
  • Jr. Member
  • **
  • Posts: 24
  • Gender: Male
  • X-Bloodseeker-X
    • View Profile
Re: LUA Help. Music Changing
« Reply #4 on: April 16, 2015, 08:38:01 AM »
What I mean, is how do I make .lur/.lua file? I kinda forgot about em

Offline AfterLife

  • The Reaper
  • Sr. Member
  • ***
  • Posts: 830
  • Gender: Male
  • I'm from the AfterLife...
    • View Profile
Re: LUA Help. Music Changing
« Reply #5 on: April 16, 2015, 06:48:56 PM »
What I mean, is how do I make .lur/.lua file? I kinda forgot about em
Watch Swegta's tut.