Author Topic: attack on death  (Read 2662 times)

Zoythrus

  • Guest
attack on death
« on: 18 June 2011, 16:10:15 »
i think that units should be able to be given an "attack on death" parameter, so they can attack when they die. a good example is a tank exploding and harming everyone in a small radius around it. the main difference between this attack and the ones now is that the unit could not "set itself off," that means that you wouldnt see any tanks running up to a guy and exploding.

geork

  • Guest
Re: attack on death
« Reply #1 on: 18 June 2011, 20:48:51 »
 Great...banelings in glest  ::)
   I do agree though, this would be very cool (you could have things like landmines!). I wonder if it is possible to create an alternate attack skill which creates this explosion, and put it in the death skill? I dunno, probabely not XD. In which case, this is an awesome idea!

Zoythrus

  • Guest
Re: attack on death
« Reply #2 on: 18 June 2011, 23:36:36 »
I wonder if it is possible to create an alternate attack skill which creates this explosion, and put it in the death skill? I dunno, probabely not XD. In which case, this is an awesome idea!

this was the main topic of my thread, not suicide bombers.

although, a "death on attack" would be a nice feature (maybe with a percentage to go with it, just in case you only want a chance of a unit blowing up when it attacks).

John.d.h

  • Moderator
  • Airship
  • ********
  • Posts: 3,757
  • I have to go now. My planet needs me.
    • View Profile
Re: attack on death
« Reply #3 on: 18 June 2011, 23:59:12 »
although, a "death on attack" would be a nice feature (maybe with a percentage to go with it, just in case you only want a chance of a unit blowing up when it attacks).
This might be of interest. https://forum.megaglest.org/index.php?topic=6529.msg74426

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: attack on death
« Reply #4 on: 19 June 2011, 03:32:28 »
although, a "death on attack" would be a nice feature (maybe with a percentage to go with it, just in case you only want a chance of a unit blowing up when it attacks).
This might be of interest. https://forum.megaglest.org/index.php?topic=6529.msg74426
I'm assuming you're refering to HP cost. That's not the same. He doesn't want a way to do a suicide attack, he wants the opposite: an attack to occur when the unit dies. Think, shooting a car in Call of Duty. It's gonna blow up when you "kill" it. If you're standing next to it when that happens, ouch.
Edit the MegaGlest wiki: http://docs.megaglest.org/

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

Zoythrus

  • Guest
Re: attack on death
« Reply #5 on: 19 June 2011, 04:11:42 »
although, a "death on attack" would be a nice feature (maybe with a percentage to go with it, just in case you only want a chance of a unit blowing up when it attacks).
This might be of interest. https://forum.megaglest.org/index.php?topic=6529.msg74426
I'm assuming you're refering to HP cost. That's not the same. He doesn't want a way to do a suicide attack, he wants the opposite: an attack to occur when the unit dies. Think, shooting a car in Call of Duty. It's gonna blow up when you "kill" it. If you're standing next to it when that happens, ouch.

well, now this topic has evolved to refer to both. to clarify things:
"Attack on Death" is what Omega just said - when the unit dies, it performs one last attack (such as an explosion)
"Death on Attack" is a suicide bomber - one who dies when the attack is performed.

Psychedelic_hands

  • Guest
Re: attack on death
« Reply #6 on: 19 June 2011, 10:31:05 »
I would totally support this  :thumbup:
Is there a way to have units "steal" hp from a target? If not, then maybe that could use the same mechanism.

John.d.h

  • Moderator
  • Airship
  • ********
  • Posts: 3,757
  • I have to go now. My planet needs me.
    • View Profile
Re: attack on death
« Reply #7 on: 19 June 2011, 10:34:06 »
I would totally support this  :thumbup:
Is there a way to have units "steal" hp from a target? If not, then maybe that could use the same mechanism.
Yeah, with recourse effects.  Theoretically, recourse effects could already be used to create suicide units, but I don't know if anyone has actually tried it.

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: attack on death
« Reply #8 on: 20 June 2011, 02:41:16 »
Military will make use of such a feature if implemented too, just because blowing up a tank should be at least PG-13!
Edit the MegaGlest wiki: http://docs.megaglest.org/

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

Zoythrus

  • Guest
Re: attack on death
« Reply #9 on: 20 June 2011, 04:33:56 »
Military will make use of such a feature if implemented too, just because blowing up a tank should be at least PG-13!
like this?


silnarm

  • Local Moderator
  • Behemoth
  • ********
  • Posts: 1,373
    • View Profile
Re: attack on death
« Reply #10 on: 27 June 2011, 11:23:47 »
ticket 343 [one time attack on die skill], do we need the die-on-attack version? or this hp-cost thingie instead/as well?
Glest Advanced Engine - Code Monkey

Timeline | Downloads

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: attack on death
« Reply #11 on: 27 June 2011, 13:00:03 »
ticket 343 [one time attack on die skill], do we need the die-on-attack version? or this hp-cost thingie instead/as well?
Die on attack is unneccessary, since it can already be done with a recourse effect. However, the hp-cost, while inferior to a recourse effect, would be useful since it would allow MG mods to be compatible with GAE. As well, it would be a slightly easier ability to use than a recourse effect, I suppose, though it's mostly the MG compatibility that I would use a reasoning to want this.

Milestone 1.0, though?
Edit the MegaGlest wiki: http://docs.megaglest.org/

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

 

anything