Check out this Team Fortress 2 guide to learn how you can auto-execute console commands in the game. If you’re one of the TF2 players who are tired of typing the same commands all over again, this guide will help you skip this process.
How to Auto-Execute Console Commands in TF2
Enable TF2 Console
For those who haven’t enabled the console in Team Fortress 2, here is the step on how to do it:
- Launch Team Fortress 2
- انقر فوق إعدادات زر
- اذهب الى Keyboards > متقدم and check the second option
- Quit Team Fortress 2
- يفتح بخار > ألعاب > Right-click on TF2 and select ملكيات
- انقر اضبط خيارات التشغيل and type the following commands:
- -وحدة التحكم
- Relaunch TF2 and type the following commands
- Bind [YOUR KEY] com.toggleconsole
Creating the AutoRun File
Now that we have enabled TF2 console, we’re now going to create the automation. Just follow the steps below.
- Go to the directory of Team Fortress 2.
- Once you’re already in the directory folder, go to tf > cfg مجلد
- Create a new .txt file and name it to autoexec.
- After creating a new text file named autoexec.txt, change the .txt extension to .cfg.
- The final result should be autoexec.cfg
Console Command Customization
We’re now going to customize the autoexec console commands. Edit the autoexec.cfg by performing the right-click on your mouse and select open with notepad. من هناك, you can customize the commands. Please note that the file will be following one command per line.
هذا كل ما نشاركه اليوم في هذا الدليل. تم إنشاء هذا الدليل وكتابته في الأصل بواسطة طاقم العمل RB. في حالة فشلنا في تحديث هذا الدليل, يمكنك العثور على آخر تحديث باتباع هذا وصلة.