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
Go to steamapps/common/half-life 2/hl2_complete/cfg
Create a new txt file here, rename it to whatever name you want.
Change the file extension from TXT to CFG. Don't worry, you can still open and edit CFG files in Notepad.
Open your CFG.
Add the commands you want, one command per line. For example:
Go ingame, into a map.
Open console.
Type "exec NAME", where NAME is the name you chose for your cfg file.
Each new map, you'll have to exec the script again. (For the skill-based CVARs, anyway.)
Get Script MultiLoader:
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3367265657
Go to steamapps/common/half-life 2/hl2_complete/cfg
Create a new folder "custom_scripts" if you don't have it yet, enter it
Create a new txt file here, rename it to any three-digit number (examples: 326, 112, 827, and so on).
- Be aware that if you're already using Script MultiLoader and script mods utilizing it, you can't use the same ID as a mod you're subscribed to or they'll conflict. Since there's currently 1000 slots, the chances of this happening accidentally are pretty tiny, though.
Change the file extension from TXT to CFG. Don't worry, you can still open and edit CFG files in Notepad.Open your CFG.
Add the commands you want, one command per line. For example:
Go ingame
If Script MultiLoader isn't at the top of your modlist, put it at the top
That's it, your script will now auto-execute on every new map you play.
If you need to temporarily disable it from executing, you can either 1) change the name of the CFG file so it doesn't auto execute, or 2) upload it as a private mod you can enable and disable via the workshop window.