Hearts of Iron IV

Hearts of Iron IV

-RGFX- Border Overhaul
49 Comments
emarcus156 16 Jul, 2024 @ 1:53am 
before vs before 😂
DaNikto 14 Jun, 2024 @ 2:51pm 
need fix
gus 12 Jun, 2024 @ 10:52pm 
i fixed my patch @niku
niku 11 Jun, 2024 @ 5:36am 
checking in... oh who would've thought?! It still doesn't work.
niku 31 Mar, 2024 @ 7:34pm 
still broken.
Sukhoi 9 Mar, 2024 @ 10:31pm 
broken, map is all black
FindFloppies 8 Mar, 2024 @ 12:43am 
I'll agree with niku. It doesn't like ToA.
niku 7 Mar, 2024 @ 9:25pm 
needs an Update for Trial of Allegiance, starting it with the Mod causes the screen to be black.
Also, sometimes it becomes the City texture, and other times the world becomes dark brown.
tall cate 5 Jul, 2023 @ 3:23am 
the small fixes are the best
Pepper 2 Mar, 2023 @ 1:52pm 
This still works
Wahoo 30 Jul, 2020 @ 7:57pm 
@CheifCommissar It makes the borders more black and thick, that's all.
CheifCommissar 23 Dec, 2019 @ 11:50am 
I hate these screenshots, how am i supposed to see the difference with different side by sides!?
TigerTank 15 Nov, 2019 @ 3:52pm 
Dead mod. Not supported or updated for months. Crashes 1.8.0.
Lennnnnayyyyyyyyy 12 Nov, 2019 @ 1:59pm 
First?
aDaMoS 6 Jul, 2019 @ 10:25am 
Yeah update please. For me it's only crucial mod
John M Browning: Certified Based 28 Jun, 2019 @ 12:37am 
Update?
GPounda 10 Jun, 2019 @ 6:25pm 
@Kyro - is there an eta on the 1.7 update? Hopefully it isn't a major overhaul switching to 64 bit.
Kryo  [author] 21 Mar, 2019 @ 9:14pm 
Search for these lines in gfx\FX\constants.fxh:

static const float GB_OPACITY_NEAR = 1.0f; // Transparency when camera is near
static const float GB_OPACITY_FAR = 0.85f; // Transparency when camera is far

Those are the vanilla values. I only made a change in the second line:

static const float GB_OPACITY_NEAR = 1.0f; // Transparency when camera is near
static const float GB_OPACITY_FAR = 0.9f; // Transparency when camera is far

Not sure if you can get rid of the gradients completely, but that's a way to modify their behaviour.
Dendo 21 Mar, 2019 @ 8:15pm 
How can the gradients be eliminated altogether? I'd much rather just have a thin-ish solid border and nothing else, since the gradient tramples too much terrain in island territories like Japan.
Shadow 15 Mar, 2019 @ 3:02am 
How can the gradients be eliminated altogether? I'd much rather just have a thin-ish solid border and nothing else, since the gradient tramples too much terrain in island territories like Japan.
sandman2575 4 Mar, 2019 @ 8:43pm 
wow -- thanks kryo!
wildbillhdmax01 3 Mar, 2019 @ 8:50pm 
Yes, thanks you.
Kryo  [author] 3 Mar, 2019 @ 3:15pm 
Updated to 1.6.*
Tu-Cao_KUn69 1 Mar, 2019 @ 7:55pm 
Update pls
AwildTannerWasFound 2 Jan, 2019 @ 4:18pm 
Wait so is this like custom states?
anonymous 10 Jun, 2018 @ 7:54pm 
what files did you edit?
GPounda 28 Apr, 2018 @ 4:57pm 
Thank you VERY much!!! :)
wildbillhdmax01 25 Apr, 2018 @ 5:17pm 
Thank you though!
Kryo  [author] 25 Apr, 2018 @ 4:03pm 
@johncochrane007: I updated 3 days ago.
GPounda 25 Apr, 2018 @ 12:03pm 
Good morning, will there be an 1.5.2 update soon? I miss your excellent mod's!!!
Lord_Eol 6 Apr, 2018 @ 3:12am 
Dedira: Works fine with WW's Map Mod
wildbillhdmax01 11 Mar, 2018 @ 1:48am 
Yes Please update!
lunanium 9 Mar, 2018 @ 1:54pm 
Update please.
Scronkfinkle 2 Dec, 2017 @ 11:18am 
Thanks! I'll try this with BICE even though i don't really have issue with its borders, but this looks awesome!
Friedrich 19 Aug, 2017 @ 12:26am 
Does this not work with WW's Map Mod?
Bridger 23 Jul, 2016 @ 8:55pm 
Oh nice, I didn't realize you could set them up to override that way. I'll check that out :)
Kryo  [author] 23 Jul, 2016 @ 5:14pm 
@Bridger I only changed two lines in constants.fxh

static const float GB_THRESHOLD = 0.05f; // interpolation time
to
static const float GB_THRESHOLD = 0.075f; // interpolation time

and

static const float GB_THRESHOLD2 = 0.25f; // interpolation time
to
static const float GB_THRESHOLD2 = 0.33f; // interpolation time

Feel free to upload your own version. If you want your mod to overwrite constants.fxh from my mod, you will have to add my mod as dependancy in the *mod file of your mod so that mine gets loaded first. There's a good guide on the ck2 wiki on how to do that.
Thanks for your tutorial videos, btw. They are great and helped me a lot to get into HoI4.
Bridger 23 Jul, 2016 @ 4:14pm 
nevermind, I think i figured it out. It appears to be Max filling clamp of 1.0 and gb_opacity_far of 1.0 that create the effect I want. I really like the clean nature of the map when zoomed out with this setting.

If you don't mind I'd like to upload this tweaked version of your mod? With full credit and link to this original of course.

Alternatively if you want to upload a tweaked version that I could link to that would also be awesome. I'm putting together a video of my recomended mod list for people and I really want to include this slightly tweaked version of your mod.

Please let me know, I plan to publish the video next week.
Bridger 23 Jul, 2016 @ 3:48pm 
@Kryo I really like this border mod when zoomed in, but I'm also a huge fan of the zoomed out view of "better political map mode - default height version." I've examined that mod hoping that I could mod a few lines of yours to get the same effect (fully opaque country colors when zoomed out instead of the partially transparent default). Unfortunately it's all al bit over my head and I'm not sure what lines I need to adjust to achieve the desired effect while simultaneiously preserving the great lower level borders in your mod.

Any advice?
jpinard 23 Jun, 2016 @ 4:40am 
Excellent work my friend! Thanks!
MaG3Stican 17 Jun, 2016 @ 9:01am 
awesome!
Rudi Mentär 15 Jun, 2016 @ 8:57pm 
Looks really good. But it would be great if you could change the air and naval map mode in this mod too. Thx!
Kryo  [author] 15 Jun, 2016 @ 1:23pm 
@Kerub: Yes it is, as well as my other mod in the RGFX series, Expanded Map Mode Menu
Chigagad 15 Jun, 2016 @ 7:34am 
Is this compatible with the HOI 4 UI Overhaul mod?
Rodger Dodger 15 Jun, 2016 @ 7:00am 
Looks good!
Kryo  [author] 14 Jun, 2016 @ 11:04am 
More pictures will be added later today.
Rodger Dodger 14 Jun, 2016 @ 11:03am 
Your image should include the current borders so we can see a side by side comparison of the difference.
Apollo 14 Jun, 2016 @ 10:57am 
Will certainly try this out as I've had issues with not seeing where friendly and enemy borders are when zoomed in.