nikki1200 1 Posted October 27, 2013 Hi All, Good Day, Seeking for your assistance or guidelines on how to create a dota sounds like monster kill, godlike etc.. every kill when entering the pvp/woe? i don't have any idea on how to do that. can you help me please? Please advise, Thanks, Quote Share this post Link to post Share on other sites
0 Patskie 88 Posted October 27, 2013 Trigger a command on a OnPCKillEvent label : *soundeffect "<effect filename>",<type>;*soundeffectall "<effect filename>",<type>{,"<map name>"}{,<x0>,<y0>,<x1>,<y1>};These two commands will play a sound effect to either the invokingcharacter only ('soundeffect') or multiple characters ('soundeffectall').If the running code does not have an object ID (a 'floating' NPC) or isnot running from an NPC object at all (an item script) the sound will becentered on the character who's RID got attached to the script, if any.If it does, it will be centered on that object. (an NPC sprite)Effect filename is the filename in a GRF. It must have the .wav extension.It's not quite certain what the 'type' actually does, it is sent to theclient directly. It probably determines which directory to play the effectfrom. It's certain that giving 0 for the number will play sound files from'datawav', but where the other numbers will read from is unclear.The sound files themselves must be in the PCM format, and file namesshould also have a maximum length of 23 characters including the .wavextension:soundeffect "1234567890123456789.wav", 0; // will play the soundeffectsoundeffect "12345678901234567890.wav", 0; // throws gravity errorYou can add your own effects this way, naturally. Quote Share this post Link to post Share on other sites
0 nikki1200 1 Posted October 27, 2013 is there a guidelines or tutorial on this? i'm still a newbie T_T Thanks, Quote Share this post Link to post Share on other sites
0 Poison 10 Posted October 28, 2013 The answer is in front of you, no its on the 2nd post. Quote Share this post Link to post Share on other sites
0 nikki1200 1 Posted October 28, 2013 does it say triple kill when the player killed 3 player? THanks Quote Share this post Link to post Share on other sites
0 Patskie 88 Posted October 28, 2013 does it say triple kill when the player killed 3 player? THanks The command on the post#2 will trigger the sound file (.mp3) on your wav folder. Some tip to accomplish this : 1. Make a script that will count how many kill or streak a certain player has 2. Once the streak reaches 3 or more. Trigger the command in post#2 and put the name of the .wav file that corresponds to the streak of the player ( if player has 3 streak then trigger the "triplekill.wav" ) Quote Share this post Link to post Share on other sites
0 nikki1200 1 Posted October 28, 2013 how can i install the .wav? can you teach/guide me on how to that? i'm still a newbie T_T Thanks Quote Share this post Link to post Share on other sites
0 Patskie 88 Posted October 28, 2013 Put your .wav files on your wav folder and access it through the command i have posted awhile ago. Quote Share this post Link to post Share on other sites
0 nikki1200 1 Posted October 29, 2013 Hi Sir Patskie, Sorry but where can i find the wav folder? am i going to create wav folder on trunk folder? Please advise, Thanks, -nik Quote Share this post Link to post Share on other sites
0 Mhalicot 392 Posted October 29, 2013 I think its on RO/BGM/ Quote Share this post Link to post Share on other sites
0 nikki1200 1 Posted October 29, 2013 oh i see.. Thanks.. can you give me a sample script full script for me to have an idea? and it means i'm going to create another script right on custom folder? Quote Share this post Link to post Share on other sites
0 nikki1200 1 Posted October 30, 2013 Hi Sir, Following this up please. do i need to create another script in custom for me to able to implement this? Please advise, Thanks, Quote Share this post Link to post Share on other sites
0 jaBote 438 Posted October 30, 2013 Obviously, any new script you want to implement should be done in a new text file with the full script. If you are too lazy for making a full new PvP ladder script, I think you can use this old one posted back in eAthena: http://www.eathena.ws/board/index.php?showtopic=237765 Remember to also install the sounds in your data folder if you want them to be heard ingame. Also, maybe you'd have to register an account in eAthena prior to downloading files. You can do that without any problem. Since it's too old, you could still have some errors when parsing it, I haven't tested it. Quote Share this post Link to post Share on other sites
0 nikki1200 1 Posted October 31, 2013 can't dl due to the adminstrator declining register member. Thanks, Quote Share this post Link to post Share on other sites
0 Mhalicot 392 Posted October 31, 2013 (edited) LOL, theres a mirror link.. Click it and save the file that will open.. Edited October 31, 2013 by sevenzz23 1 nikki1200 reacted to this Quote Share this post Link to post Share on other sites
0 nikki1200 1 Posted October 31, 2013 Thanks Sir sevenzz23 ^^ Quote Share this post Link to post Share on other sites
0 nikki1200 1 Posted October 31, 2013 Hi Sir's, May i know on how to put sounds on GRF? please advise, Thanks, Quote Share this post Link to post Share on other sites
0 jaBote 438 Posted October 31, 2013 First, all the sounds must be in .wav format. Then, open your GRF with a tool designed for that, then go to the data/wav folder (or make it if your GRF hasn't that) and simply put all of your wavs in there. Notes: Default directory after opening a GRF is data; so you should just open the data/wav folder inside that. Also, don't use the data/wav/effect folder if it exists, just the data/wav folder. Example pic of wav folder on the official data.grf: 1 nikki1200 reacted to this Quote Share this post Link to post Share on other sites
0 nikki1200 1 Posted October 31, 2013 Thanks Sir I already added the wav file into my grf using grf builder. however i noticed that the player get dc every time they killed. Quote Share this post Link to post Share on other sites
0 jaBote 438 Posted October 31, 2013 Maybe you didn't put it well, do the sounds match with the ones referenced in the script? Quote Share this post Link to post Share on other sites
0 nikki1200 1 Posted November 1, 2013 hmm.. i think the problem is if player are not updated the files and no wav folder in the data folder they encountered problem. Quote Share this post Link to post Share on other sites
0 ossi0110 200 Posted November 1, 2013 uhm you should apply a patch for this , you cant add a script whate use new files and dont share this over the patcher to the other players Quote Share this post Link to post Share on other sites
0 jaBote 438 Posted November 1, 2013 All clients must have the sounds in their respective data folder to work, so try giving them a new GRF or better use a patcher for managing the patch of the new files. 1 nikki1200 reacted to this Quote Share this post Link to post Share on other sites
0 nikki1200 1 Posted November 1, 2013 Thanks and noted Sir. My problem is now the patcher. i don't know how to make a patcher. do you have a tutorial? Please advise, Thanks, Quote Share this post Link to post Share on other sites
0 jaBote 438 Posted November 1, 2013 We have some guides for setting up patchers in our Wiki, inside this category. Quote Share this post Link to post Share on other sites
0 silent01 0 Posted March 28, 2016 Hello All..Who Have Script Dota Sound..My Script Dota Sound DOn have Wav Sound Quote Share this post Link to post Share on other sites
Hi All,
Good Day, Seeking for your assistance or guidelines on how to create a dota sounds like monster kill, godlike etc.. every kill when entering the pvp/woe? i don't have any idea on how to do that. can you help me please?
Please advise,
Thanks,
Share this post
Link to post
Share on other sites