Europa Universalis IV

Europa Universalis IV

661 vurderinger
Cantons for Colonial Flags
6
6
   
Pris
Føj til foretrukne
Gjort til foretrukken
Fjern som foretrukken
Filstørrelse:
Offentliggjort:
Opdateret:
205.370 KB
28. mar. 2020 kl. 13:52
14. sep. 2020 kl. 7:32
8 ændringsbemærkninger ( vis )

Abonner for at downloade
Cantons for Colonial Flags

Beskrivelse
This mod edits colonial flags, so that instead of taking the overlord's flag and cutting it in half, the overlord's flag is resized to half its size and put in a canton (top left corner) of the flag.



This is achieved by editing four shader files (masked_flag.shader, maskedflag_greydown.shader, text.shader and pdxmesh.shader). Because of that, this mod will work with any other mod, including ones that change flags, as long as those four files are not overwritten. To our knowledge, there are very few if any mods that do that.

Thanks to Hutama, flags on 3d map models and in text are also supported.

Works with revolutionary flags as well.

Known Issues

Overlord flag change

There is currently a bug present for colonies in vanilla with the 3d animated flags above cities. If the overlord changes its flag, the colonial flag will not get updated and will still display the old overlord flag.

This can happen when:
  • the overlord forms another country.
  • the overlord goes revolutionary.
  • the overlord is fully annexed by another country which then inherits the colony.

You will have to save and reload for the flags to be updated and displayed correctly.

This bug has been reported to Paradox and we can only hope it is fixed in a future update.

Detail loss on small UI flags

Nothing really to be done here, these UI flags are already tiny and lacking detail. Halving their size to tuck them in the corner means even further loss in resolution. Expect horizontal lines and small dot or symbols to disappear.

Sadly, a lot of the usual colonisers such as France, Great Britain or Denmark (after integrating Norway) are affected by this issue. How well. Form another tag or embrace the revolution as fast as you can and bleach your eyes in the meantime.

-------------------------------------------------------------------

Ironman compatible. Should work with any game version.

Feel free to use in your mods, provided you give credits to Yard1 & Hutama both in your mod description and in the relevant files.

Check other stuff I have worked on, especially Equestria at War :)

If you want to support me, please consider checking out my Patreon[www.patreon.com].
Populære diskussioner Vis alle (3)
15
31. dec. 2024 kl. 4:44
wait, all flags are bugged
Redride' s OG
0
1. juni 2023 kl. 5:36
Possible algorithm to compute the "zoom factor" for custom flags
MouToN
0
13. apr. 2020 kl. 15:49
It's not loading
Jrookus
110 kommentarer
PeacefulExplore 20. aug. kl. 21:55 
Still seems to work
cool mod :steamthumbsup:
Tyddies 6. mar. kl. 16:42 
Great mod!
Gospodin Amodus 31. okt. 2024 kl. 3:14 
Does it still work?
Limyx826 7. nov. 2023 kl. 22:30 
So do 1.36 break this? Cause they change the UI of the game this time round.
MyUsersDark 17. okt. 2023 kl. 8:00 
Basically required to play the game
MouToN 1. juni 2023 kl. 4:06 
... but for* custom flags ...
MouToN 1. juni 2023 kl. 3:31 
Also for txt.shader, I see that you use the formula
cantonCoord = v.vTexCoord + v.vTexCoordFlag * zoomFactor;
A general formula would be
int2 FlagsPerRowAndColumn = ...; // (16,16), (10,4), or (10,2)
cantonCoord = v.TexCoord + v.vTexCoordFlag / FlagsPerRowAndColmun;
For regular flags, FlagPerRowAndColumn is always (16,16) so your zoomFactor of (1/15,1/15) is quite close, but but custom flags, I have implemented, for a personal mod, a function that returns (10,4) or (10,2) — Vanilla values — which could be useful for your PixelShaderFlagTextColorColony::main.
MouToN 1. juni 2023 kl. 3:04 
Hi, can anyone tell me if this also works with custom nation flags?
I know that the texture coordinates of the pattern are treated by the shader as they would be for any regular flags, but I think that the symbol is just another layer, added after the masked flag and before the overlay.
theprimaroxas 2. maj 2023 kl. 2:33 
this is maybe the best flag mod in the game
Axl 21. apr. 2023 kl. 17:46 
can comfirm this and sulphur's graphics are incompatible