Objectives outside the compass with ET Pro


(SteelRat) #1

A lot of custom maps, including most of mine have their custom objectives show up outside the compass while playing on a server running ET pro.
The reason for this is that the custom objectives needs to have a shader, here is a sample of what you need to add to your shader for your map to avoid this annoying problem.

textures/v2base_te/radio
{
	nopicmip
	nocompress
	nomipmaps
	{
		map textures/v2base_te/radio.tga
		depthfunc equal
		blendfunc blend
		rgbGen vertex
		alphaGen vertex
	}
}

My latest map released today (V2 Base Tournament Edition) uses this shader and it works just fine on ET Pro servers.

Cheers,
SteelRat


(duke'ku) #2

Would you mind if I used this in the ET Pro documentation? We really need something like this in there :confused:


(SteelRat) #3

I don’t mind at all, I posted here to help others! :smiley:

/SteelRat


(sock) #4

I don’t mind at all, I posted here to help others!
/SteelRat

Extremely useful stuff. WIll add it to the top sticky thread on useful stuff. :smiley:

Sock
:moo:


(Ifurita) #5

So the shaders for the CM icons in /gfx would look like this?



gfx/vengeance/cm_north_cabinet
{ 
   nopicmip 
   nocompress 
   nomipmaps 
   { 
      map gfx/vengeance/cm_north_cabinet.tga 
      depthfunc equal 
      blendfunc blend 
      rgbGen vertex 
      alphaGen vertex 
   } 
}

gfx/vengeance/cm_south_cabinet
{ 
   nopicmip 
   nocompress 
   nomipmaps 
   { 
      map gfx/vengeance/cm_south_cabinet.tga 
      depthfunc equal 
      blendfunc blend 
      rgbGen vertex 
      alphaGen vertex 
   } 
}


(SteelRat) #6

Yep, if your files are stored there then this is correct Ifurita.

And also another tip; If you have already relased a map and want to fix it afterwards you can create this shader and make a .pk3 of it. If you do then the shader needs to be placed in \scripts as usual.

Cheers,
SteelRat


(chavo_one) #7

Rain and bani addressed this issue in September of last year, but they unfortunately did a poor job in spreading the word.

http://bani.anime.net/banimod/forums/viewtopic.php?t=1809&postdays=0&start=30#21789

I believe Hummer did this with the release of Raiders back in January.


(Ifurita) #8

thx