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

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

jessedazebra
Junior Member
Paladin
Posts: 144
Joined: Sun Nov 11, 2012 9:46 am
Zimbabwe

Re: How to add melee splash damage?

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

.
Last edited by jessedazebra on Sat Feb 19, 2022 9:40 am, edited 2 times in total.

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
Arch-Angel
Posts: 1019
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: 31
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.

jessedazebra
Junior Member
Paladin
Posts: 144
Joined: Sun Nov 11, 2012 9:46 am
Zimbabwe

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.

Ensley03
Posts: 31
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: 96
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: 154
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: 96
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: 326
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: 326
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?

arva
Posts: 27
Joined: Sat Dec 17, 2016 4:00 pm

Re: How to add melee splash damage?

Post by arva » Wed Mar 25, 2020 5:23 pm

Thanks for this! I've successfully created a cleave skill for my barb and it works like a charm. However the splash damage seems to hit eventhough the normal attack misses and I,m guessing this is a case och att-skill rather than hit-skill rendering AR useless. I wish to have this activated upon hits only. I also want to make the skill for 2H wpns only, including swords held with both hands but not with one hand.

ascar
Posts: 69
Joined: Mon Aug 02, 2021 6:40 pm
France

Re: How to add melee splash damage?

Post by ascar » Mon Aug 02, 2021 7:27 pm

Hello, i just tried it and my game is crashing when i hit with splash weapon, cant understand... :D


Edit, i put the wrong line ID

But now nothing crashes but there is no splash.... what serv and client function do you use for splash skill??

mengxuecen
Posts: 33
Joined: Mon Mar 11, 2019 5:34 am

Re: How to add melee splash damage?

Post by mengxuecen » Sat Aug 28, 2021 10:56 am

Can Whirlwind be triggered?

User avatar
eleriaqueen
Posts: 57
Joined: Mon Dec 16, 2019 8:49 am
France

Re: How to add melee splash damage?

Post by eleriaqueen » Sat Aug 28, 2021 7:48 pm

In case someone has issues putting this splash property on a unique item, simply paste the following data onto an UniqueItem starting at "propX":

Code: Select all

splash	proc_SplashDamage	100	1
(I would also advise against leaving the value 128 in SrcDamage column in Missiles.txt as it makes the aoe deal 100% of the damage of the attack which seems a bit overpowered !)

ascar
Posts: 69
Joined: Mon Aug 02, 2021 6:40 pm
France

Re: How to add melee splash damage?

Post by ascar » Sun Sep 12, 2021 8:51 pm

File is Damaged.

Still didnt manage to make it work, i see the stat on item but no splash when i hit...
i use fonction 163 (what is the correct one to use?) :
All my txt are filled, property, item stat cost, missiles, automagic, weapon...

proc_SplashDamage 374 163 proc_splashdamage proc_splashdamage 1 5 none A1 A1 xx 1 1 1 1 1 8 4 1 1 0 extra phys dmg% 5 range 1 5 2 8 128 0

Post Reply

Return to “Skill Clinic”