Game Development Community

sniper rifle

by Christian Reimann · in Torque Game Engine · 10/02/2002 (6:10 am) · 5 replies

hi,

I'm making some guns...
Now I'd like to add a sniper.

but what do i need in the weapon script for a sniper zoom?

thx

About the author

Recent Threads


#1
10/02/2002 (9:12 am)
Well, one of the keys bound by default (e? r? Can't remember) zooms in your view...
#2
10/04/2002 (9:01 am)
thx, i found it in default.bind.cs.

but i would like to change the instant zoom to a smooth zoom, that would look much better...
But to do this i would have to change the fov every frame, not just once when the key is pressed.
How can I do that or are there better ways to get it smooth?
#3
10/04/2002 (12:18 pm)
You may want too DL the crimeforce shooting range demo. I think the m700 weapon has the feature you are looking for or atleast something to base it on. do a search here on crimefore to find it.
#4
10/05/2002 (7:38 am)
I downloaded that one (version 115b), but in the game i can only zoom in 3 steps, there's also no smooth zoom in...
#5
10/21/2002 (8:04 pm)
Why don't you look at the current zoom script, make yourself a new script but have the zoom mulitplier down alot, toss it into a loop and your set to go.