Europa Universalis IV

Europa Universalis IV

661 hodnocení
Cantons for Colonial Flags
6
6
   
Ocenit
Přidat do oblíbených
Oblíbeno
Odebrat z oblíbených
Velikost souboru
Přidáno
Aktualizováno
205.370 KB
28. bře. 2020 v 13.52
14. zář. 2020 v 7.32
Poznámky ke změnám (8) – zobrazit

Klikněte na „Odebírat“ pro stažení položky
Cantons for Colonial Flags

Popis
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ární diskuze Zobrazit vše (3)
15
31. pro. 2024 v 4.44
wait, all flags are bugged
Redride' s OG
0
1. čvn. 2023 v 5.36
Possible algorithm to compute the "zoom factor" for custom flags
MouToN
0
13. dub. 2020 v 15.49
It's not loading
Jrookus
Počet komentářů: 110
PeacefulExplore 20. srp. v 21.55 
Still seems to work
cool mod :steamthumbsup:
Tyddies 6. bře. v 16.42 
Great mod!
Gospodin Amodus 31. říj. 2024 v 3.14 
Does it still work?
Limyx826 7. lis. 2023 v 22.30 
So do 1.36 break this? Cause they change the UI of the game this time round.
MyUsersDark 17. říj. 2023 v 8.00 
Basically required to play the game
MouToN 1. čvn. 2023 v 4.06 
... but for* custom flags ...
MouToN 1. čvn. 2023 v 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. čvn. 2023 v 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. kvě. 2023 v 2.33 
this is maybe the best flag mod in the game
Axl 21. dub. 2023 v 17.46 
can comfirm this and sulphur's graphics are incompatible