Hello everyone,
I was wondering if anyone knows how the effectsound.txt is working, since there occurs some weird behaviour to me. First of all I'm not really certain how the entries are linked to the specific monster.
Let's have a look at "Big eyed ghost" as an example, the entries are as followed:
It's kinda obvious when a specific soundfile is played. However, the "CodeName" is kinda confusing since it does not match the DB nor the characterdata_5000.txt entry. Generally all monsters in effectsound.txt are missing they're region prefix (CH, WC, OA, KT, KK), so I'm wondering how "MOB_BIGEYEGHOST" is linked to "MOB_CH_BIGEYEGHOST". This naming convention changes at donwhang cave monsters and EU monsters from where on the region prefix (DH, EU, AM, ....) is attached again.
I thought maybe it's this way because the other mobs are older and part of the "base game" and they may have a different implementation. However, this doesn't really makes sense to me since I added a new monster based of the BIGEYEGHOST. The effectsound entries are as followed:
The sound works perfectly well and the pattern is exactly the same. There is no link to the DB or characterdata Codename, the actual DB codename is "MOB_CH_BIGEYEGHOST_EVIL".
So far so good. But now I wanted to add another monster which is a copy of the "Crab" monster. First let's have a look at the crab effectsound entries:
These entries contain the region prefix (AM) as I stated earlier. The sounds in-game work perfectly well. Now I created another new monster which is a copy of the "Crab" monster and added the effectsound entries in the same way.
However, this entries don't work. When I hit the monster in-game it plays sounds like you'd hit a player, which is something as a "placeholder" sound I guess? The sounds also didn't work when I removed the region prefix (AM) and they also do not work when I replace the codename of "MOB_AM_CRAB" with "MOB_AM_CRAB_BOSS". This only leads into crab monster not doing any sound at all (which kinda falsify my "placeholder" sound theory) and "MOB_AM_CRAB_BOSS" still giving me "player sounds".
I don't have any idea what I'm missing or where I made a mistake. I'd be really grateful if someone could enlight me.
I was wondering if anyone knows how the effectsound.txt is working, since there occurs some weird behaviour to me. First of all I'm not really certain how the entries are linked to the specific monster.
Let's have a look at "Big eyed ghost" as an example, the entries are as followed:
It's kinda obvious when a specific soundfile is played. However, the "CodeName" is kinda confusing since it does not match the DB nor the characterdata_5000.txt entry. Generally all monsters in effectsound.txt are missing they're region prefix (CH, WC, OA, KT, KK), so I'm wondering how "MOB_BIGEYEGHOST" is linked to "MOB_CH_BIGEYEGHOST". This naming convention changes at donwhang cave monsters and EU monsters from where on the region prefix (DH, EU, AM, ....) is attached again.
I thought maybe it's this way because the other mobs are older and part of the "base game" and they may have a different implementation. However, this doesn't really makes sense to me since I added a new monster based of the BIGEYEGHOST. The effectsound entries are as followed:
The sound works perfectly well and the pattern is exactly the same. There is no link to the DB or characterdata Codename, the actual DB codename is "MOB_CH_BIGEYEGHOST_EVIL".
So far so good. But now I wanted to add another monster which is a copy of the "Crab" monster. First let's have a look at the crab effectsound entries:
These entries contain the region prefix (AM) as I stated earlier. The sounds in-game work perfectly well. Now I created another new monster which is a copy of the "Crab" monster and added the effectsound entries in the same way.
However, this entries don't work. When I hit the monster in-game it plays sounds like you'd hit a player, which is something as a "placeholder" sound I guess? The sounds also didn't work when I removed the region prefix (AM) and they also do not work when I replace the codename of "MOB_AM_CRAB" with "MOB_AM_CRAB_BOSS". This only leads into crab monster not doing any sound at all (which kinda falsify my "placeholder" sound theory) and "MOB_AM_CRAB_BOSS" still giving me "player sounds".
I don't have any idea what I'm missing or where I made a mistake. I'd be really grateful if someone could enlight me.