Life and Death Magic Race?

Hi,

I was wondering if it there is some simple way to create and mod a race or leader that is able to wield Life and Death magic - not really planning on changing anything else at the moment, but it seems the default game makes it normally impossible for a leader to wield both and I would like to try making a leader that does.

Hope I can be pointed in the right direction, and thanks in advance.

18,009 views 7 replies
Reply #1 Top

Create a custom sovereign, and go into documents/my games/legendaryheroes/units folder, and find the custom sovereign file. 

add these two lines into the file along with the other SelectedAbility** thingies. 

<SelectedAbilityBonusOption>Death1</SelectedAbilityBonusOption>
<SelectedAbilityBonusOption>Life1</SelectedAbilityBonusOption>

Just tested it myself, and seem to work fine... except for leveling up the magic..... 

<SelectedAbilityBonusOption>Life5</SelectedAbilityBonusOption> might be the only way if you want to wield both kinds of the same time. (death5 if you play kingdom) Depends on if you feel like it's cheating or not. 

Reply #2 Top

No, there is no easy way to do this.

Reply #3 Top

 Okay made a workaround for kingdoms. 

https://dl.dropboxusercontent.com/u/95181126/Deathmagic_for_Kingdoms.zip (extract into mods folder)

Add this line into your custom sovereign giving him "kingdom" deathmagic:

<SelectedAbilityBonusOption>Death1_2</SelectedAbilityBonusOption>


If someone knows how to make it customizable in create sovereign screen, please add to it, or tell me how so we can do a proper mod out of this ^^ 

Edit: Fixed broken link, and fixed placement in skill tree, you should be able to have all magics now if you want to ;)

+1 Loading…
Reply #4 Top

Quoting sjaminei, reply 3
If someone knows how to make it customizable in create sovereign screen, please add to it, or tell me how so we can do a proper mod out of this ^^

I don't know how, but as a work-around you could try making Death Magic for Kingdoms and Life Magic for Empires into a special book you can select in with the starting equipment.

Reply #5 Top

I'd rather do it properly if I invest more time in the mod ;) (life magic for empire is absent etc.) If you only want to experience the life/death combo, the current .xml file should do the trick. 

+1 Loading…
Reply #6 Top

Thank you very much for putting in the effort to make a mod. :)

Regarding a Life Magic Empire Mod : where would I be able to find the Life Magic data and would I need to change anything besides the names and  <Attribute></Attribute> field to make it work for the Empire?

 

EDIT : Also, if I mod my custom leader file and want to play him without the mod, would I need to worry about any errors or would it just be a matter of being careful with what save file I load?

Reply #7 Top

CoreAbilities.xml, copy Life-Life 5, and all life spells in CoreSpells.xml. You need to copy those and modify them to a new path like I did with death spells. It's a bit of an hassle, and not a quick fix sadly ;)

The mod only works when <SelectedAbilityBonusOption>Death1_2</SelectedAbilityBonusOption> is put into your sovereign. It should do nothing without it, and you could even forget it existed ;)

Savefile can't be "modded" after the fact, so a save has only old information. You need restart the game, and start a new game for new mods to "update" usually.