Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
The best place for scripts is a userconfig.cfg. Just copy then renane your config.cfg, delete the contents and paste your scripts in there.
The userconfig.cfg is great for small or a few little scripts.
If you run several or very large scripts. I recommend the following.
The reasons for doing it this way.
1 Testing: At some time you may have a conflict between plugins and your scripts.
2 Change the order that the scripts are loaded into the game. (They load in the order listed in autoexec.cfg)
3 Ability to turn scripts ON and OFF
4 Each script will have its own file.
5 Remove the possibility of script files being overwritten or deleted during an update.
------
1 You will need to make a .cfg file and put the script in it. (Use notepad and be sure to change the file extension to .cfg)
2 Name the file whatever you want. Save it in the valve folder. )
3 Then put a line in the autoexec.cfg file.
EXAMPLE:
exec testscript1.cfg
Do not put spaces in the file name.
This way you have each script in its own file. Each script can be turned OFF or ON. To turn off a script (comment out) by putting // at the beginning of each exec line in the autoexec.cfg. To turn ON remove //
EXAMPLE:
//exec testscript1.cfg
The line will not be read
So that script files do not get overwritten or deleted from an update. Go to the file properties and select read-only then apply.
I hope this help people understand a little better about loading script files.