I would like to change this "sniper" effect into a magnifying glass effect. I have a detective that hunts for clues and i want to be able to press a button, maybe "m", and call this glass and it enlarges the item in the lens. can someone point me in the direction? Any help will be appreciated.

here's what i have so far as code. borrowed from AUM 46(thanks George).

Code:
/////////////////////////////////////////////////////////////////////////////////

entity lens_ent
{
	type = <sphere.mdl>;
	x = 700; // 700 quants ahead of the view
	y = 0; // and in the center of the view
	z = 0; // on the y and z axis (x and y on the screen)
	layer = 40; // give it a big layer
	flags = visible; // and make it visible
}

/////////////////////////////////////////////////////////////////////////////////

view lens_view
{ 
	layer = -10; // hide this view; we don't need to see it anyway
	flags = visible; // enable the view
	arc = -20; // give it a decent zoom factor (play with this value)
} 

/////////////////////////////////////////////////////////////////////////////////

starter init_lens()
{
	lens_view.pos_x = 0; // set the same position for the second (lens) view
	lens_view.pos_y = 0;
	lens_view.size_x = screen_size.x; // and the sam size with camera's size
	lens_view.size_y = screen_size.y;
	lens_view.bmap = bmap_for_entity (lens_ent, 0); // render the view on the lens_ent's bitmap (sphere.mdl's skin)
	while (1)
	{
		lens_view.x = camera.x; // keep the lens view in sync with the camera
		lens_view.y = camera.y;
		lens_view.z = camera.z;
		lens_view.pan = camera.pan;
		lens_view.tilt = camera.tilt;
		lens_view.roll = camera.roll;
		wait (1);
	}
}




My Famous Quotes: "Hip hop is like a virus, infecting everyone and everything around it. Every form of media has some way,shape or form, assimilated hip hop into it." It has also mutated into other strains like, trip hop, house, rap, gangster, and conscious forms. Once you are infected with it, its with you for life."