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.
[01:39 am]
Ultraviolet -- no u elky skeleton guy, I'll use em better
[10:50 pm]
Vrael -- Ultraviolet
Ultraviolet shouted: How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
hey cut it out I'm getting all the minerals
[10:11 pm]
Ultraviolet -- :P
[10:11 pm]
Ultraviolet -- How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
[2024-4-17. : 11:50 pm]
O)FaRTy1billion[MM] -- nice, now i have more than enough
[2024-4-17. : 11:49 pm]
O)FaRTy1billion[MM] -- if i don't gamble them away first
[2024-4-17. : 11:49 pm]
O)FaRTy1billion[MM] -- o, due to a donation i now have enough minerals to send you minerals
[2024-4-17. : 3:26 am]
O)FaRTy1billion[MM] -- i have to ask for minerals first tho cuz i don't have enough to send
[2024-4-17. : 1:53 am]
Vrael -- bet u'll ask for my minerals first and then just send me some lousy vespene gas instead
[2024-4-17. : 1:52 am]
Vrael -- hah do you think I was born yesterday?
Please log in to shout.


Members Online: IlyaSnopchenko