Command map help


(Charming_Fox) #1

Hello!

I’ve read documentatin on cmd maps but im still having problems, correct me if im wrong but as long as I have a tga file, 512x512 in the levelshots dir with the same name as my map and _cc appended it should show up as the cmd map for that map?

When i do it doesn’t work, my map name is krakow_armada and the tga is named krakow_armada_cc
??

any thoughts?


(¤SoS¤fre2d) #2

Have you created the mapname_levelshots.shader?

It should contain:

levelshots/mapname_cc_automap
{
nopicmip
nocompress
nomipmaps
{
clampmap levelshots/mapname_cc.tga
depthFunc equal
rgbGen identity
}
}

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