Information and discussion for custom maps and mods.
SoScared
Posts: 1116 Joined: Wed Apr 11, 2012 6:16 pm
Location: Oslo
Contact:
Post
by SoScared » Sat Dec 17, 2016 8:35 pm
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.
Last edited by
SoScared on Sat Feb 04, 2017 5:26 pm, edited 1 time in total.
Nolt
Posts: 38 Joined: Fri Jun 19, 2015 10:04 pm
Location: Chile
Contact:
Post
by Nolt » Sun Dec 18, 2016 1:00 pm
Check the identation, seems you set it up as of explodes was a part of kills self, when it is not.
SoScared
Posts: 1116 Joined: Wed Apr 11, 2012 6:16 pm
Location: Oslo
Contact:
Post
by SoScared » Sat Jan 14, 2017 7:34 pm
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).
Nolt
Posts: 38 Joined: Fri Jun 19, 2015 10:04 pm
Location: Chile
Contact:
Post
by Nolt » Sun Jan 15, 2017 1:49 am
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
SoScared
Posts: 1116 Joined: Wed Apr 11, 2012 6:16 pm
Location: Oslo
Contact:
Post
by SoScared » Sun Jan 15, 2017 4:38 am
Yeah that's the code I'm using. It works^^
SoScared
Posts: 1116 Joined: Wed Apr 11, 2012 6:16 pm
Location: Oslo
Contact:
Post
by SoScared » Sat Feb 04, 2017 5:28 pm
Revisiting this thread. No matter what indentation used I still cannot attach a specific explosion to the invulnerability.
Help needed!
SoScared
Posts: 1116 Joined: Wed Apr 11, 2012 6:16 pm
Location: Oslo
Contact:
Post
by SoScared » Sat Apr 29, 2017 11:59 pm
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?