Scripts / Binoculars - Help with Zoom?

Author
Message
Freakon
GameGuru TGC Backer
15
Years of Service
User Offline
Joined: 24th Feb 2009
Location: UK
Posted: 11th Dec 2016 21:12 Edited at: 7th Nov 2018 14:26
Hi All,

I've created a basic binocular script (just the note script to be fair) but would like to zoom when RMB is pressed, much the same as the sniper rifle. I cannot workout from the weapons.lua where this function exists, is it hard coded or is this something I can achieve with lua?

Edit: Video link removed

Processor: Intel Core i5-7400
Memory: 16GB DDR4 2133MHz
Graphics Card: NVIDIA GeForce GTX 1060 6GB
smallg
Community Leader
19
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 12th Dec 2016 01:19
you can do it by changing the fov in lua
https://forum.game-guru.com/thread/207801?page=16#msg2562411
lua guide for GG
https://steamcommunity.com/sharedfiles/filedetails/?id=398177770
windows 10
i5 @4ghz, 8gb ram, AMD R9 200 series , directx 11
Freakon
GameGuru TGC Backer
15
Years of Service
User Offline
Joined: 24th Feb 2009
Location: UK
Posted: 12th Dec 2016 07:34
Thanks smallg, as always helpful

I tried searching the forum for binocular/s, zoom and FOV and got no results specific to my query. The forum search seems to be exact match rather than partial terms.

I should have known you would have a script somewhere to be fair

Thanks again
Belidos
3D Media Maker
9
Years of Service
User Offline
Joined: 23rd Nov 2015
Playing: The Game
Posted: 12th Dec 2016 08:33
The forum search is based off of thread title, that's why you won't find most of what you want through a search.

Best way to search the forum is via google by typing in ...

whatever you want to find site:forum.game-guru.com

into google search.

i5, NV960 2GB, 16GB memory, 2x 2TB Hybrid, Win10.
i3 , Intel integrated graphics, 6GB memory, 512GB Generic SATAIII Win8.1.
Intel Celeron (duel Core), Radeon integrated graphics, 4GB memory, 180gB Generic SATAII, WinVista.
Q6600, Intel integrated graphics, 8GB memory, 512GB Generic SATAII, Win7.
Freakon
GameGuru TGC Backer
15
Years of Service
User Offline
Joined: 24th Feb 2009
Location: UK
Posted: 12th Dec 2016 09:01
Good Tip Belidos! Thanks

Login to post a reply

Server time is: 2024-12-23 03:48:38
Your offset time is: 2024-12-23 03:48:38