Hey all,
It is me agian, today making my seventh GUIDE
I am going to talk to you about +vstr.
You might think this is the same as we did before when we were learning about Variables and Vstr, but +vstr is diffirent.
I think giving you a few examples is the easiest way to tell you
For example, you want to have 90 FOV when you are pressind down mouse1 (meaning your shooting)
Which could be usefull for fights.
But you want 110 FOV when you are not pressing down mouse1 (not shooting)
This could be usefull for when ur just walking around, not fighting.
This could be done by just binding two buttons, or make a toggle button.
But how awesome would it be if it would change to 90 FOV automaticaly when you press down mouse1, and change back when you releace it.
This can be done with +vstr.
That cfg would look like the following:
- Code:
-
set shooton "+attack;cg_fov 90;set vstr shootoff"
set shootoff "-attack;cg_fov 120;set vstr shooton"
bind mouse1 "+vstr shooton shootoff"
Not hard right? nope, not at all
That was all about +vstr.
Let me just give you a default +vstr cfg so you know how it should look
- Code:
-
set variable1 "command1; command2; ..."
set variable2 "command1; command2; ..."
bind key "+vstr variable1 variable2"
Hope u liked it
Greetings,
Chef
PS: I made multiple GUIDES for cfg making, to follow them in the correct order check the (number) in the topic title
- Spoiler:
This GUIDE was made by Chef.
Please do not claim to be the one who made this GUIDE.
Always refer to the true maker of the file when posting it somewhere else.
Thanks,
Chef