i was wondering if any of you lot knew if it is possible and if my script could work. at the moment on the "hud.shader" file i have made the top of the file to say from the old one.
qtextures/hud/crosshair
{
surfaceparm nolightmap
nomipmaps
nopicmip
cull none
{
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
map textures/hud/crosshair.tga
}
}
to be
qtextures/hud/Eddcrosshair1
{
surfaceparm nolightmap
nomipmaps
nopicmip
cull none
forxe32bit
{
animMap 24 textures/hud/Eddcrosshair1.tga textures/hud/Eddcrosshair2.tga textures/hud/Eddcrosshair3.tga textures/hud/Eddcrosshair4.tga textures/hud/Eddcrosshair5.tga textures/hud/eddcrosshair6.tga
rgbgen global
//alphagen global
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
}
}
any tips on how to get my scripts to work, or am i changing the wrong "shader" file to do this?
Rotating Crosshairs
Moderator: Moderators