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




Look out and there's no atmosphere
No sign of life, it's only us here
We float along, no direction
No gravity, no recollection


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.
[04:47 pm]
Dem0n -- then again w/e
[04:46 pm]
Dem0n -- It's hardly even a SEN server honestly. Just mostly the same 10 people saying dumb shit LMAO
[04:46 pm]
Dem0n -- NudeRaider
NudeRaider shouted: Voyager7456 there should probably be a place more obvious that gives the link to the discord server. I'd say we're past trial stage by now.
no tbh. Lots of dumb people that shouldn't be on it.
[04:45 pm]
Suicidal Insanity -- Naw, somebody just redefined what one standard moose is
[04:39 pm]
Dem0n -- Our Moosey's all grown up C|:'^ )
[04:36 pm]
Dem0n -- O__________________________________________________________O
[04:17 pm]
jjf28 -- moose is no longer a mini O.O
[10:41 am]
NudeRaider -- NudeRaider
NudeRaider shouted: Voyager7456 there should probably be a place more obvious that gives the link to the discord server. I'd say we're past trial stage by now.
In the menu. Probably an item under Site, or preferably next to Wiki
[10:40 am]
NudeRaider -- Voyager7456
Voyager7456 shouted: You download Discord and join the SEN server :P
there should probably be a place more obvious that gives the link to the discord server. I'd say we're past trial stage by now.
[08:53 pm]
O)FaRTy1billion[MM] -- I'm pretty sure you can use the web one on phone too
Please log in to shout.


Members Online: Excalibur, Roy, Smithjaq2, UEDCommander, jun3hong