
07-02-2004, 08:27 PM
make the frames of the animated scope (i suggest 10, so its not too many and it can be done easily). save each frame as a .tga. now open up notepad. copy this script below:
[code:f05db]textures/hud/zoomoverlay
{
surfaceparm nolightmap
nomipmaps
nopicmip
{
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
animMap 25 textures/hud/zoomoverlay1.tga textures/hud/zoomoverlay2.tga textures/hud/zoomoverlay3.tga textures/hud/zoomoverlay4.tga textures/hud/zoomoverlay5.tga textures/hud/zoomoverlay6.tga textures/hud/zoomoverlay7.tga textures/hud/zoomoverlay8.tga textures/hud/zoomoverlay9.tga textures/hud/zoomoverlay10.tga
}
}[/code:f05db]
as long as each frame is named the same as in the script then ur ok. if there are more or less just add more or delete some of the textures/hud/zoomoverlay#.tga's.
hope this helps. biggrin:
|