Europa Universalis IV

Europa Universalis IV

Cantons for Colonial Flags
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
Koltwilly 2022 年 3 月 17 日 上午 11:02 
little update if you are curious, somehow sulphur's graphic pack did not disable during my trouble shooting, so that is what was causing the issue, as far as i can tell they edit some of the same shaders
Koltwilly 2022 年 3 月 6 日 上午 11:01 
@yard1 not sure why it's acting up with me lol, I singled it down to your mod causing me the issue. weird but glad it works for everyone else. I'm gonna try a fresh install and maybe that will fix the issue
Hauptmann Schmutz 2022 年 3 月 5 日 下午 1:56 
It works fine for me @yard1. Thanks for this mod btw.
Yard1  [作者] 2022 年 3 月 4 日 上午 6:26 
@Koltwilly there are no differences in the files this mod modifies between the updates, and everything looks fine to me in-game. Maybe it's some other mod causing this for you :(
Yard1  [作者] 2022 年 3 月 4 日 上午 6:07 
@Koltwilly thanks, will take a look
Koltwilly 2022 年 3 月 3 日 下午 10:13 
after the most recent update breaks the unit sprites for every nation. Will prob need an update unless i am just unlucky lol
Steggo 2022 年 1 月 21 日 下午 7:51 
Works great in Anbennar Steam and BitBucket if anyone was wondering. Lowkey the best mod for any colonial playthrough. <3
Chiantozzo 2022 年 1 月 1 日 下午 5:04 
I've been looking for a mod like this for ages, i love this, it's perfect.
Gunteraz 2021 年 11 月 12 日 上午 7:55 
Nice mod, seems to work perfectly fine on the 1.32.01_beta patch.
Xylo 2021 年 9 月 10 日 下午 6:27 
I'm not sure why but this mod is crashing me when I try to start a game with it enabled.
Mugen 2021 年 8 月 28 日 上午 6:08 
literally unplayable without this mod
boobs in profile pic 2021 年 8 月 11 日 上午 9:53 
Would it be possible to remove revolutionary flags and keep your original flag?
Yard1  [作者] 2021 年 5 月 25 日 上午 3:32 
It should
Archangel 2021 年 5 月 23 日 下午 3:10 
This mod still work?
Hutama  [作者] 2021 年 1 月 29 日 下午 3:12 
@Bullet Here you go ; ) (bonus : other patterns )
I'll try to make a mod out of that this weekend.
Yard1  [作者] 2021 年 1 月 29 日 上午 7:39 
@Hutama @Bullet I think one could try to make country-specific patterns by checking what sort of colors are used and then changing the pattern based on that (as I think revolutionary flags have all unique color combinations). Ofc that won't work with mods that change those.

@Malvagor looks great, good luck with that!
Hutama  [作者] 2021 年 1 月 28 日 下午 2:16 
@Malvagor This looks really nice ! Maybe you can make use of the patterns used for custom flags (Europa Universalis IV\gfx\custom_flags\pattern2.tga)

@Bullet Btw, this file is the one where the game takes the revolutionnary flag pattern, by shifting the flag coords in the code it would be possible to make it use the horizontal one by default instead.
Malvagor 2021 年 1 月 28 日 上午 1:33 
@Yard1 I haven't finalised the designs but it's essentially using a combination of the parent country color and the colonial region color to create a pattern in the remaining 3 quadrants, because I loved the idea of having cantons but the resultant flags felt a bit plain. Here's an example of what I've managed so far: link [imgur.com]

Feel free to add me if you want to talk about it :)
Yard1  [作者] 2021 年 1 月 27 日 下午 12:01 
@Malvagor Sure. What are you planning on doing?
Malvagor 2021 年 1 月 26 日 下午 11:44 
Hi, I love the mod and the shader manipulation you did!

I was actually poking around in the mod files because I found the resulting flags still too plain and managed to give the flags different patterns in the remaining space (e.g. stripes, divisions, etc). Since I used your code as a base, do you mind if I make an extended version of this mod? With credits of course :)
Yard1  [作者] 2021 年 1 月 6 日 上午 3:07 
@Bullet I belive so, though it would affect all revolutionary flags, unless someone tries some crazy workarounds.
theprimaroxas 2020 年 10 月 29 日 上午 8:04 
best mod flag ever in here. I always mildly infuriated with the vanila's colony flags. Thank you
Yard1  [作者] 2020 年 9 月 13 日 上午 7:03 
@Hutama Hey, great work! I thought one needed to edit the flag mesh itself, but looks like I was wrong. I will add you to my steam friends so we can talk this over, alright?
Hutama  [作者] 2020 年 9 月 13 日 上午 6:02 
Hi, first of all congrats for this mod, this is an excellent idea.

I messed around with the shader files and found a way to make the canton effect work for both the 3d province flags and the small flags in the UI.
I made a demo mod showcasing these changes which you can find here .

You are of course welcome to integrate these changes to your mod if you want to (I will then remove mine).
LeAnomalocaris 2020 年 7 月 9 日 上午 8:03 
I just started colonizing as Castile and man is this aesthetically pleasing. So much better than the old version, and it actually makes historical sense!
humbleacadie 2020 年 6 月 30 日 下午 1:12 
Oh sad. Thanks anyway, the mod is great otherwise ;)
Yard1  [作者] 2020 年 6 月 30 日 上午 6:28 
That's because I can't edit those.
humbleacadie 2020 年 6 月 30 日 上午 3:20 
Hi. I noticed that the canton flags do not work on province map flags, only the top left corner (country menu).
Provinces still display the classical "two-bands" flag.
トゥルルル、アワワ~! 2020 年 6 月 25 日 上午 3:38 
You mad lad. <3
TrashPanda13 2020 年 6 月 24 日 下午 12:57 
One simple change makes colonial flags way more comprehensible. Thank you!
吹胀 2020 年 6 月 21 日 上午 6:21 
nicenice
chewie 2020 年 6 月 15 日 上午 5:46 
YOU LEGEND.
Chewy Yui 2020 年 6 月 13 日 下午 1:08 
POG you hero
eagleviper123 2020 年 6 月 11 日 上午 4:03 
They said it was impossible. They said it couldn't be done. The madlad did it!
clankerloving cogsucker 2020 年 6 月 10 日 下午 10:58 
this mod looks great, but I LAUGHED out loud when I saw your other mod
Bishop Rodan 2020 年 6 月 10 日 上午 7:54 
direct download please? PDX launcher is acting up
Polskers 2020 年 6 月 9 日 下午 1:18 
This is AMAZING! Great work!
Lemon Soul 2020 年 6 月 9 日 上午 8:10 
@暮江正琦 does it work with 1.30 for you?
暮江正琦 2020 年 6 月 9 日 上午 5:51 
That's just what I was thinking about. Thanks for the mod.:lunar2019piginablanket:
Mana 2020 年 6 月 7 日 下午 2:18 
wait so why isnt this the way the actual game is? lol ty :winter2019happyyul: