Changeable Thread.

Stardock, would you be able to allow all hero characteristics to be redefined from the mods folder?  Currently you can change starting stats and starting traits, but when you try to redefine <DividesBattleExp> tag from the default of 1 to the changed number of 0, it doesn't work.  Only new heroes (ie. new InternalNames) can be given this ability, any attempt to redefine an existing hero doesn't change this ability.  Also, editing the CoreUnits.xml file in the installation directory doesn't help either, the core hero ability to always divide experience must be hardcorded.

For the next patch, would you be able to allow all hero abilities to be changed from the Mods folder, or at least allow the <DividesBattleExp> tag to be redefined from the Mods folder?  Currently it seems to have been hardcoded for all Core Heroes to have <DividesBattleExp> as 1 and it is impossible to change it to 0, even if the core files have been changed.

6,816 views 12 replies
Reply #1 Top

Are you sure about this StevenAus? Maybe I'm not understanding what you mean by Corehero units as I have created a mod several times to prevent these heroes from dividing XP.

Reply #2 Top

How did you do it?  I edited the core file of CoreUnits.xml and added to Bacco the Beggar's definition <DividesBattleExp>0</DividesBattleExp>, but when I went in to the game, he was still dividing experience.  This is with no mod changing it and the actual core files (CoreUnits.xml) saying <DividesBattleExp>0</DividesBattleExp> for Bacco.

Can you post or send me your mod to show me how you did it?

Reply #3 Top


Are you running any mods? because it works exactly as you suggest. Note if you are running mods and they are loaded after your mod it will overwrite what you just did. Hence, you will see no change when you actually did change the stuff.

Reply #4 Top

What mods change these core heroes?  What mods change Bacco, Mausolos, Araine, Haitan, Daxus, Pralius etc.  (but especially Bacco and Mausolos)?  Note that I could change basic stats and starting traits of all heroes, but when I put <DividesBattleExp>0</DividesBattleExp> in the same hero definition, it didn't work.

How would a mod file be able to change other stats and abilities but not be able to change the Divides one (like was done with Mausolos)?

Is it possible for a mod file to change a hero modified by a previous mod in one way without affecting the others?

Reply #5 Top

You should probably move this thread to the modding section (as I just tested out the Bacco and he was not dividing my xp).

Take for example the CoS mod. This mod doesn't change any of the units stats but it does make a copy of each of the units in order to add the background stats to them. Hence, this mod will change these core figures, and if your mod is loaded before CoS then your mod will be overwritten by the way FE:LH does unit modding (you have to copy the entire unit and it replaces the original copy).

There are a lot of mods that will do subtle changes to the units, like some of my henchmen mods do some subtle changes and most people do not realize that the mod is incompatible with other mods. When I claim my mods are compatible with CoS, I ensure that my mod is always loaded after CoS if I overwrite some things in that mod.

I can't say what mods you are running that is preventing the changes from happening, but there must be something causing the problem. Or it could come down to how do you know that these heroes are dividing XP? It is not an easy thing to test in general, I tested it by destroying the same group with the SAME combat rated army to ensure the same XP from both fights. Higher combat ratings can also cause lower XP.

From what you described you should get a unit that will not divide battle XP. I don't know all the details of your current mods and how you are changing the files, but as far as I can tell it should tell FE:LH not to divide the battle XP.

Reply #6 Top

Are you saying that it is possible if you introduce another hero to the army it could increase the combat rating and thus halve the experience given to heroes, even though one of them does NOT divide experience?  Fighting the same battle with one or two heroes.  That is what ManiiNames did too, and where he reported that putting two heroes together halved the experience.

Maybe there was nothing wrong with my IWishToServe mod after all.

Reply #7 Top

There might not be nothing wrong with your mod. But it is possible to increase the combat rating and thus reduce the XP received (Although I do not know the exact amount the XP would be reduced).

There may be nothing wrong with your mod, but I would go through each tag and do a simple spell check to start to see if there was a mild error of that type in your mod files.

Reply #8 Top

I just read through your other thread. There is nothing wrong with your mod, it is a mod conflict with CoS. In CoS, he redefines all the heroes and thus copies over all the old stats.

It is under

CoS\A_LHIB_UnitStat_BG_vB\CoreReplacements\CoreUnits.xml

I forget the order on loading, but his file is overwriting your file when you do CoS. I don't think there is anything wrong with your mod beyond getting things to work with CoS. Heavenfall might have some suggestions for you.

Reply #9 Top

There is nothing wrong with the tags in my file, they correctly say <DividesBattleExp>0</DividesBattleExp>.

This is what happened.  ManiiNames tested out one battle by playing it both with one hero and two heroes.  I did the same.  Two heroes halved the experience.

Is it possible that adding one more hero could approximately double the combat rating and thus approximately halve the XP received, even though one hero had the correct <DividesBattleExp>0</DividesBattleExp> tag?

Reply #10 Top

Maybe, but I think it is more of a conflict with the CoS mod, he does redefine Bacco the begger in his mod.

You can effectively double your combat rating if you add another hero together. I do not run CoS (or any mods really) when I play the game. So, when I ran it with Irane and Bacco, I had other spare units. I did a fight with Irane and then I did a fight with Irane and Bacco, but I had other fodder units to help keep the combat rating the same.

Also, editing quests from the mod folder is not possible (from my experience), I tried to do that once and the changes didn't take place, so I don't know if that might be the cause of your problem.

Reply #11 Top

So that's what the problem was.  Heavenfall redefines all the core heroes in the UnitStats (E Version) folder.  That's why my IWishToServe DivideXP changes didn't take.  And that's also why ManiiNames had the same problem as me, because he was using CoS (and thus the custom unitstats folder too).

It's funny how some changes work and some don't.  For example, the IWishToServe and NoXPSplit mods successfully add the custom skill icon, and the INeedToMove changes work despite having another version of Mausolos, Kasst, Bacco etc. in the UnitStats folder.  So I think it is possible for some doubled up hero redefinitions to not conflict.  You can redefine stats, you can redefine traits, but you can't redefine <DividesBattleExp> tag.

Reply #12 Top

The title of this thread is confusing. You only need to worry about compatability with CoS if you are using it.

Also, my mod overwrites a lot more than just units, monsters and heroes.

Spells are overwritten in:
COS_OVERWRITE_corespells.xml
CoreSpells.xml
tokensummon_Overwrite.xml

Various item overwrites in:
coreSPECIALEQ.xml
vsUnitType_Overwrite.xml

CoreForests.xml complete overwrite in:
CoreForests.xml

Coregoodiehuts in:
coregoodiehuts.xml