PVP/WOE DOTA SOUNDS

nikki1200

New member
Messages
113
Points
0
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,

 
Trigger a command on a OnPCKillEvent label :

Code:
*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.
 
The answer is in front of you, no its on the 2nd post.
default_biggrin.png


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

 
how can i install the .wav? can you teach/guide me on how to that? i'm still a newbie T_T

Thanks

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

 
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

 
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?

 
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,

 
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.

 
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
 
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.

 
Back
Top