Europa Universalis IV

Europa Universalis IV

661 个评价
Cantons for Colonial Flags
6
6
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
205.370 KB
2020 年 3 月 28 日 下午 1:52
2020 年 9 月 14 日 上午 7:32
8 项改动说明 ( 查看 )

订阅以下载
Cantons for Colonial Flags

描述
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].
热门讨论 查看全部(3)
15
2024 年 12 月 31 日 上午 4:44
wait, all flags are bugged
Redride' s OG
0
2023 年 6 月 1 日 上午 5:36
Possible algorithm to compute the "zoom factor" for custom flags
MouToN
0
2020 年 4 月 13 日 下午 3:49
It's not loading
Jrookus
110 条留言
PeacefulExplore 8 月 20 日 下午 9:55 
Still seems to work
cool mod :steamthumbsup:
Tyddies 3 月 6 日 下午 4:42 
Great mod!
Gospodin Amodus 2024 年 10 月 31 日 上午 3:14 
Does it still work?
Limyx826 2023 年 11 月 7 日 下午 10:30 
So do 1.36 break this? Cause they change the UI of the game this time round.
MyUsersDark 2023 年 10 月 17 日 上午 8:00 
Basically required to play the game
MouToN 2023 年 6 月 1 日 上午 4:06 
... but for* custom flags ...
MouToN 2023 年 6 月 1 日 上午 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 2023 年 6 月 1 日 上午 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 2023 年 5 月 2 日 上午 2:33 
this is maybe the best flag mod in the game
Axl 2023 年 4 月 21 日 下午 5:46 
can comfirm this and sulphur's graphics are incompatible