Staredit Network > Forums > Modding Discussion > Topic: Datedit: Splash attack on each attack.
Datedit: Splash attack on each attack.
Apr 25 2016, 2:01 am
By: ZergPandaling  

Apr 25 2016, 2:01 am ZergPandaling Post #1



I modified it but Broodlings, Zerglings, Ultralisks and Kerrigan can't splash attack as I put it to Splash Attack (Enemy) as I tried it.



None.

Apr 25 2016, 6:47 pm UndeadStar Post #2



Try changing in weapons tab the Graphics value to the same as the nuke (which is 172).

My logic is that splash damage need a bullet, a bullet need a flingy, and the flingy should be created through this option.

It's supposed to be invisible (I see "White Circle (Invisible)" as the label), so it may work without interfering in gameplay.

Make sure you've set the outer radius (targets for splash damage are searched within it).

That's what I can think of from the functions I've studied recently.Not tested.


edit: my bad.I think attackmelee (the attack command used in iscript for the units you mentioned) use a different logic with no use at all for bullets, so what I said probably would not have worked.
Make me think I will have to hook the corresponding function in GPTP to be more complete on my weapon hits hook.

Maybe somebody more used to iscript mods will be able to help you to change this "attackmelee" by something else, if that can fix the issue?

Post has been edited 1 time(s), last time on Apr 30 2016, 12:25 pm by UndeadStar.




Dec 11 2016, 11:35 am Sirius Post #3



I also want to know how to make melee units can do splash sttack...Modifying in DatEdit don't works.



None.

Dec 12 2016, 8:18 pm IskatuMesk Post #4

Lord of the Locker Room

Change the iscript to instead be either a standard attack or useweapon with the relevant id. As LivingMoon described, the attackmelee function doesn't actually spawn a projectile afaik it's more like a hitscan, so it won't function with splash. Use a hidden graphic (making one if necessary) so you don't see an actual projectile and then set the splash accordingly.



Show them your butt, and when you do, slap it so it creates a sound akin to a chorus of screaming spider monkeys flogging a chime with cacti. Only then can you find your destiny at the tip of the shaft.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[10:41 am]
ManCubuS -- Seems like something's broken regarding the site then. Sadge...
[07:36 am]
Oh_Man -- have i ever told u guys my SC2 pro-gamer story
[11:30 pm]
Ultraviolet -- That's strange, it looks like you targeted the base image file (sometimes people make the mistake of just using the imgur page link which doesn't work for embedding) but it still didn't work it sounds like.
[03:34 pm]
ManCubuS -- Used : " [img=https://i.imgur.com/gpOjTuD.jpeg] "
[03:28 pm]
ManCubuS -- Even tried with imgur, doesn't attach.
[03:14 pm]
ManCubuS -- I should try a workaround, thanks! Sadly imgur is blocked in my country for some unknown reason.
[03:05 pm]
NudeRaider -- I think SEN has trouble with https or hotlinking is forbidden. It certainly is nothing about the size, it just fails to get any size. You can get it working if you use imgur and include the actual image link for the img tag. Like this: [img=https://i.imgur.com/ddYqXZa.jpeg]
[2026-7-26. : 11:15 am]
ManCubuS -- Hey fellas! Anyone knows why when I try to upload an image it says "failed to get image size"? I even tried making it so small. Imgur isn't working here and I tried postimg no luck.
[2026-7-23. : 6:40 am]
Oh_Man -- true
[2026-7-23. : 3:16 am]
RIVE -- Still annoyed there was never a trigger to stop or pause wavs.
Please log in to shout.


Members Online: ManCubuS