Jump to content
  • 1

Help - How to add soundeffect to trap when triggered?


iraciz

Question


  • Group:  Members
  • Topic Count:  140
  • Topics Per Day:  0.03
  • Content Count:  562
  • Reputation:   108
  • Joined:  10/05/12
  • Last Seen:  

Good day, browsing the data.grf I found 2 sound effects that belongs to ankle snare,  yes they exist and can be played. One of that sound is when the trap is deployed, and the other sound is when a monster step in (sounds like a stab).

SKILL_EFFECT_INFO_LIST = {

    [SKID.HT_ANKLESNARE] = {
    beginMotionType = ACTOR_STATE.ST_PICKUP,
    waveFileName = "effect\\hun_anklesnare.wav",
    },

I only managed to add the trap deployment sound in the skilleffectinfolist.lub with success,  but I need help with the second one, the sound when the monster step in, I tried many times but nothing happen. If someone could share me the raw file of the skilleffectinfolist.lub  with the whole thing (all job skills), I can do something. Any ideas?
 

Attached video, here you can see how the sound works properly when deployed the trap, but not when the monsters step in.

 

tolasa.png

Edited by iraciz
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  929
  • Reputation:   171
  • Joined:  04/05/13
  • Last Seen:  

D:\rathena\src\map\clif.cpp at line 3641 add the clif_soundeffect ( line 9278 ) to play sound effect.

Not sure it's work just guess..

Link to comment
Share on other sites

  • -1

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  3
  • Reputation:   0
  • Joined:  03/09/17
  • Last Seen:  

How did you to open .lub files?

Link to comment
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.   Paste as plain text instead

  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.

×
×
  • Create New...