Mod music and/or add magic resistances?

I got the LE.  It came with a CD of over 20 tracks.  When I play the game, the SAME music plays, over and over, forever.  SAME music in every battle.  Is this a bug?  Or is that how it's meant to be and can it be modded.

Also, is there any way to mod in magic resistances for units in tactical battle.  Or at least an area I can see where the are listed (I'm a total modding noob, but would learn to improve this game).

Thanks for any help or info in advance.

 

 

 

3,959 views 3 replies
Reply #1 Top

Dunno about the music, but Magic Resistance is mostly possible at this point. Since all spells use calculations for their damage (and some effects), it wouldn't be that difficult to throw in another calculation that reduced/increased it based on some custom UnitStats. Percentage Resistances (with a default of 1, meaning they take 100% of the normal effect) would likely work the best here.

The biggest problem here is that you'll have to set the Magic Resistance of everything you want to have to a different Magic Resistance than the default, and units are spread across a heckuva lot of files...

The files you'll want to look at are CoreUnitStats, and any of the Core spell and unit xml files.

Take a look at this thread about the Calculation tag for more info on it:

https://forums.elementalgame.com/394151

Reply #2 Top

To include magic resistance at this point, you'd need to mod every spell that you wanted to be affected, and every unit that you wanted native resistance for. You'd probably be best off by adding a new unitstat, but that at least is very easy. Then you'd need a source for the stat, which would reasonably be basic unit stats, items and spell buffs. To make it fun to play with, it would be logical to assume that we could see the stat somewhere, which I don't know how to do.

Reply #3 Top

Quoting Heavenfall, reply 2
To make it fun to play with, it would be logical to assume that we could see the stat somewhere, which I don't know how to do.
End of Heavenfall's quote

In terms of the properties of UnitStats, Hidden=0 should make it visible on equipment, at the least, and on the book entries of units you don't own, but not the ones you do, for whatever reason.

Upgradeable=1 will make it visible on the Book Entry page along with the other Champion stats, but it will also show up on the Level Up screen and might end up shunting off one of the Core stats off that screen once the Champion receives Essence, since it doesn't have scroll bars. New stats do seem to always appear on the bottom of the list, however, and ends up getting replaced by Essence once the Champion is imbued, however.