Author Topic: Linear splash damage  (Read 2326 times)

lazyanttu

  • Guest
Linear splash damage
« on: 4 February 2012, 00:49:52 »
We currently have round splash damage, but how about linear splash damage? I mean that it would continue past the first unit hit, like lurkers in StarCraft: Brood War, ore hellions in StarCraft2. It would attack with a certain width and for certain lenght. That could be useful for flamethrowers, cannons, some special magic attacks and perhaps for some bombards.

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: Linear splash damage
« Reply #1 on: 4 February 2012, 17:15:20 »
There's no way to do it damage-wise, but you could visually simulate it with spreading.

See more: https://docs.megaglest.org/Particles/Spread
And because I'd hate to forget about this page again, you could also consider adding any created particle systems to the gallery page.
« Last Edit: 18 June 2016, 18:25:15 by filux »
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

Zoythrus

  • Guest
Re: Linear splash damage
« Reply #2 on: 7 February 2012, 18:04:57 »
There's no way to do it damage-wise, but you could visually simulate it with spreading.

i think this is the point of this thread.

lazyanttu

  • Guest
Re: Linear splash damage
« Reply #3 on: 7 February 2012, 20:09:45 »
Actually I was thinking it damage wise...Currenly both of my flamethrower units fire with range 0 and splash 1. To avoid hitting himself, I deliver the attack via effect which applies only to enemies and causes tick-immediately 0-duration negative hp-regen. However, I would like it to go further, but not so width. If that is not possible and is not going to be, then I must just redesign the units' attacks.