Champion Allegiance

Dual Allegiance Possible?

Hi folks,

Does anyone know if it's possible to use the Champion <Allegiance>Kingdom</Allegiance> tab to give certain champions dual allegiance (i.e. both to Kingdom and to Empire?) so they can be neutral/recruitable from both sides?

Will this cause general weirdness or will it work?

 

Best, Bendiwolf

6,427 views 13 replies
Reply #1 Top


As a follow-up question, I tried to change a certain champion's allegiance (if you must know, it was Vasim) from Empire to Kingdom using the <Allegiance>Kingdom</Allegiance> modifier in the CoreUnits.xml but it made no difference in a new game that I started (Vasim still was shown as having an Empire allegiance).

Does anyone knows what I am doing wrong or what do I have to do?

Or is it just a matter of race - all Krax heroes are automatically aligned with Empire, and the <Allegiance> tag makes no difference?

Any help on this will be greatly appreciated :)

Many thanks, Bendiwolf

Reply #2 Top

First of all, welcome to modding. Small projects like this are what got me hip deep into making my own version of FE. :)

 

Secondly, I have a few clarifying questions:

 

1) Did you edit the CoreUnits.xml file in the base game directory or put yours in the mods directory. Try backing up the original file and replacing it with your edited version in the main game directory. The mods folder is poorly implemented and many things do not translate from there correctly into the actual game. Obviously you ALSO have to back up your modded file, because a patch will obliterate it.

 

2) Look in the CoreUnits.xml for heroes with no allegiance. These heroes will have tie ins to quests (as opponents) or quests (as recruits). You should be able to compare these sections of the xml to normal heroes to see what you need to do to make a hero have no allegiance to one side or the other. If none of this works, you could always cut and paste the sections of an existing quest to do nothing but offer an unaligned hero.

Reply #3 Top


Hey TBS Gamer - thanks for your help

 

1) I did edit the CoreUnits.xml file straight from the base game directory as you suggest

2) I tried to delete the <Allegiance> tag as well as change it, but nothing going - in both cases, Vasim was still allied to the Empire when I started a new game...

 

:(

 

Any other clue or idea?

 

Thanks, bendiwolf

Reply #4 Top

I do not believe any of this is possible, unfortunately. Keep trying though!

Reply #5 Top

Are there any champions in Stormworld that are both allegiances?  Or are the "Special" race champions related to Empire?

Reply #6 Top

None are both allegiance. Special can be either empire or kingdom.

Reply #7 Top


So if I make a special race that looks just like the Krax but is kingdom-aligned, this will solve my problem?

Heavenfall, can you provide guidance about the easiest / quickest way to learn how to make a special race? I have some modding experience (units, items etc.) but have never created a race from scratch...

Reply #8 Top

Is there a special shortcut you need to start the game using edited xml? That might mess up ins2's efforts if missed.

Reply #9 Top

Quoting ins2, reply 7


So if I make a special race that looks just like the Krax but is kingdom-aligned, this will solve my problem?

Heavenfall, can you provide guidance about the easiest / quickest way to learn how to make a special race? I have some modding experience (units, items etc.) but have never created a race from scratch...
End of ins2's quote

For a race you need a racetype and its associated unittypes, and a raceconfig. It's fairly straight-forward, in CoreRaceTypes.xml, CoreRaceConfigs.xml and CoreUnits.xml

Reply #10 Top


Heavenfall I have another question

In your A_LIB_UnitStat_BG_vZG you have a folder called "CoreReplacementFiles" which has versions of CoreUnits, CoreWeapons, CoreSpells and CoreArmor

This is a problem for me as they override any changes I make to my own Core... files (located in my games directory), and I am having trouble making any changes to your files because they seem to have lost their formatting (no line breaks) which makes it very frustrating to try and change them

What exactly is it that you've changed in these files?

Remember that I am only using the reliquary to add your wonderful items in my own game.

Would it be possible to delete these files without severe repercussions or bugs to the reliquary?

Just to avoid any misunderstanding, I want to make some changes to my own CoreUnits, CoreWeapons and CoreItems file ONLY FOR MY OWN GAME...

Many thanks for your patience and help on this,

 

Best regards, Bendiwolf

Reply #11 Top

It is primarily used to give various units identifying unitstats. For example for a dragon I will add

      <UnitStat_BG_IsMonster>1</UnitStat_BG_IsMonster>
      <UnitStat_BG_IsDragon>1</UnitStat_BG_IsDragon>
End of quote

so that I can use this passively and actively for effects.

More info in this topic https://forums.elementalgame.com/417871

Note that coreweapons.xml and corearmor.xml themselves are empty, but I do overwrite weapons and armor and other items elsewhere.

 

Edit: I only half-answered. No, deleting the unitstat lib would make most Reliquary items not function.

 

Reply #12 Top

I think there might be a way to circumvent the problem with heroes being Empire or Kingdom: quest heroes. If I am not mistaken, quests can be taken by either faction, and the heroes that you get through them can work both ways. So, you'd only have to create the hero as a unit and put him inside some quest... It might work,

Reply #13 Top

Just so everyone knows, when I went into the coreunits.xml that was in the A_LIB_UnitStat_BG_vZG folder and changed the allegiance tab it worked like a charm, so problem solved :)