[?] changin sniper zoom level through mouse wheel?

Making or wanting help making your own asset? Check in here
Post Reply
Amok@ndy
Retired PR Developer
Posts: 5144
Joined: 2008-11-27 22:13

Re: changin sniper zoom level through mouse wheel

Post by Amok@ndy »

rem ---BeginComp: DefaultZoomComp ---
ObjectTemplate.createComponent DefaultZoomComp
ObjectTemplate.zoom.zoomDelay 0.8
ObjectTemplate.zoom.zoomLod 1
ObjectTemplate.zoom.addZoomFactor 0.33
ObjectTemplate.zoom.addZoomFactor 0.08
ObjectTemplate.zoom.zoomOutAfterFire 0
ObjectTemplate.zoom.disableMuzzleWhenZoomed 0
ObjectTemplate.zoom.mouseSpeedMod 0.4
rem ---EndComp ---
this is the part which sets the zoom !
and it works only in steps
rem ---BeginComp: DefaultZoomComp ---
ObjectTemplate.createComponent DefaultZoomComp
ObjectTemplate.zoom.zoomDelay 0.8
ObjectTemplate.zoom.zoomLod 1
ObjectTemplate.zoom.addZoomFactor 1.2
ObjectTemplate.zoom.addZoomFactor 0.33
ObjectTemplate.zoom.addZoomFactor 0.08
ObjectTemplate.zoom.zoomOutAfterFire 0
ObjectTemplate.zoom.disableMuzzleWhenZoomed 0
ObjectTemplate.zoom.mouseSpeedMod 0.4
rem ---EndComp ---
adding lines there will make 1 more rightclick to zoom possible
Image
Truism
Posts: 1189
Joined: 2008-07-27 13:52

Re: [?] changin sniper zoom level through mouse wheel?

Post by Truism »

That's just a control issue, completely client side and edited through menus. To the best of my knowledge you can't make it so that mwheelup zooms further in and mwheeldown zooms out, both simply do what right click does.
Sniperdog
Retired PR Developer
Posts: 1177
Joined: 2009-02-27 00:06

Re: [?] changin sniper zoom level through mouse wheel?

Post by Sniperdog »

You need the 2142 engine for this... sorry :(
Image

Image

Will Stahl aka "Merlin" in the Squad community
NoScopedJFK
Posts: 4
Joined: 2010-04-18 14:18

Re: changin sniper zoom level through mouse wheel

Post by NoScopedJFK »

Amok@ndy wrote:this is the part which sets the zoom !
and it works only in steps



adding lines there will make 1 more rightclick to zoom possible




Where do I input that code?
Drunkenup
Posts: 786
Joined: 2009-03-16 20:53

Re: changin sniper zoom level through mouse wheel

Post by Drunkenup »

NoScopedJFK wrote:Where do I input that code?
In whatever weapon you want to edit for more zoom.
NoScopedJFK
Posts: 4
Joined: 2010-04-18 14:18

Re: changin sniper zoom level through mouse wheel

Post by NoScopedJFK »

Drunkenup wrote:In whatever weapon you want to edit for more zoom.

Sorry I'm still confused. Am I on the right track; "C:\ EA\ bla \ PR\ Objects\ Weapons client.zip\Gun name\ then its in the meshes?
BloodBane611
Posts: 6576
Joined: 2007-11-14 23:31

Re: [?] changin sniper zoom level through mouse wheel?

Post by BloodBane611 »

The correct path should be PR\Object\Weapons_server.zip\handheld\Gun Name\Gun name.tweak
[R-CON]creepin - "because on the internet 0=1"
NoScopedJFK
Posts: 4
Joined: 2010-04-18 14:18

Re: [?] changin sniper zoom level through mouse wheel?

Post by NoScopedJFK »

I was able to get it. Thanks for your help.
Last edited by NoScopedJFK on 2010-04-19 00:41, edited 1 time in total.
dunem666
Posts: 559
Joined: 2009-06-02 13:04

Re: [?] changin sniper zoom level through mouse wheel?

Post by dunem666 »

Sniper_dog14 wrote:You need the 2142 engine for this... sorry :(
Engine is the same as bf2, EXE header codes differ. If they were similar bf2 wud support some kind of system for fastropes right now.
dunem
ImageImage
ImageImage
Post Reply

Return to “PR:BF2 Community Modding”