+zoom problem
hello
i want to do some changes in my cfg, i would like to have an other crosshair otopns while using zoom. but at the moment, when i press zoom then ok - the crosshair changes, but when i unpress zoom the new "zoom" crosshair stay!
example:
bind x "+zoom; cg_drawCrosshair 1; cg_crosshairSize 20; xp_crosshairColor 5; cg_drawCrosshairNames 0"
any ideas? thx
not possible to do it with normal zoom.
i think u need a zoomscript therefor (press zoomkey, changes all press it again changes all back)
[code:1]set zumX "vstr zum1"
set zum1 "cg_fov 20.5;cg_drawcrosshair 1;set zumX vstr zum2"
set zum2 "cg_fov 115;cg_drawcsrosshair 2;set zumX vstr zum1"
bind mouse2 "vstr zumX"[/code:1]
2 scripts are made by me
Script based on +zoom command.
[code:1]bind mouse3 +vstr zoom_on zoom_off
set zoom_on "+zoom;cg_drawcrosshair 5;cg_crosshairsize 32"
set zoom_off "-zoom;cg_drawcrosshair 1;cg_crosshairsize 24"[/code:1]
Script with insta zoom and custom sens during zooming. (more pro but harder to use for persons which dont know how it works.)
[code:1]bind mouse3 +vstr zoom_on zoom_off
set zoom_on "cg_fov 40;sensitivity 1.4;cg_drawcrosshair 5;cg_crosshairsize 32"
set zoom_off "cg_fov 105;sensitivity 2:cg_drawcrosshair 1;cg_crosshairsize 24"[/code:1]
ocf u can change: cg_drawcrosshair, cg_crosshairsize, cg_fov and sensitivity to urs.
Personaly i suggest first script for u.
[code:1]---------------------------------------------------------------------------------------[/code:1]
not is change line
bind x "vstr zoom"
to
bind x +vstr zoom_on zoom_off
so script will look:
[code:1]bind x +vstr zoom_on zoom_off
set zoom_on "+zoom;cg_drawcrosshair 5;cg_crosshairsize 20;xp_crosshaircolor 3;cg_drawcrosshairnames 0"
set zoom_off "-zoom; cg_drawcrosshair 2;cg_crosshairsize 36; xp_crosshaircolor 7;cg_drawcrosshairnames 3"[/code:1]
[code:1]bind x "vstr zoom"
set zoom "vstr zoom_on"
set zoom_on "+zoom; cg_drawcrosshair 5; cg_crosshairsize 20; xp_crosshaircolor 3; cg_drawcrosshairnames 0; set zoom vstr zoom_off"set zoom_off "-zoom; cg_drawcrosshair 2; cg_crosshairsize 36; xp_crosshaircolor 7; cg_drawcrosshairnames 1; set zoom vstr zoom_on" [/code:1]
and
[code:1]bind x +vstr zoom_on zoom_off
set zoom_on "+zoom;cg_drawcrosshair 5;cg_crosshairsize 20;xp_crosshaircolor 3;cg_drawcrosshairnames 0"set zoom_off "-zoom; cg_drawcrosshair 2;cg_crosshairsize 36; xp_crosshaircolor 7;cg_drawcrosshairnames 3"[/code:1]
are these 2 methods the same but wrote differently? or do they function differently?
the first one has zoom_on as the primary function and then its replaced by zoom_off by vstr. this would obviously toggle zoom on/off.
then it was suggested in the second one that the vstr part is first? :
+vstr zoom_on zoom_off
and the different functions are then listed after that point. i am guessing that is better for functioning, does it remember it as either on or off? instead of starting the script from the begginging each time it is pressed?
hum, finding this hard to explain what i am getting at.
you know theres a reason why these are done differently, can u please confirm what it is. i have an idea but explaining it would probably not make sense.
i though no1 using zoom
thanks man. could you please tell me now how can i do this kind of script or where can i find the information needed? im not the informatics freak you know, c++ and other stuff in kinda a black magic for me
thx a lot.
how to dissapear completely and never be found