I have been working on getting my sniper scope working, thanks for the past postings on this topic. I have been able to use camera.arc to get the view working like looking through a sniper scope. But I have not been able to work out how to view a crosshair when looking through the scope. I do not want the crosshair when not looking through the scope. I thank you for your help in advance. Bilby11
Re: crosshair for sniper scope
[Re: bilby11]
#309095 02/07/1008:1702/07/1008:17
Use one of these crosshairs. Convert the white area into transparent using alpha channel. http://en.wikipedia.org/wiki/File:Reticles_vector.svg Add them to the game using view entity(or panel, but I highly not recommended it).
I have changed my script from camera.arc to have two different fps cameras with mouse_right changing view to scope with a crosshair. Now I have the problem of not having gun tilt, and having the crosshair stay in line with the line of bullets. I have been modifying the weapon script from AUM 58 workshop. I will work on the movement of the crosshair when moving, but I have these other issues to deal with first. Thank for your help. Bilby11
Re: crosshair for sniper scope
[Re: bilby11]
#309287 02/08/1013:0402/08/1013:04
I worked out that I could use camera.arc with the crosshair scaled very small so that when you look through the sniper scope you see the crosshair. Being very small it is not visible when not looking through sniper scope. Had the muck around with the placement of the sniper rifle to ensure the bullet hit pretty close to the center of the crosshair. It is a bit rough, but it works. let me know if you want to see the script.