<ApplyToTile> GameModifier tests

By on February 9, 2011 11:17:41 AM from Elemental Forums Elemental Forums

mqpiffle

Join Date 10/2010
+39

Tactical Mode Testing

After a couple of days of trial-and-error testing, I have come to the conclusion that <ApplyToTile> does not work in Tactical mode, hence why the spell Wall of Fire is commented out in the fire-tactical spell xml.  Some have noted that there is a <GameModifier> in the CoreTile TD_Groundfire which might help it work, but this GM does nothing (as far as I can tell) on either the Tactical or Strategic layers.

Strategic Mode Testing

<ApplyToTile> does work to some extent on the Strategic layer: it only triggers the GameModifier when a unit moves onto the applied tile.  If the unit does not move from the tile, the GM does not trigger at the beginning of the next turn, so, for example, a unit could be sitting in the middle of a raging inferno, yet not taking damage.  Of course one could use a <PerTurn> DoT type effect to help alleviate this for damage type effects.  I have yet to discover a work-around to this movement issue.  <ApplyToTile> also works in all affected tiles when the spell is set with a Radius > 0.

 

I will keep testing and post more conclusions if I come across any.

5 Replies
Search this post
Subscription Options


Reason for Karma (Optional)
Successfully updated karma reason!
February 9, 2011 3:32:14 PM from Elemental Forums Elemental Forums

Thanks for doing this. This post and the others like it you've made have been helpful references when I have time to write spell code.

Reason for Karma (Optional)
Successfully updated karma reason!
February 9, 2011 3:56:14 PM from Elemental Forums Elemental Forums

No problem.  I almost went postal trying to figure this one out, and I'm still working on it.

Reason for Karma (Optional)
Successfully updated karma reason!
February 9, 2011 5:21:12 PM from Elemental Forums Elemental Forums

I think you should look at the spell Wall of Fire or Create Vortex. What you will probably want to do is create a prop on the tile in question and apply your modifier to the prop.

Reason for Karma (Optional)
Successfully updated karma reason!
February 9, 2011 7:19:47 PM from Elemental Forums Elemental Forums

It doesn't work in tactical mode, and as far as the 'Vortex' in create vortex goes, there's not even a file called vortex.xml, so that definitely won't work.

Reason for Karma (Optional)
Successfully updated karma reason!
February 9, 2011 8:02:13 PM from Elemental Forums Elemental Forums

Hmmm...I have tried everything I can think of to make this work, but they all failed in tactical combat. I would imagine that the hooks for this in tactical combat have been either removed or are bugged. I will play around with it some more to see what happens.

Reason for Karma (Optional)
Successfully updated karma reason!
Stardock Forums v1.0.0.0    #108434  walnut1   Server Load Time: 00:00:00.0000156   Page Render Time: