ZOOM???
by Edward Smith · in Torque Game Engine · 01/23/2002 (12:23 am) · 3 replies
Is there any code out there to get it to only zoom with some weapons? eg. a sniper rifle
About the author
Games have always been a huge part of my life. I've always enjoy military games such as SEAL Team and Delta Force. Large open areas, an objective and your choice to deal with it. Or the choices in Deus Ex, that is what games should be about.
#2
Ryan
01/23/2002 (7:57 am)
all i did was write onmount and onunmount functions for the weapons i wanted to be able to zoom with. in that function, besides the default mounting stuff, i set a variable canzoom to 1 if i want to zoom, 0 if i dont want to be able to with that weapon. then in default.bind.cs, i check that as a precondition to zoom. Ryan
#3
01/23/2002 (8:51 pm)
mmm... I'll try tonight THX!
Torque Owner Bryan Walters