Staredit Network > Forums > Modding Assistance > Topic: (help) adding splash damage
(help) adding splash damage
Dec 3 2018, 11:52 am
By: Lagi  

Dec 3 2018, 11:52 am Lagi Post #1



would like to give Ultralisk splash damage.

I set splash(enemy)+radius in weapon.dat. But its not working.

what else is need?



None.

Dec 3 2018, 5:09 pm Voyager7456 Post #2

Responsible for my own happiness? I can't even be responsible for my own breakfast

I believe the "attackmelee" opcode used in the Ultralisk's attack animation does damage without actually spawning the bullet, so it ignores secondary effects like the splash damage.

Instead, edit the Ultralisk's iscript so it works in the same way as the Firebat:

Code
UltraliskGndAttkRpt:
    wait                   1
    nobrkcodestart
    playsndrand           3 891 892 893     # Zerg\Ultra\zulAtt00.WAV | Zerg\Ultra\zulAtt01.WAV | Zerg\Ultra\zulAtt02.WAV
    wait                   2
    playfram               0xdd     # Frame set 13
    wait                   2
    playfram               0xcc     # Frame set 12
    playsndbtwn             894 895
    attkshiftproj           20
    wait                   2
    playfram               0xbb     # Frame set 11
    wait                   2
    playfram               0xcc     # Frame set 12
    wait                   2
    playfram               0xdd     # Frame set 13
    wait                   2
    playfram               0xee     # Frame set 14
    wait                   2
    nobrkcodeend
    gotorepeatattk
    goto                   UltraliskGndAttkToIdle


You may need to adjust the distance on attkshiftproj to your liking. Then, change the graphic specified for Kaiser Blades in weapons.dat from "Scourge" to "White Circle"

For anyone interested in why we made these changes:
Explanation




all i am is a contrary canary
but i'm crazy for you
i watched you cradling a tissue box
sneezing and sniffling, you were still a fox


Modding Resources: The Necromodicon [WIP] | Mod Night
My Projects: SCFC | ARAI | Excision [WIP] | SCFC2 [BETA] | Robots vs. Humans | Leviathan Wakes [BETA]


Dec 5 2018, 12:11 pm Lagi Post #3



thanks

it works.

I was trying to mess with the attkshiftproj 20 to achive the long reach of Ultralisk, but even if I give him 2 range (weapon dat] and set the value to 40, he still need to touch the enemy to start eating.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[06:48 pm]
Ultraviolet -- :wob:
[2024-4-21. : 1:32 pm]
Oh_Man -- I will
[2024-4-20. : 11:29 pm]
Zoan -- Oh_Man
Oh_Man shouted: yeah i'm tryin to go through all the greatest hits and get the runs up on youtube so my senile ass can appreciate them more readily
You should do my Delirus map too; it's a little cocky to say but I still think it's actually just a good game lol
[2024-4-20. : 8:20 pm]
Ultraviolet -- Goons were functioning like stalkers, I think a valk was made into a banshee, all sorts of cool shit
[2024-4-20. : 8:20 pm]
Ultraviolet -- Oh wait, no I saw something else. It was more melee style, and guys were doing warpgate shit and morphing lings into banelings (Infested terran graphics)
[2024-4-20. : 8:18 pm]
Ultraviolet -- Oh_Man
Oh_Man shouted: lol SC2 in SC1: https://youtu.be/pChWu_eRQZI
oh ya I saw that when Armo posted it on Discord, pretty crazy
[2024-4-20. : 8:09 pm]
Vrael -- thats less than half of what I thought I'd need, better figure out how to open SCMDraft on windows 11
[2024-4-20. : 8:09 pm]
Vrael -- woo baby talk about a time crunch
[2024-4-20. : 8:08 pm]
Vrael -- Oh_Man
Oh_Man shouted: yeah i'm tryin to go through all the greatest hits and get the runs up on youtube so my senile ass can appreciate them more readily
so that gives me approximately 27 more years to finish tenebrous before you get to it?
[2024-4-20. : 7:56 pm]
Oh_Man -- lol SC2 in SC1: https://youtu.be/pChWu_eRQZI
Please log in to shout.


Members Online: Roy