Map Ownership Overlay Colour

Moderator: FOGK Moderators

Post Reply
stryc
Private First Class - Opel Blitz
Private First Class - Opel Blitz
Posts: 4
Joined: Fri May 23, 2014 11:41 pm

Map Ownership Overlay Colour

Post by stryc »

Where is the script that handles the alpha for the Ownership map overlay colour? If would like to make the layer more transparent as it's rather overpowering as is.

Alternatively, a way to change how the current Ownership borders are drawn with a view to using a more obvious version of those instead of solid colour.

I like to see the terrain as well as clear Ownership delineation without having to flit between overlays. :D

Thank you.
DasTactic
Administrative Corporal - SdKfz 251/1
Administrative Corporal - SdKfz  251/1
Posts: 127
Joined: Sat Jan 07, 2006 2:36 am
Contact:

Re: Map Ownership Overlay Colour

Post by DasTactic »

Changing the alpha on this is a great idea. I get comments in streams that the game looks bad until I turn off the ownership overlay. Would love to see this implemented.
stryc
Private First Class - Opel Blitz
Private First Class - Opel Blitz
Posts: 4
Joined: Fri May 23, 2014 11:41 pm

Re: Map Ownership Overlay Colour

Post by stryc »

Yeah.

I'll gladly go in and make the alterations, I'd just like to know where to start looking rather than having to sift through a great many scripts looking for something that 'might' be the right thing.
stryc
Private First Class - Opel Blitz
Private First Class - Opel Blitz
Posts: 4
Joined: Fri May 23, 2014 11:41 pm

Re: Map Ownership Overlay Colour

Post by stryc »

No help available?

That's a shame.
pipfromslitherine
Site Admin
Site Admin
Posts: 9872
Joined: Wed Mar 23, 2005 10:35 pm

Re: Map Ownership Overlay Colour

Post by pipfromslitherine »

OK - changing the alpha on the map can be done via the shaders. But it's a little fiddly.

1 - go to the folder CORE/SHADERS in the game install folder
2 - delete all the .PCS files in there (they will get rebuilt)
3 - open the file TerrainTools.txt
4 - go to line 260 or so
5 - change it from this
colour.rgb = lerp(colour.rgb, over.rgb, highlightR.a);
to
colour.rgb = lerp(colour.rgb, over.rgb, highlightR.a * 0.25);
or whichever value you want to reduce the alpha by.
6 - save the file and restart the game

NOTE: if your game is installed in a protected folder (like Program Files) then you are going to have issues with the game saving the cached files. So you will need to start the game as administrator the first time you run it after you make the change. This shouldn't happen with the Steam version IIRC.

You will need to delete the PCS files each time you want to make a change.

Hope this helps!

Cheers

Pip
follow me on Twitter here
DasTactic
Administrative Corporal - SdKfz 251/1
Administrative Corporal - SdKfz  251/1
Posts: 127
Joined: Sat Jan 07, 2006 2:36 am
Contact:

Re: Map Ownership Overlay Colour

Post by DasTactic »

This was basically fixed in the latest update for the game, wasn't it. With the new settings. Works really well. :) Love the changes to the red text as well.
stryc
Private First Class - Opel Blitz
Private First Class - Opel Blitz
Posts: 4
Joined: Fri May 23, 2014 11:41 pm

Re: Map Ownership Overlay Colour

Post by stryc »

pipfromslitherine wrote: Mon May 26, 2025 8:34 pm OK - changing the alpha on the map can be done via the shaders.
...
Mighty.

Many thanks.
Post Reply

Return to “Field of Glory: Kingdoms - Modding and Scenarios”