Sniper Scope?

Do you have a question about making weapon mods, or do you just need some tutorials and resources? Ask about all of that here.

Moderator: wildweasel

Locked
User avatar
Janitor
Persecution Complex
Posts: 123
Joined: Sun Jul 08, 2007 17:16
Location: Not in Kansas anymore

Sniper Scope?

Post by Janitor »

Is it possible to make a zoom function that is strictly bound to a weapon? that is, a sniper rifle's alt-fire makes it a scope that zooms in?
User avatar
wildweasel
DRD Team Admin (Inactive)
Posts: 2132
Joined: Wed Jun 29, 2005 22:00
Location: the Admincave!
Contact:

Post by wildweasel »

There are hacky ways to do it, but there is no native/easy way to accomplish that.
User avatar
Janitor
Persecution Complex
Posts: 123
Joined: Sun Jul 08, 2007 17:16
Location: Not in Kansas anymore

Post by Janitor »

well, as long as it can be done, I'll work. I've heard that SetCameraToTexture can be used for this?
MasterOFDeath
Posts: 125
Joined: Wed Jul 06, 2005 17:52

Post by MasterOFDeath »

Janitor wrote:well, as long as it can be done, I'll work. I've heard that SetCameraToTexture can be used for this?
Check out The Community Is Falling 3, it did just that I believe to give one of the weapons a scope.
User avatar
DoomRater
Posts: 397
Joined: Tue Jul 19, 2005 4:14
Location: Programmer's Room, talking to Will Harvey
Contact:

Post by DoomRater »

I had a different idea of going about it... one that would also be effective against stealth monsters as well. Instead of zooming, my sniper rifle has an indicator that there is a valid target to shoot in front of you. It may not be what you were looking for though!
Locked

Return to “Weapon Modding Help & Resources”