Page 1 of 1

Help needed. Specific death trait below specific condition..

Posted: Sat Dec 17, 2016 8:35 pm
by SoScared
I just can't get invurnerability to trigger an explotion with:

Code: Select all

KillsSelf:
	RequiresCondition: invulnerability
	Explodes:
		Weapon: MADTankDetonate
		EmptyWeapon: MADTankDetonate
The unit dies but doesn't provide for an explotion.

Any help on this would be greatly appreciated.

Posted: Sun Dec 18, 2016 1:00 pm
by Nolt
Check the identation, seems you set it up as of explodes was a part of kills self, when it is not.

Posted: Sat Jan 14, 2017 7:34 pm
by SoScared
The idea was to get the Iron Curtain to trigger the explosion.

Regardless I've decided to simply trigger the explosion when the unit dies regardless (by simply aligning 'explotions' with the other traits).

Re: Minor mystery.

Posted: Sun Jan 15, 2017 1:49 am
by Nolt

Code: Select all

KillsSelf:
	RequiresCondition: invulnerability
Explodes:
	Weapon: MADTankDetonate
	EmptyWeapon: MADTankDetonate
[/code]

If this doesn't work then... wait, Vanilla ORA doesn't have explode weapon, if that doesn't work then idk :|

Posted: Sun Jan 15, 2017 4:38 am
by SoScared
Yeah that's the code I'm using. It works^^

Posted: Sat Feb 04, 2017 5:28 pm
by SoScared
Revisiting this thread. No matter what indentation used I still cannot attach a specific explosion to the invulnerability.

Help needed!

Posted: Sun Feb 05, 2017 7:39 am
by Matt
Paul already put it on the developer TODO list: https://github.com/OpenRA/OpenRA/issues/12695

Posted: Sat Apr 29, 2017 11:59 pm
by SoScared
Bump!

With https://github.com/OpenRA/OpenRA/issues/12695
and https://github.com/OpenRA/OpenRA/pull/12705

I'm still banging my head against the wall on this one. I want to make the MAD Tank use the weapon 'MADTankDetonate' when hit by the Iron Curtain. Currently I can't make it happen without making the 'MADTankDetonate' the default death behavior.

More specifically:
  • How to utilize Explode's DeathTypes for when using the KillsSelf trait?
  • Is there an isolated DeathType that could be used/created for the IC?
  • Does 'Explodes:' have conditions?