Hello, I am Nizari and I'v been reading Phrozen Keep regularly since about 10 years. Somewhere at the end of 2017, I have joined the Discord channel, promising myself to register on the forum too at some point. In december I have asked Jetaman if he would be able to rip Treasure Goblin animations from Diablo 3. I always wanted to implement these exciting monsters in the mod I'm working on since years, also, I always wanted to release some nice public plugin, to give something from me to the community, which would be useful for other modders. Jetaman has agreed on helping to achieve this together. All those things gave me a perfect opportunity/reason to register on the forum and great material for the plugin.
The first animations we had were looking like this:
Additionally, the death animation has been completly broken and unable to be ripped.
Not long after, with my suggestion of merging D2's red portal animation with the goblin, Jetaman did this fantastic thing:
We had all the animations ready. I have also succesfully implemented it into the game and configured everything. At this moment 2 problems occured: how to make the portal animation transparent and how to make the goblin truly and permanently dissapear after he "runs away" through his portal (believe me, it's not as easy as it sounds). Thanks to Necrolis, who has taught me the new thing about cof files and fixed one of them, the first problem has been annihilated The second problem has been fixed thanks to my brainstorm with Ogodei after we got to conclusion that 3 things are needed: submerge/any other layer changing skill, very long monster sequence and a method to force the unit to erase (yes, erase, not kill) itself while submerged and do not drop any items. I did all of this thanks to the empty frames which Jetaman has added in "escape into a portal" anim, so the goblin is invisible while at the other layer (submerged), playing this invisible anim for extreme ammount of time via a sequence and using restore = 0 in MonStats2
The very last thing to do were the original D3 sounds. I educated myself on how to extract and convert D3 fsb sound files, however my old OS (win xp) didn't let me do it. And here I have to mention Black_Eternity who extracted the files for me I did the conversion and implemented them to finish the job.
Ok then, the Treasure Goblin has been completly ready, but wait, why not to add the other goblin kinds, such as Gelatinous Sire or Gem Hoarder? Jetaman has began his work on ripping all of them, while I'v been planning how to exactly implement them. Unfortunately not all can be used in D2, for example, we got this unholy abomination:
When all of this has been done, we encountered another problem, which was the half transparency of Gelatinous Sire. In Diablo 3, it looks ghost-like (bubble-like), however in Diablo 2:
The first of my ideas were to add fade via MonProp (well, duh?). Unfortunately it affected the portal animation too, which was unacceptable. Jetaman has came up with an answer to that! Make the goblins a multipart animations! Soon he made jumping and portal anim as a separated layers. Thanks to the knowledge I previously gained from Necrolis, the cof file has been properly configured, resulting in half visible goblin and fully visible portal.
In Diablo 3 we have blood shards and Blood Thief dropping them. In Diablo 2 we have runes. That's why Blood Thief got renamed to Rune Hoarder. As runes are meant (at least in vanilla) to be extremly rare, Rune Hoarder received a special spawning method (you can read more about it in Main README article of the download). Here is the animation of it, by the way it is the last animation created:
Implementing this was a bit problematic. S1, S2, S3 and S4 animation modes, when used to spawn/summon an unit got bugged speed (sometimes they do not display properly). You can observe it by summoning some Druid wolves. In case of our goblin, when spawned, his portal sometimes appeared normally and sometimes it didn't. That is why I had to use SC mode instead, which causes a nasty side effect - goblin can be attacked and even killed when appearing, while there is still only portal animation.
I hope you will all like the way the whole plugin is done, even with this 1 flaw.
The plugin contains goblins, fully configured and ready to use/be implemented in your mod in any game version. The archive has 2 methods of implementing them by yourself:
- pasting the data folder to vanilla game (for people which would like to add them to vanilla game)
- 1 by 1 (for modders)
Goblins included (all with good simulation of their Diablo 3's behavior):
- Treasure Goblin
- Gilded Baron
- Gelatinous Sire (including his spawns)
- Gem Hoarder
- Blood Thief, starring as Rune Hoarder
for making you read soo much
Here is a little gift, token of Odious Collector goblin for those of you, which got some crafting materials in your mods and would like to have a goblin dropping them too
You just have to make it the same as Gem Hoarder, but dropping crafting materials/any other things of your desire instead of gems.