Hey, i’m new to the forums and don’t know if we can do request for modders here, but i would like to ask if someone can do a mod that replaces de Dutch flag for a Belgian and a Flemish one to reflect the new revolution cards for thoses nations.
If you want that to replace the Dutch flag, that wouldn’t be an issue. If you wanted flag change after sending those cards I’m not sure if it’s possible to do on the DE as I don’t think we have a way to change the civ flag outside of actual revolts.
I actually forgot I saw this tech in WoL and I’m not in a position to check if this works for DE, but maybe it does.
<Tech name ='maltaflag' type ='Normal'>
<Effect type="FlagOverride" flagoverridebuttonset="maltaFlagBtn" flagoverridetex="War of the Triple Alliance\Flags\malta" flagpostgameoverridetex="War of the Triple Alliance\Flags\ingame_ui_postgame_flag_malta"></Effect>
Unfortunately, it seems that was something a Legacy modder unhardcoded into the game, which means it theoretically would be possible for DE but would require the devs to code it.
I’ve found two things in DE that involve changing flags.
The first one is from a setup for Historical Maps, it uses a FakeConversion effect combined with a ProtoUnitFlag effect. I’m not sure where the flagid is referencing from, nor if this is something that could be done midgame.
The second one can be found in the protoy and can be used to override the flag for that specific unit with whatever flag you want. You would have to copy+paste all the civ’s buildings with flags into new variants, add the override code in, then do like the Maya revolt where the tech transforms all the buildings into the variant. You’d also want to make sure those new variants are targeted by all existing techs i.e. cheaper Barracks, quick building Outposts, etc. and available on all the different villagers and wagons and all that.
Tangentially related, but the following function could be added to RMS, in the Rules section trPlayerOverrideCivFlag(%Player%, "%Civilization%");
It’s under the “Player : Override Civilization for Flag” trigger.
Could be combined with trPlayerOverrideCivName(%Player%, %StringID%);
under “Player : Override Civilization Name” trigger
for ### ##### ############## if player k has researched the above techs
but I haven’t found anything for techs