ET-Scripts
Welcome to the ET-Scripts website.
Enter your username and password to login.

Greetings,
Chef
ET-Scripts
Welcome to the ET-Scripts website.
Enter your username and password to login.

Greetings,
Chef
ET-Scripts
Would you like to react to this message? Create an account in a few clicks or log in to continue.

ET-Scripts

For all your Scripts and Configs.
 
HomeLatest imagesSearchRegisterLog in

 

 Chef's Guide - Config making (7) "+Vstr"

Go down 
AuthorMessage
Chef
ET-Scripts Founder
ET-Scripts Founder



Posts : 34
Join date : 2009-03-27

Chef's Guide - Config making (7) "+Vstr" Empty
PostSubject: Chef's Guide - Config making (7) "+Vstr"   Chef's Guide - Config making (7) "+Vstr" I_icon_minitime3/27/2009, 23:34

Hey all,


It is me agian, today making my seventh GUIDE Smile
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 Wink


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 Wink
That was all about +vstr.
Let me just give you a default +vstr cfg so you know how it should look Wink
Code:
set variable1 "command1; command2; ..."
set variable2 "command1; command2; ..."
bind key "+vstr variable1 variable2"


Hope u liked it Smile
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:
Back to top Go down
http://et-scripts.omgforum.net
 
Chef's Guide - Config making (7) "+Vstr"
Back to top 
Page 1 of 1
 Similar topics
-
» Chef's Guide - Config making (4) "Variable & Vstr"
» Chef's Guide - Config making (3) "Extra Information"
» Chef's Guide - Config making (1) "The Basics"
» Chef's Guide - Config making (2) "Autoexec.cfg"
» Chef's Guide - Config making (5) "Toggle"

Permissions in this forum:You cannot reply to topics in this forum
ET-Scripts :: ET-Scripts :: Guides-
Jump to: