Sorry for all these questions lately everyone. Trying to get something finished.
Can't find a tut on load screens. I know there has to be a few out there somewhere. Having a hard time with them. ie:
using notepad to make the shader and urc file, but they are saved
as mymap.shader.txt and mymap.urc.txt
any ideas (links or whatever) are greatly appreciated.
E
Load Screen
Moderator: Moderators
If you're using notepad, you should change the box that says "Text Documents" to "All Files." Then you should be able to save the file as 'mapname.shader.'
Your loading screen should consist of three things.
Your loading screen should consist of three things.
- 24-Bit TGA with alpha channel (This is where most people mess up) int textures/mohmenu/dmloading (or objloading).
- .urc file in ui/
- .shader file in scripts/

You're .shader file should look like this. I don't think you should change it unless you really know what you're doing:
Code: Select all
mapname //Put your mapname here
{
nomipmaps
nopicmip
cull none
force32bit
surfaceparm nolightmap
{
rgbgen global
//alphagen global
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
clampMap textures/mohmenu/dmloading/picname.tga // Put the name of your loading pic here.
}
}
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
this is the line that was screwing things up. After i took that out, it works great.
my shader looks like this:
[i]// Shader file
mymapname
{
nomipmaps
nopicmip
cull none
force32bit
surfaceparm nolightmap
{
clampMap textures/mohmenu/dmloading/mypicname.tga
}
}[/i]
E
this is the line that was screwing things up. After i took that out, it works great.
my shader looks like this:
[i]// Shader file
mymapname
{
nomipmaps
nopicmip
cull none
force32bit
surfaceparm nolightmap
{
clampMap textures/mohmenu/dmloading/mypicname.tga
}
}[/i]
E