Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, ozgur), 1,415 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19055 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
crosshair for sniper scope #309091
02/07/10 05:51
02/07/10 05:51
Joined: Jan 2010
Posts: 10
North Queensland, Australia
B
bilby11 Offline OP
Newbie
bilby11  Offline OP
Newbie
B

Joined: Jan 2010
Posts: 10
North Queensland, Australia
Gid day,

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/10 08:17
02/07/10 08:17
Joined: Aug 2008
Posts: 482
B
bart_the_13th Offline
Senior Member
bart_the_13th  Offline
Senior Member
B

Joined: Aug 2008
Posts: 482
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).

Re: crosshair for sniper scope [Re: bart_the_13th] #309110
02/07/10 09:53
02/07/10 09:53
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
Did you work on a simple crosshair like in call of duty?? It moves from the center of the screen when player walks or shooting...


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: crosshair for sniper scope [Re: 3run] #309112
02/07/10 10:35
02/07/10 10:35
Joined: Jan 2010
Posts: 10
North Queensland, Australia
B
bilby11 Offline OP
Newbie
bilby11  Offline OP
Newbie
B

Joined: Jan 2010
Posts: 10
North Queensland, Australia
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/10 13:04
02/08/10 13:04
Joined: Jan 2010
Posts: 10
North Queensland, Australia
B
bilby11 Offline OP
Newbie
bilby11  Offline OP
Newbie
B

Joined: Jan 2010
Posts: 10
North Queensland, Australia
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.


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1