Hi all,
OK bit of a longshot here.. but just wondering what you guys think... the L5 Fire spell "Wall of Fire" has (as well as other stuff) this in it's code:
<GameModifier>
<ModType>City</ModType>
<Attribute>WallOfFire</Attribute>
<Duration>-1</Duration>
</GameModifier>
<GameModifier>
<ModType>City</ModType>
<Attribute>BattleAutoCastSpell</Attribute>
<StrVal>WallOfFire_Effect</StrVal>
<Duration>-1</Duration>
</GameModifier>
So the second bit (WallOfFire_Effect) is the actual spell effect that causes damage to enemy units, I get that cool. The bit i'm interested in is the first modifier... the first bit uses a mod attribute of "WallOfFire". This is the thing that renders a particle wall of fire effect on the strategic map (looks rather neat). I'd like to create similar spells, eg. Wall of Ice maybe that shows a similar effect on the strategic map.
In CoreCityWalls.xml we find this:
<CityWallSet InternalName="CityWalls_WallOfFire">
<StraightIcon>gfx/TacticalIcons/Wall_Stright_Solid.png</StraightIcon>
<InnerCornerIcon>gfx/TacticalIcons/Wall_Inside_Solid.png</InnerCornerIcon>
<OuterCornerIcon>gfx/TacticalIcons/Wall_Outside_Solid.png</OuterCornerIcon>
<GateIcon>gfx/TacticalIcons/Wall_Gate_Solid.png</GateIcon>
<Straight>Wall_of_Fire_Straight_Tile</Straight>
<InnerCorner>Wall_of_Fire_Inside_Tile</InnerCorner>
<OuterCorner>Wall_of_Fire_Outside_Tile</OuterCorner>
<Gate>WallOfFire_Gate_01</Gate>
<DefenseBonus>0</DefenseBonus>
</CityWallSet>
I tried created a new on of these, eg. <CityWallSet InternalName="CityWalls_WallOfIce"> and then specifying an effect of "WallOfIce" but didn't seem to do anything.
It doesn't look possible... I think the WallOfFire effect might be hardcoded... what do you think? Any ideas on how to get something remotely similar?
Thanks