Hi,
i want to make a shader for my uploadscreen with this code(my map name is Manson,my loadingscreenpicname is loadingscreen.tga,which of the both are correct?
loadingscreen //this one???
{
nomipmaps
nopicmip
cull none
force32bit
surfaceparm nolightmap
{
rgbgen global
//alphagen global
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
clampMap textures/mohmenu/dmloading/loadingscreen.tga
}
}
Manson //or this one???
{
nomipmaps
nopicmip
cull none
force32bit
surfaceparm nolightmap
{
rgbgen global
//alphagen global
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
clampMap textures/mohmenu/dmloading/loadingscreen.tga
}
}
I found both in this forum one said first line must be the name of the map,
other said there must be the name of the map,both without endings *.tga or *.bsp
Short Question
Moderator: Moderators
-
Bjarne BZR
- Site Admin
- Posts: 3298
- Joined: Wed Feb 05, 2003 2:04 pm
- Location: Sweden
- Contact:
-
Gizzy (nl)
- Sergeant Major
- Posts: 101
- Joined: Tue Dec 03, 2002 3:41 pm
- Location: Netherlands
- Contact:
this is the loading screen shader from my first map UTAH.
utah.shader
My map name is utah and my loading screens has the same name...make sure the loading screen comes in the right directory. Hope this helps.
utah.shader
Code: Select all
utah
{
nomipmaps
nopicmip
cull none
force32bit
surfaceparm nolightmap
{
map $whiteimage
}
{
clampMap textures/mohmenu/dmloading/utah.tga
blendfunc gl_one_minus_src_alpha gl_src_alpha
}
}
greets, Gizzy (nl)


The name of the shader does not matter in terms of getting it to work. But the name you use for it must also be the name you use in the loading.urc file. (ofcourse you can't use a name that is used by some other shader)
Some important things are that
the loading urc should be named loading_thenameofyourbsp.urc
In the row in the the beging of the urc it should say
menu "dm/thenameofyourbsp" xxx xxx xxxx x (not xxx, values from other urc or your own stuff. dm=deathmatch/TDM map)
Some important things are that
the loading urc should be named loading_thenameofyourbsp.urc
In the row in the the beging of the urc it should say
menu "dm/thenameofyourbsp" xxx xxx xxxx x (not xxx, values from other urc or your own stuff. dm=deathmatch/TDM map)
