Command Map Transparency


(FstFngrz) #1

Has anyone figured out how to change the command map transparency?
It is transparent now, but just dark enough where you can’t clearly see who is trying to sick there finger in the mortar!

It would be nice to be able to change the transparency, to be able to see who’s giving you ammo, enemy’s, who’s getting Launched over to the axis spawn as in the pic!!! :suspicious:

:skull:


(sock) #2

This “pop-out” command map is simply a shader you can change.

  • Extract the main pk3.
  • Open the file : /etmain/scripts/levelshots.shader
  • You will see a shader for every map called “<mapname>_cc_trans”

The shader should look like this for the fueldump map:

levelshots/fueldump_cc_trans
{
  nopicmip
  nocompress
  nomipmaps
  {
    clampmap levelshots/fueldump_cc.tga
    blendfunc blend
    rgbGen identity
    alphaGen vertex
  }
}

Change it to this:

levelshots/fueldump_cc_trans
{
  nopicmip
  nocompress
  nomipmaps
  {
    clampmap levelshots/fueldump_cc.tga
    rgbGen identity
  }
}

You will have to do this for all maps if you want to change every “pop-out” command map. Save the shader file and reload your map.

The only downside to this change is that it may not work on pure punkbuster enabled servers because it is an original pk3 change. :frowning:

This is really a thing for the editing forum. :wink:

Sock
:moo:


(FstFngrz) #3

Thanks, I will give it a try. :drink: