donkeyg Posted August 10, 2013 Group: Members Topic Count: 344 Topics Per Day: 0.07 Content Count: 1060 Reputation: 1 Joined: 02/13/12 Last Seen: November 14, 2016 Share Posted August 10, 2013 @request song NPC.i added my song playlist into BGM folder.. how do i play those song with using NPC and it costs 1 million zeny? my song file is 200, 201, 202, 203, 204, 205, 206, 207, 208, 209 ,210 Quote Link to comment Share on other sites More sharing options...
xienne15 Posted August 10, 2013 Group: Members Topic Count: 44 Topics Per Day: 0.01 Content Count: 226 Reputation: 11 Joined: 01/09/12 Last Seen: March 15, 2018 Share Posted August 10, 2013 (edited) You only hear it and people near to you. soundeffect "title.wav",0; All people in the map can hear it. soundeffectall "title.wav",0; Edited August 11, 2013 by xienne15 Quote Link to comment Share on other sites More sharing options...
Archetype Saber Posted August 10, 2013 Group: Members Topic Count: 90 Topics Per Day: 0.02 Content Count: 361 Reputation: 19 Joined: 01/09/13 Last Seen: January 19 Share Posted August 10, 2013 You only hear it and people near to you. soundeffect title.wav; All people in the map can hear it. soundeffectall title.wav; and where I will put the .wav files ? Quote Link to comment Share on other sites More sharing options...
Patskie Posted August 10, 2013 Group: Members Topic Count: 50 Topics Per Day: 0.01 Content Count: 1702 Reputation: 241 Joined: 09/05/12 Last Seen: 4 hours ago Share Posted August 10, 2013 Where should we expect? data/wav folder Quote Link to comment Share on other sites More sharing options...
xienne15 Posted August 11, 2013 Group: Members Topic Count: 44 Topics Per Day: 0.01 Content Count: 226 Reputation: 11 Joined: 01/09/12 Last Seen: March 15, 2018 Share Posted August 11, 2013 (edited) yes at wav folder and edited my first post. Edited August 11, 2013 by xienne15 Quote Link to comment Share on other sites More sharing options...
GmOcean Posted August 12, 2013 Group: Members Topic Count: 31 Topics Per Day: 0.01 Content Count: 666 Reputation: 93 Joined: 04/27/12 Last Seen: August 17, 2015 Share Posted August 12, 2013 Actually, they don't have to be wav files anymore rAthena supports .mp3 files in BGM folder, to be called and played to a player ingame. *playBGM "<BGM filename>"; *playBGMall "<BGM filename>"{,"<map name>"{,<x0>,<y0>,<x1>,<y1>}}; These two commands will play a Background Music to either the invoking character only ('playBGM') or multiple characters ('playBGMall'). BGM filename is the filename in /BGM/ folder. It has to be in .mp3 extension. It's not required to specify the extension inside the script. If coordinates are omitted, BGM will be broadcasted on the entire map. If the map name is omitted as well the BGM will be played for the entire server. You can add your own BGMs this way, naturally. 1 Quote Link to comment Share on other sites More sharing options...
Patskie Posted August 12, 2013 Group: Members Topic Count: 50 Topics Per Day: 0.01 Content Count: 1702 Reputation: 241 Joined: 09/05/12 Last Seen: 4 hours ago Share Posted August 12, 2013 Actually, they don't have to be wav files anymore rAthena supports .mp3 files in BGM folder, to be called and played to a player ingame. *playBGM "<BGM filename>"; *playBGMall "<BGM filename>"{,"<map name>"{,<x0>,<y0>,<x1>,<y1>}}; These two commands will play a Background Music to either the invoking character only ('playBGM') or multiple characters ('playBGMall'). BGM filename is the filename in /BGM/ folder. It has to be in .mp3 extension. It's not required to specify the extension inside the script. If coordinates are omitted, BGM will be broadcasted on the entire map. If the map name is omitted as well the BGM will be played for the entire server. You can add your own BGMs this way, naturally. Agree with you brother Quote Link to comment Share on other sites More sharing options...
donkeyg Posted August 12, 2013 Group: Members Topic Count: 344 Topics Per Day: 0.07 Content Count: 1060 Reputation: 1 Joined: 02/13/12 Last Seen: November 14, 2016 Author Share Posted August 12, 2013 Actually, they don't have to be wav files anymore rAthena supports .mp3 files in BGM folder, to be called and played to a player ingame. *playBGM "<BGM filename>"; *playBGMall "<BGM filename>"{,"<map name>"{,<x0>,<y0>,<x1>,<y1>}}; These two commands will play a Background Music to either the invoking character only ('playBGM') or multiple characters ('playBGMall'). BGM filename is the filename in /BGM/ folder. It has to be in .mp3 extension. It's not required to specify the extension inside the script. If coordinates are omitted, BGM will be broadcasted on the entire map. If the map name is omitted as well the BGM will be played for the entire server. You can add your own BGMs this way, naturally. can u give me a full sample script please.? Quote Link to comment Share on other sites More sharing options...
xienne15 Posted August 12, 2013 Group: Members Topic Count: 44 Topics Per Day: 0.01 Content Count: 226 Reputation: 11 Joined: 01/09/12 Last Seen: March 15, 2018 Share Posted August 12, 2013 Actually, they don't have to be wav files anymore rAthena supports .mp3 files in BGM folder, to be called and played to a player ingame. *playBGM "<BGM filename>"; *playBGMall "<BGM filename>"{,"<map name>"{,<x0>,<y0>,<x1>,<y1>}}; These two commands will play a Background Music to either the invoking character only ('playBGM') or multiple characters ('playBGMall'). BGM filename is the filename in /BGM/ folder. It has to be in .mp3 extension. It's not required to specify the extension inside the script. If coordinates are omitted, BGM will be broadcasted on the entire map. If the map name is omitted as well the BGM will be played for the entire server. You can add your own BGMs this way, naturally. can u give me a full sample script please.? prontera,198,154,0 script Singer 139,{ mes "[Singer]"; mes "I will sing to you a song~!!"; emotion e_no1; next; playBGM "102"; //BGM number or you can name your BGM. close; Quote Link to comment Share on other sites More sharing options...
donkeyg Posted August 13, 2013 Group: Members Topic Count: 344 Topics Per Day: 0.07 Content Count: 1060 Reputation: 1 Joined: 02/13/12 Last Seen: November 14, 2016 Author Share Posted August 13, 2013 Actually, they don't have to be wav files anymore rAthena supports .mp3 files in BGM folder, to be called and played to a player ingame. *playBGM "<BGM filename>"; *playBGMall "<BGM filename>"{,"<map name>"{,<x0>,<y0>,<x1>,<y1>}}; These two commands will play a Background Music to either the invoking character only ('playBGM') or multiple characters ('playBGMall'). BGM filename is the filename in /BGM/ folder. It has to be in .mp3 extension. It's not required to specify the extension inside the script. If coordinates are omitted, BGM will be broadcasted on the entire map. If the map name is omitted as well the BGM will be played for the entire server. You can add your own BGMs this way, naturally. can u give me a full sample script please.? prontera,198,154,0 script Singer 139,{ mes "[Singer]"; mes "I will sing to you a song~!!"; emotion e_no1; next; playBGM "102"; //BGM number or you can name your BGM. close; how do i play those song with using NPC and it costs 1 million zeny? my song file is 200, 201, 202, 203, 204, 205, 206, 207, 208, 209 ,210 izlude,115,137,2 script MP3 Player 139,{ mes "[Singer]"; mes "I will sing to you a song~!!"; emotion e_no1; next; playBGM "200"; //BGM number or you can name your BGM. end; } this script didnt work.. i have <TAB> Quote Link to comment Share on other sites More sharing options...
xienne15 Posted August 13, 2013 Group: Members Topic Count: 44 Topics Per Day: 0.01 Content Count: 226 Reputation: 11 Joined: 01/09/12 Last Seen: March 15, 2018 Share Posted August 13, 2013 Actually, they don't have to be wav files anymore rAthena supports .mp3 files in BGM folder, to be called and played to a player ingame. *playBGM "<BGM filename>"; *playBGMall "<BGM filename>"{,"<map name>"{,<x0>,<y0>,<x1>,<y1>}}; These two commands will play a Background Music to either the invoking character only ('playBGM') or multiple characters ('playBGMall'). BGM filename is the filename in /BGM/ folder. It has to be in .mp3 extension. It's not required to specify the extension inside the script. If coordinates are omitted, BGM will be broadcasted on the entire map. If the map name is omitted as well the BGM will be played for the entire server. You can add your own BGMs this way, naturally. can u give me a full sample script please.? prontera,198,154,0 script Singer 139,{ mes "[Singer]"; mes "I will sing to you a song~!!"; emotion e_no1; next; playBGM "102"; //BGM number or you can name your BGM. close; how do i play those song with using NPC and it costs 1 million zeny? my song file is 200, 201, 202, 203, 204, 205, 206, 207, 208, 209 ,210 izlude,115,137,2 script MP3 Player 139,{ mes "[Singer]"; mes "I will sing to you a song~!!"; emotion e_no1; next; playBGM "200"; //BGM number or you can name your BGM. end; } this script didnt work.. i have <TAB> any error? Quote Link to comment Share on other sites More sharing options...
donkeyg Posted August 13, 2013 Group: Members Topic Count: 344 Topics Per Day: 0.07 Content Count: 1060 Reputation: 1 Joined: 02/13/12 Last Seen: November 14, 2016 Author Share Posted August 13, 2013 Actually, they don't have to be wav files anymore rAthena supports .mp3 files in BGM folder, to be called and played to a player ingame. *playBGM "<BGM filename>"; *playBGMall "<BGM filename>"{,"<map name>"{,<x0>,<y0>,<x1>,<y1>}}; These two commands will play a Background Music to either the invoking character only ('playBGM') or multiple characters ('playBGMall'). BGM filename is the filename in /BGM/ folder. It has to be in .mp3 extension. It's not required to specify the extension inside the script. If coordinates are omitted, BGM will be broadcasted on the entire map. If the map name is omitted as well the BGM will be played for the entire server. You can add your own BGMs this way, naturally. can u give me a full sample script please.? prontera,198,154,0 script Singer 139,{ mes "[Singer]"; mes "I will sing to you a song~!!"; emotion e_no1; next; playBGM "102"; //BGM number or you can name your BGM. close; how do i play those song with using NPC and it costs 1 million zeny? my song file is 200, 201, 202, 203, 204, 205, 206, 207, 208, 209 ,210 izlude,115,137,2 script MP3 Player 139,{ mes "[Singer]"; mes "I will sing to you a song~!!"; emotion e_no1; next; playBGM "200"; //BGM number or you can name your BGM. end; } this script didnt work.. i have <TAB> any error? both i tried end; and close; also same error. Quote Link to comment Share on other sites More sharing options...
xienne15 Posted August 13, 2013 Group: Members Topic Count: 44 Topics Per Day: 0.01 Content Count: 226 Reputation: 11 Joined: 01/09/12 Last Seen: March 15, 2018 Share Posted August 13, 2013 Actually, they don't have to be wav files anymore rAthena supports .mp3 files in BGM folder, to be called and played to a player ingame. *playBGM "<BGM filename>"; *playBGMall "<BGM filename>"{,"<map name>"{,<x0>,<y0>,<x1>,<y1>}}; These two commands will play a Background Music to either the invoking character only ('playBGM') or multiple characters ('playBGMall'). BGM filename is the filename in /BGM/ folder. It has to be in .mp3 extension. It's not required to specify the extension inside the script. If coordinates are omitted, BGM will be broadcasted on the entire map. If the map name is omitted as well the BGM will be played for the entire server. You can add your own BGMs this way, naturally. can u give me a full sample script please.? prontera,198,154,0 script Singer 139,{ mes "[Singer]"; mes "I will sing to you a song~!!"; emotion e_no1; next; playBGM "102"; //BGM number or you can name your BGM. close; how do i play those song with using NPC and it costs 1 million zeny? my song file is 200, 201, 202, 203, 204, 205, 206, 207, 208, 209 ,210 izlude,115,137,2 script MP3 Player 139,{ mes "[Singer]"; mes "I will sing to you a song~!!"; emotion e_no1; next; playBGM "200"; //BGM number or you can name your BGM. end; } this script didnt work.. i have <TAB> any error? both i tried end; and close; also same error. What is the error on map-server? Quote Link to comment Share on other sites More sharing options...
donkeyg Posted August 13, 2013 Group: Members Topic Count: 344 Topics Per Day: 0.07 Content Count: 1060 Reputation: 1 Joined: 02/13/12 Last Seen: November 14, 2016 Author Share Posted August 13, 2013 Actually, they don't have to be wav files anymore rAthena supports .mp3 files in BGM folder, to be called and played to a player ingame. *playBGM "<BGM filename>"; *playBGMall "<BGM filename>"{,"<map name>"{,<x0>,<y0>,<x1>,<y1>}}; These two commands will play a Background Music to either the invoking character only ('playBGM') or multiple characters ('playBGMall'). BGM filename is the filename in /BGM/ folder. It has to be in .mp3 extension. It's not required to specify the extension inside the script. If coordinates are omitted, BGM will be broadcasted on the entire map. If the map name is omitted as well the BGM will be played for the entire server. You can add your own BGMs this way, naturally. can u give me a full sample script please.? prontera,198,154,0 script Singer 139,{ mes "[Singer]"; mes "I will sing to you a song~!!"; emotion e_no1; next; playBGM "102"; //BGM number or you can name your BGM. close; how do i play those song with using NPC and it costs 1 million zeny? my song file is 200, 201, 202, 203, 204, 205, 206, 207, 208, 209 ,210 izlude,115,137,2 script MP3 Player 139,{ mes "[Singer]"; mes "I will sing to you a song~!!"; emotion e_no1; next; playBGM "200"; //BGM number or you can name your BGM. end; } this script didnt work.. i have <TAB> any error? both i tried end; and close; also same error. What is the error on map-server? my bad.. because of the npc sprite 139 (invisible npc) ... btw can i make it can select more songs? and 1 song costs 1 million. Quote Link to comment Share on other sites More sharing options...
uDe Posted August 13, 2013 Group: Members Topic Count: 43 Topics Per Day: 0.01 Content Count: 400 Reputation: 5 Joined: 12/05/11 Last Seen: September 27, 2015 Share Posted August 13, 2013 A question about BGM file. Can we use space on the song file name? Example : Dancing Queen.mp3 or we can only use DancingQueen.mp3 only? Quote Link to comment Share on other sites More sharing options...
xienne15 Posted August 13, 2013 Group: Members Topic Count: 44 Topics Per Day: 0.01 Content Count: 226 Reputation: 11 Joined: 01/09/12 Last Seen: March 15, 2018 Share Posted August 13, 2013 A question about BGM file. Can we use space on the song file name? Example : Dancing Queen.mp3 or we can only use DancingQueen.mp3 only? you can ry that out since the bgm name is inside "" Quote Link to comment Share on other sites More sharing options...
donkeyg Posted August 13, 2013 Group: Members Topic Count: 344 Topics Per Day: 0.07 Content Count: 1060 Reputation: 1 Joined: 02/13/12 Last Seen: November 14, 2016 Author Share Posted August 13, 2013 A question about BGM file. Can we use space on the song file name? Example : Dancing Queen.mp3 or we can only use DancingQueen.mp3 only? you can ry that out since the bgm name is inside "" help me please >,< thanks in advance ^^ Quote Link to comment Share on other sites More sharing options...
uDe Posted August 13, 2013 Group: Members Topic Count: 43 Topics Per Day: 0.01 Content Count: 400 Reputation: 5 Joined: 12/05/11 Last Seen: September 27, 2015 Share Posted August 13, 2013 A question about BGM file. Can we use space on the song file name? Example : Dancing Queen.mp3 or we can only use DancingQueen.mp3 only? you can ry that out since the bgm name is inside "" Okay. Thanks. Quote Link to comment Share on other sites More sharing options...
donkeyg Posted August 13, 2013 Group: Members Topic Count: 344 Topics Per Day: 0.07 Content Count: 1060 Reputation: 1 Joined: 02/13/12 Last Seen: November 14, 2016 Author Share Posted August 13, 2013 A question about BGM file. Can we use space on the song file name? Example : Dancing Queen.mp3 or we can only use DancingQueen.mp3 only? you can ry that out since the bgm name is inside "" Okay. Thanks. mind sharing your script? Quote Link to comment Share on other sites More sharing options...
uDe Posted August 14, 2013 Group: Members Topic Count: 43 Topics Per Day: 0.01 Content Count: 400 Reputation: 5 Joined: 12/05/11 Last Seen: September 27, 2015 Share Posted August 14, 2013 (edited) It's just for testing purpose. Just now, I knew that mp3 file name must not content any other characters except 0 to 1 and A to Z. New Edit : Ah~ I've decided to share my script with you. This is my first script for playing song at my server. The script below will randomly play your songs. - script nRO#MP3 -1,{ end; OnMinute03: // For this script, I didn't use array to set the song timer. So, you can just roughly add the timer to play the next song. OnMinute08: OnMinute13: OnMinute18: OnMinute23: OnMinute28: OnMinute33: OnMinute38: OnMinute43: OnMinute48: OnMinute53: OnMinute58: switch(rand(1,3)) { // please edit this line if you're adding more songs. If you have 10 songs, then edit like this >> switch(rand(1,10)) { case 1: announce "[NeutralRO MP3] : Now playing deadmau5 - Raise your weapon. Enjoy!",bc_all,0xDA70D6; playBGMall "raiseurweapon"; break; case 2: announce "[NeutralRO MP3] : Now playing Kidz Bop - Starship. Enjoy!",bc_all,0xFFFF00; playBGMall "kidzstarship"; break; case 3: announce "[NeutralRO MP3] : Now playing Maroon 5 - Payphone. Enjoy!",bc_all,0xDA70D6; playBGMall "payphone"; break; //case 4: //announce "<YOUR ANNOUNCE HERE>",bc_all,0xDA70D6; //playBGMall "<YOUR MP3 FILENAME>"; //break; } } The instruction is already on the script. Easy to understand. Of course I've better script than this. But it's for my own server use. Edited August 14, 2013 by uDe Quote Link to comment Share on other sites More sharing options...
donkeyg Posted August 14, 2013 Group: Members Topic Count: 344 Topics Per Day: 0.07 Content Count: 1060 Reputation: 1 Joined: 02/13/12 Last Seen: November 14, 2016 Author Share Posted August 14, 2013 It's just for testing purpose. Just now, I knew that mp3 file name must not content any other characters except 0 to 1 and A to Z. New Edit : Ah~ I've decided to share my script with you. This is my first script for playing song at my server. The script below will randomly play your songs. - script nRO#MP3 -1,{ end; OnMinute03: // For this script, I didn't use array to set the song timer. So, you can just roughly add the timer to play the next song. OnMinute08: OnMinute13: OnMinute18: OnMinute23: OnMinute28: OnMinute33: OnMinute38: OnMinute43: OnMinute48: OnMinute53: OnMinute58: switch(rand(1,3)) { // please edit this line if you're adding more songs. If you have 10 songs, then edit like this >> switch(rand(1,10)) { case 1: announce "[NeutralRO MP3] : Now playing deadmau5 - Raise your weapon. Enjoy!",bc_all,0xDA70D6; playBGMall "raiseurweapon"; break; case 2: announce "[NeutralRO MP3] : Now playing Kidz Bop - Starship. Enjoy!",bc_all,0xFFFF00; playBGMall "kidzstarship"; break; case 3: announce "[NeutralRO MP3] : Now playing Maroon 5 - Payphone. Enjoy!",bc_all,0xDA70D6; playBGMall "payphone"; break; //case 4: //announce "<YOUR ANNOUNCE HERE>",bc_all,0xDA70D6; //playBGMall "<YOUR MP3 FILENAME>"; //break; } } The instruction is already on the script. Easy to understand. Of course I've better script than this. But it's for my own server use. can i play it in certain map only? izlude and prontera btw thanks for your scriprt! Quote Link to comment Share on other sites More sharing options...
uDe Posted August 14, 2013 Group: Members Topic Count: 43 Topics Per Day: 0.01 Content Count: 400 Reputation: 5 Joined: 12/05/11 Last Seen: September 27, 2015 Share Posted August 14, 2013 1 map for 1 song only? Quote Link to comment Share on other sites More sharing options...
Phantom Of Rogue-Gon Posted August 15, 2013 Group: Members Topic Count: 65 Topics Per Day: 0.02 Content Count: 181 Reputation: 0 Joined: 08/07/13 Last Seen: September 15, 2014 Share Posted August 15, 2013 i have script for this song npc list is work pm me if you want my script Quote Link to comment Share on other sites More sharing options...
donkeyg Posted September 2, 2013 Group: Members Topic Count: 344 Topics Per Day: 0.07 Content Count: 1060 Reputation: 1 Joined: 02/13/12 Last Seen: November 14, 2016 Author Share Posted September 2, 2013 1 map for 1 song only? the song only play in Prontera town, not dungeons. i have script for this song npc list is work pm me if you want my script Send me please. thanks! Quote Link to comment Share on other sites More sharing options...
uDe Posted September 3, 2013 Group: Members Topic Count: 43 Topics Per Day: 0.01 Content Count: 400 Reputation: 5 Joined: 12/05/11 Last Seen: September 27, 2015 Share Posted September 3, 2013 As you can see, from my script, I've used playBGMall. playBGMall "raiseurweapon"; So, every map will hear the song. And the most important thing you must know about BGM is, you can't warp to other map while the song is playing. Example, if you start the song at Prontera town, you may warp within Prontera town and prt_in only. If your're warp to other map like Izlude town, dungeons, you can't hear the song anymore. It's because of every official maps got it's own BGM. So, when you're entering other map, the BGM of that map will play automatically and your song will cancelled. Just stay on the same map until the song's finish. Quote Link to comment Share on other sites More sharing options...
Question
donkeyg
@request song NPC.
i added my song playlist into BGM folder.. how do i play those song with using NPC and it costs 1 million zeny? my song file is 200, 201, 202, 203, 204, 205, 206, 207, 208, 209 ,210
Link to comment
Share on other sites
24 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.