Jump to content
  • 0
Sign in to follow this  
nikki1200

PVP/WOE DOTA SOUNDS

Question

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

25 answers to this question

Recommended Posts

  • 0

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.

Share this post


Link to post
Share on other sites
  • 0

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" ) 

Share this post


Link to post
Share on other sites
  • 0

Put your .wav files on your wav folder and access it through the command i have posted awhile ago.

Share this post


Link to post
Share on other sites
  • 0

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.

Share this post


Link to post
Share on other sites
  • 0

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:

 

b755.png

Share this post


Link to post
Share on other sites
  • 0

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

Share this post


Link to post
Share on other sites
  • 0

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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.