View Issue Details

IDProjectCategoryLast Update
0026006AI War 2Bug - GameplayFeb 18, 2022 6:08 pm
Reportertadrinth Assigned ToChris_McElligottPark  
Severityminor 
Status resolvedResolutionfixed 
Product VersionBeta 3.771 Expert Mode And Civilian Industries 
Fixed in VersionBeta 3.806 Space Lasers 
Summary0026006: only_fires_on_death XML tag does not work
DescriptionWorking on adding a Neinzul Youngling Firefly which does a lightning AOE on death.

There is a 'only_fires_on_death' tag, but setting it to true doesn't cause the associated weapon to trigger on death. It's still included in the Strength calculation, though.

I can work around this by having the firefly spawn a core on death, and having the core work like an autobomb and deal itself 100% of its health when it fires. But that's not gonna be super great for perf, I suspect.
TagsNo tags attached.

Activities

Chris_McElligottPark

Dec 29, 2021 9:29 am

administrator   ~0063602

So, it looks like this was never fully implemented!

Could you set up your thing the way you want it to work, and post a save? I'll test that and get it working.

tadrinth

Dec 29, 2021 12:13 pm

reporter   ~0063605

Right now it's still in a mod. Enable mod, start game vs Neinzul Enthusiast AI type, and use cmd:insta waves to trigger a wave. You should get a wave with a bunch of Fireflies. I have adjusted them to have massive radius and damage on their deathsplosion for debug purposes.

tadrinth

Feb 15, 2022 8:11 pm

reporter   ~0064520

I think the Fireflies are in the main game now, no mod required to test this anymore.

Chris_McElligottPark

Feb 18, 2022 6:08 pm

administrator   ~0064597

Thanks! Got it working on my lightning warhead.

* Fixed an issue with how player units were scrapped that could cause them to not do their on-death effects. For warheads in particular, this was problematic, since (as in the first game), the main way of setting off the warhead is to scrap it.

* Fixed a further issue with only_fires_on_death not working because it thought the system was still cooling down (of course it was not, it has never fired by definition).

Issue History

Date Modified Username Field Change
Dec 23, 2021 3:18 pm tadrinth New Issue
Dec 29, 2021 9:29 am Chris_McElligottPark Assigned To => Chris_McElligottPark
Dec 29, 2021 9:29 am Chris_McElligottPark Status new => feedback
Dec 29, 2021 9:29 am Chris_McElligottPark Note Added: 0063602
Dec 29, 2021 12:13 pm tadrinth Note Added: 0063605
Dec 29, 2021 12:13 pm tadrinth File Added: TadrinthNeinzulEnthusiast - OP Fireflies.zip
Dec 29, 2021 12:13 pm tadrinth Status feedback => assigned
Feb 15, 2022 8:11 pm tadrinth Note Added: 0064520
Feb 18, 2022 6:08 pm Chris_McElligottPark Status assigned => resolved
Feb 18, 2022 6:08 pm Chris_McElligottPark Resolution open => fixed
Feb 18, 2022 6:08 pm Chris_McElligottPark Fixed in Version => Beta 3.806 Space Lasers
Feb 18, 2022 6:08 pm Chris_McElligottPark Note Added: 0064597