zoom to all weapons?
#1
do someone have a script that make zoom to all weapons?
Thanks given by:
#2
That would be a very good idea.
all or not(for zooming in n aim) good for Long distance
cube 2 can zoom in any weapon
i Think V-Man Can Code it. + it should be the next 1.1
U should make a poll
Thanks given by:
#3
sauerzoom = [getfov = $fov; fov 75; onrelease [ fov $getfov ] ]
bind Z [ if $editing [ domodifier 2 ] [sauerzoom] ]
Thanks given by:
#4
You can always type /fov and use whatever range you like.
Thanks given by:
#5
That doesn't zoom the weapon, this allows you to press Z to instantly zoom to the max and it snaps back too! :D
Thanks given by:
#6
zoom is gay...
learn to play w/o that
Thanks given by:
#7
That would be uber gay, imagine the carbine with a scope

Weapons without scopes shouldn't be able to scope. Maybe a binocular feature like in Halo, idk seems stupid,
Thanks given by:
#8
I once used a 'fov-zoom'-script for SMG and AR implemented into the altaction-script (rightclick on mouse), because I'm on fov 120 usually and this came in handy at far distances. However, I've removed it eventually, since I prefer to have the nades on that butto and on regular maps it hardly ever is of use anyway.

It works pretty much like Gibstick has posted above.
Thanks given by:
#9
awesome would be to have the normal weapon model mirrored and then moved in a way that it looks as if you'd use the metal aim thing of the weapon :>

I know thats not or quite not posiible but I can dream at least...
(22 Jul 10, 11:57PM)Gibstick Wrote:
sauerzoom = [getfov = $fov; fov 75; onrelease [ fov $getfov ] ]
bind Z [ if $editing [ domodifier 2 ] [sauerzoom] ]
Uhm.. Gibby can you add there mousesensivity?
Would be very nice :)

And... maybe you should try to make it for every weapon except the sniper ^^
Thanks given by:
#10
//alternative actions for sub, shotgun, ar
alias curfov $fov
alias innie [ fov 75 ; hudgun 0 ]
alias outtie [ fov ($curfov) ; hudgun 1 ]

alias altaction_2 [ if (= (magcontent 6) 0) [ innie; onrelease [ outtie ] ] [ quicknadethrow ] ]
alias altaction_3 [ if (= (magcontent 6) 0) [ innie; onrelease [ outtie ] ] [ quicknadethrow ] ]
alias altaction_5 [ if (= (magcontent 6) 0) [ innie; onrelease [ outtie ] ] [ quicknadethrow ] ]
alias altaction_1 [ if (= (magcontent 6) 0) [ innie; onrelease [ outtie ] ] [ quicknadethrow ] ]
alias altaction_7 [ if (= (magcontent 6) 0) [ innie; onrelease [ outtie ] ] [ quicknadethrow ] ]

I don't know who it's by.
Thanks given by:
#11
(23 Jul 10, 10:47AM)R4zor Wrote:
//alternative actions for sub, shotgun, ar

One bug:

When you carry nades, you can't zoom with you primary till you throw all nades away
Thanks given by:
#12
//alternative actions for sub, shotgun, ar

alias innie [ alias curfov $fov; fov 75 ; hudgun 0 ]
alias outtie [ fov ($curfov) ; hudgun 1 ]

alias altaction_2 [ if (= (magcontent 6) 0) [ innie; onrelease [ outtie ] ] [ quicknadethrow ] ]
alias altaction_3 [ if (= (magcontent 6) 0) [ innie; onrelease [ outtie ] ] [ quicknadethrow ] ]
alias altaction_5 [ if (= (magcontent 6) 0) [ innie; onrelease [ outtie ] ] [ quicknadethrow ] ]
alias altaction_1 [ if (= (magcontent 6) 0) [ innie; onrelease [ outtie ] ] [ quicknadethrow ] ]
alias altaction_7 [ if (= (magcontent 6) 0) [ innie; onrelease [ outtie ] ] [ quicknadethrow ] ]
Better to define curfov whenever it's executed so you can change your fov in-game on the fly, especially useful if you use autoexec_me :)

sauerzoom = [ getfov = $fov; getsens = $sensitivity; fov 75; fovratio = (divf 75 $getfov); sensitivity (*f $fovratio $getsens); onrelease [ fov $getfov; sensitivity $getsens ] ]
I personally hate this sensitivity ratio adjustment but it works.
Thanks given by:
#13
I didn't write it, I just pasted it.

@slowoldman -> it's meant to do that - if you don't want MOUSE2 to quicknadethrow just get rid of those parts and it will always zoom.

@gibstick -> what do you mean? it'll define curfov everytime before you zoom in.
Thanks given by:
#14
Wouldn't this work better than the scope for ac subgun and ar thing?
sauerzoom = [getfov = $fov; fov 75; onrelease [ fov $getfov ] ]
bind MOUSE2 [ if (= (curweapon) 4) [altaction] [sauerzoom] ]
Thanks given by:
#15
R4zor: It only defines it at the start of the game. So if it changes it will go back to the older old one.
SplatZ: That destroys sniper scope capability.
Thanks given by:
#16
No it doesn't... it makes it so that if the current weapon value is 4 (sniper) then it scopes. But if not then it does sauerzoom.
Thanks given by:
#17
Oops I didn't notice that. And now you can't switch to nades :(
Thanks given by:
#18
Well, i never used mouse2 to switch to nades anyway :P
Thanks given by:
#19
Quick Zoon, or Smooth zoom in?
Info: 1. Quick Zoom, will just do a Quick Zoom IN like 0 sec,

2. Zoom in smoothly just like Cube 2.
(IF) --> (Im sorry for my inporper sentence/grammer- im a little tired)

2 be sure. is this for 1.0.4 And 1.1?
Thanks given by:
#20
I'm sure someone will take the initiative (me) to make a smooth one (just put some sleeps). It could be useful for 1.1, who knows. The code I wrote works for 1.1 and 1.0.4 but the scripts that rely on curweapon will have to be modified cause the carbine takes up a slot and bumps ups the other numbers. I can't remember the exact ones.
Thanks given by:
#21
Only this part maybe? I remember using only this part and that it worked for me.

//alternative actions for sub, shotgun, ar
alias curfov $fov
alias innie [ fov 75 ; hudgun 0 ]
alias outtie [ fov ($curfov) ; hudgun 1 ]
Thanks given by:
#22
Smooth Zoom Script made by me
REMOVED BY ME
V-Man took the time to fix it and integrate it in a nice menu!
download it here:
HERE!
Thanks given by:
#23
I have extra buttons o my mouse. Can I use them with this script? How do I find out what they're called in the bind thingy?
Thanks given by:
#24
Put in your keymap.cfg:
keymap -6 MOUSE6
keymap -7 MOUSE7
Then bind whatever you want to MOUSE6 and MOUSE7.
Thanks given by:
#25
Kirin, the updated script has a glitch, if you double press z it keeps you zoomed in and you cant set your fov back to what it was before.
Thanks given by:
#26
@SplatZ i know...
unfortunately fixing it requires so much coding that it's not even worth the trouble if u find a elegant way to fix it repost it fixed.
Thanks given by:
#27
I finally found some time to answer Kirin's challenge.
Smooth Zoom script with menu
Thanks to Kirin and Gibstick for letting me stand on your shoulders. :D
Thanks given by:
#28
gr8t work on it V-Man :) happy to see it shine, also the menu rocks
Thanks given by:
#29
:D Thanks again, your math work in it is impeccable.
Thanks given by:
#30
Pffft, V-Man has to make a menu for everything. I prefer typing. But great work nonetheless!
P.S you have great balance because I have thin shoulders.
Thanks given by: