How to add melee splash damage?

Weekly updated column for helping skill development. Users can't directly post requests but a PM or mail can be sent to Skill-Clinician.

Moderator: Skill Clinician

Post Reply
JoeyRoss
Posts: 3
Joined: Sat Jun 09, 2018 7:53 am
China

How to add melee splash damage?

Post by JoeyRoss » Thu Jun 21, 2018 3:58 am

Hi.
I'm trying to add melee splash damage in my mod. I know many mods achieve this function,and I try to modify my skills.txt and misilles.txt adding a submisille to attack.Unfortunately,it doesnt work. :cry:
Then I copy the Dragontail to Attack in skills.txt.BUT I only see the flame explosion in attack without any splash damage.
Hope any Handsome boys can help me. Thanks a lot. :D

User avatar
jessedazebra
Junior Member
Paladin
Posts: 109
Joined: Sun Nov 11, 2012 9:46 am
Russia

Re: How to add melee splash damage?

Post by jessedazebra » Thu Jun 21, 2018 8:08 am

I got this cool thing work in my mod (the strings I took from Resurgence mod). Just simply copy these strings to the end of the every required file and it should work. And of course you have to add strings to any .tbl file (splash3 | Melee attacks deal splash damage). This file also contains magicprefix.txt with jewel modifiers, so this splash damage preperty can be spawned on jewels. You can just add these lines too, or add this property anywhere you want, like in uniqueitems.txt or whatever, it's up to you.
PS.I also added random missile to the CelFile column, so it has graphical effect. If you don't like it, you can just simply remove it by changing curseCast to none.
Attachments
splash.rar
(3.03 KiB) Downloaded 175 times
Image

JoeyRoss
Posts: 3
Joined: Sat Jun 09, 2018 7:53 am
China

Re: How to add melee splash damage?

Post by JoeyRoss » Thu Jun 21, 2018 9:03 am

jessedazebra wrote:
Thu Jun 21, 2018 8:08 am
by jessedazebra » Thu Jun 21, 2018 3:08 pm
Thanks for your reply.Its a great help. I will try again this weekend.

Grimspike
Posts: 2
Joined: Thu Jun 28, 2018 6:51 pm
Poland

Re: How to add melee splash damage?

Post by Grimspike » Fri Jun 29, 2018 8:28 am

Attached splash.rar file seems to be corrupted or it's not RAR archive... anyone can help?

User avatar
HarvestWombs
Senior Moderator
Angel
Posts: 985
Joined: Wed May 25, 2011 11:50 pm
United States of America

Re: How to add melee splash damage?

Post by HarvestWombs » Fri Jun 29, 2018 4:14 pm

Grimspike wrote:
Fri Jun 29, 2018 8:28 am
Attached splash.rar file seems to be corrupted or it's not RAR archive... anyone can help?
Works fine for me.
Official Phrozen Keep Discord
Common Modding tools: link
My Resource Packs: link

Grimspike
Posts: 2
Joined: Thu Jun 28, 2018 6:51 pm
Poland

Re: How to add melee splash damage?

Post by Grimspike » Fri Jun 29, 2018 5:28 pm

Black_Eternity wrote:
Fri Jun 29, 2018 4:14 pm
Works fine for me.
I've tried with different program and it actually works. :o
Thanks!

User avatar
FlowerDance
Posts: 11
Joined: Tue Feb 13, 2018 12:03 pm
Germany

Re: How to add melee splash damage?

Post by FlowerDance » Sat Dec 22, 2018 1:29 am

Very nice thanks for sharing jesse :D

Ensley03
Posts: 29
Joined: Sat Nov 21, 2015 7:51 pm
United States of America

Re: How to add melee splash damage?

Post by Ensley03 » Sat Jan 26, 2019 6:44 am

I can't get this to work and don't know why. I copied all the texts properly and put splash 1 1 (i assume it needs the 1 1 boolean thing?) on an item and nothing happens.

User avatar
jessedazebra
Junior Member
Paladin
Posts: 109
Joined: Sun Nov 11, 2012 9:46 am
Russia

Re: How to add melee splash damage?

Post by jessedazebra » Sat Jan 26, 2019 5:07 pm

Ensley03 wrote:
Sat Jan 26, 2019 6:44 am
I can't get this to work and don't know why. I copied all the texts properly and put splash 1 1 (i assume it needs the 1 1 boolean thing?) on an item and nothing happens.
Try to use 100 as min value and 1 as max.
Image

Ensley03
Posts: 29
Joined: Sat Nov 21, 2015 7:51 pm
United States of America

Re: How to add melee splash damage?

Post by Ensley03 » Sun Jan 27, 2019 12:21 am

I tried it on a unique cap and on a jewel I socketed into a weapon and had no luck. It also doesn't display any stat for it. I also have the string for splash3 so it should say 'melee attacks deal splash damage'. I know I copied the texts correctly. Not sure what else could be wrong.

User avatar
Tomkomaster
Posts: 89
Joined: Thu Feb 07, 2008 1:15 am
Slovakia

Re: How to add melee splash damage?

Post by Tomkomaster » Fri Feb 22, 2019 9:29 am

It doesn't work for me either, as it should. I copied every line from the txt files to my txt files, and when I socket the jewels with the Splash damage to a weapon and hit an enemy, everytime a chipped gem drops instead of splash damage. Anyone able to help?

User avatar
mmpx222
Junior Member
Paladin
Posts: 139
Joined: Sat Apr 26, 2014 9:19 am
Korea South

Re: How to add melee splash damage?

Post by mmpx222 » Fri Feb 22, 2019 3:09 pm

Tomkomaster wrote:
Fri Feb 22, 2019 9:29 am
It doesn't work for me either, as it should. I copied every line from the txt files to my txt files, and when I socket the jewels with the Splash damage to a weapon and hit an enemy, everytime a chipped gem drops instead of splash damage. Anyone able to help?
Sounds like you might have copied the wrong skill entry. Also, check if the skill ID number for hit-skill is correct and is in the correct column.
D2TXT / D2INI - Python scripts for editing TXT files, or converting between TXT ↔ INI files

User avatar
Tomkomaster
Posts: 89
Joined: Thu Feb 07, 2008 1:15 am
Slovakia

Re: How to add melee splash damage?

Post by Tomkomaster » Fri Feb 22, 2019 4:24 pm

Yes, that was the problem for me. It now works as intended, thank you mmpx222 :)

rhophius
Posts: 2
Joined: Tue Sep 03, 2019 12:29 am
Great Britain

Re: How to add melee splash damage?

Post by rhophius » Tue Sep 03, 2019 12:38 am

So i wanted to double check something, i added all the info to my files correctly, however the ID number for the skill clashes with something i already have, so i have to allocate it a new ID number? since when i find the gem the affix is shown as "An Evil Force" and the splash doesnt work. (im assuming that the missile ID and the skill ID have to match)

User avatar
Lady Isabelle
Hosted Forum Moderator
Champion of the Light
Posts: 280
Joined: Tue Jul 19, 2011 11:36 pm
United States of America

Re: How to add melee splash damage?

Post by Lady Isabelle » Tue Sep 03, 2019 2:17 am

Just set the ID to the next one in line. If the highest ID you have is 499, make it 500, etc.

Yes the IDs need to match

An Evil Force means you didn't put any strings for it.

rhophius
Posts: 2
Joined: Tue Sep 03, 2019 12:29 am
Great Britain

Re: How to add melee splash damage?

Post by rhophius » Tue Sep 03, 2019 9:40 am

Thanks, i found out the issue with the coding not working, the excel editor i was using for viewing the txt files was a load of crap, ive now fixed that and the splash effect works fine, just the description doesnt work. Not too sure on how i fiddle around with string files. (very odd thing happens now though, certain monsters when hit are emitting a huge shower of icebolts at my character)

tk90
Posts: 4
Joined: Wed Sep 18, 2019 4:13 pm
Austria

Re: How to add melee splash damage?

Post by tk90 » Sun Sep 22, 2019 6:39 pm

hey thanks for this! that is just what i was looking for!

i was just wondering if you could add some more range to the splash?

thanks !

User avatar
Lady Isabelle
Hosted Forum Moderator
Champion of the Light
Posts: 280
Joined: Tue Jul 19, 2011 11:36 pm
United States of America

Re: How to add melee splash damage?

Post by Lady Isabelle » Sun Sep 22, 2019 8:20 pm

tk90 wrote:
Sun Sep 22, 2019 6:39 pm
hey thanks for this! that is just what i was looking for!

i was just wondering if you could add some more range to the splash?

thanks !
You can edit the radius in it's missile.txt entry. Should be under serverHitPar1 and clientHitPar1

tk90
Posts: 4
Joined: Wed Sep 18, 2019 4:13 pm
Austria

Re: How to add melee splash damage?

Post by tk90 » Sun Sep 22, 2019 8:52 pm

Lady Isabelle wrote:
Sun Sep 22, 2019 8:20 pm
You can edit the radius in it's missile.txt entry. Should be under serverHitPar1 and clientHitPar1
hm there are no entries in serverHitPar1 or clientHitPar1 (or any of those). i was only to increase the Range of the "splash effect", so just the animation...
im still really bad at skills/missiles editing unfortunately

jyparkcan
Posts: 18
Joined: Wed Jan 20, 2010 11:19 pm

Re: How to add melee splash damage?

Post by jyparkcan » Mon Nov 18, 2019 9:05 pm

jessedazebra wrote:
Thu Jun 21, 2018 8:08 am
I got this cool thing work in my mod (the strings I took from Resurgence mod). Just simply copy these strings to the end of the every required file and it should work. And of course you have to add strings to any .tbl file (splash3 | Melee attacks deal splash damage). This file also contains magicprefix.txt with jewel modifiers, so this splash damage preperty can be spawned on jewels. You can just add these lines too, or add this property anywhere you want, like in uniqueitems.txt or whatever, it's up to you.
PS.I also added random missile to the CelFile column, so it has graphical effect. If you don't like it, you can just simply remove it by changing curseCast to none.
Thank you, I've been looking for something like this.
However I would like to make it so that it acts like a nova instead of firing out projectiles. Any tips on how I should achieve that?

Post Reply

Return to “Skill Clinic”