function GetScopeTex()
local cur_r_TexResolution = tonumber( getglobal( "r_TexResolution" ) );
if( cur_r_TexResolution >= 2 ) then -- lower res texture for low texture quality setting
return System:LoadImage("Textures/Hud/crosshair/g36_zoom_low.tga");
else
return System:LoadImage("Textures/Hud/crosshair/g36_zoom.tga");
end
end
AG36 = {
name = "AG36",
object = "Objects/Weapons/ag36/ag36_bind.cgf",
character = "Objects/Weapons/ag36/ag36.cgf",
-- if the weapon supports zooming then add this...
ZoomActive = 0, -- initially always 0
MaxZoomSteps = 2,