This guide explains how to create a Mod folder for SFM, as well as why doing such is a good idea in the long run, along with some troubleshooting tips.
Creating the Mod Folder
1. Go to your Steam Library and launch SFM from there. You will see a window called SELECT LAUNCH OPTION. Выбирать Launch SDK and then hit Играть.
2. A new window called SDK Launcher появляется. Под Мод раздел, выбирать Create New Mod or Add Existing Mod.
3. Inside this new window, type in the desired Mod’s Folder name. Try to avoid using special characters if possible, as it can lead to problems when reading the folder’s path.
После этого, select Create.
4. A message saying The Mod [NAME OF FOLDER] was successfully added… . Нажимать ХОРОШО.
5. Another message states: With this action the mod ‘[NAME OF FOLDER]’ will be selected. . Выбирать Отмена.
6. Now back in the SDK Launcher окно, выбирать Edit Search Paths For Selected Mod. The following window will show up.
7. Внутри Edit Search Paths окно, you have all of the Mod’s Folders in your SFM installation. The list has a priority from top to bottom in what assets from each Mod Folder to load, so if for example, you have the same file in two folders, it will load the one that has the highest priority, which is the one at the top of the list. Be sure to tick the box of your newly created Mod Folder as well as move it to a desirable place on the list. When you’ve finished, нажимать ХОРОШО.
8. Before closing the SDK Launcher окно, make sure the Selected Mod Folder (at the bottom of the window) установлено на usermod (unless for a specific reason, do not change the default folder from usermod).
If the window Selecting Mod shows up when selecting usermod, нажимать ХОРОШО to make that folder the default one.
9. Когда закончите, close the SDK Launcher window and boot SFM normally as you would.
Why Create a Mod Folder?
There are many reasons as to why you would want to create one, такой как:
- Manual organization of folders that contain large groups of assets, especially if you have a lot of assets (like more than 100gb)
- No longer the need to dump all files onto the usermod папка, which can break assets in the long run
- Easy to “unmount” when troubleshooting problems with assets
- Control over which assets are loaded и what priority they have over other mod folders
- Useful to control memory usage by blocking folders with large “memory hungry” ресурсы
- Overall just a good idea if you plan on expanding your asset library
Поиск неисправностей
Q1: I created a Mod Folder, but I can’t see it in the SFM directory, or even inside SFM!
А: If you have followed everything correctly, there is still a small chance that for some reason, SFM won’t actually create said folder automatically (if you know why, пожалуйста, дайте мне знать в комментариях).
Чтобы это исправить, go to your SFM installation folder (if you don’t know where it is, Open Steam Library, right-click Source Filmmaker, затем выберите Управлять, с последующим Просмотр локальных файлов, and finally open the игра папка.
Следующий, create the Mod Folder manually, with the exact same name as you typed in the Create New Mod or Add Existing Mod окно.
Затем, create a new .txt file called информация об игре in said directory, and add this text to it:
"GameInfo" { игра "NAME OF FOLDER" заголовок "NAME OF FOLDER" заголовок2 "based on SFM SDK technology" type multiplayer_only nomodels 1 nohimodel 1 без перекрестия 0 скрытые_карты { "test_speakers" 1 "test_hardware" 1 } нодграф 0 FileSystem { SteamAppId 1840 ToolsAppId 1840 SearchPaths { Игра |gameinfo_path|. Game tf_movies Game tf Game hl2 } } }
Note to replace the [NAME OF FOLDER] with the name of the Mod Folder you want to create.
Затем, вернуться в игра папка, and open up the usermod папка. Откройте gameinfo.txt file and you will see a section on the file that says “SearchPaths”, with all of the Mod Folders installed.
Add your Mod Folder’s name to the list, while taking into consideration the order of where you place it in regards to priority. Предпочтительно, place it in the same order as you did back in the Edit Search Paths окно. (Если вы не знаете, Не волнуйтесь, продолжай читать)
Также, make sure not to type any other thing other than “Игра” и “NAME OF FOLDER” afterward. Когда закончите, save and close the file and go back to the tutorial above, continuing off of the 6th step.
Q2: When opening up SFM, I see a window called Missing Mods in Search Paths, what do I do?
А: If you see this window, it means you didn’t tick the box of your newly created Mod Folder during the Edit Search Paths window segment on the tutorial (in step 7). Go back and redo the tutorial from those step forwards, or your new folder won’t be “монтируется” onto SFM, and it won’t be read from either.
Q3: When searching for my assets in the Asset Browser, my new assets don’t show up!
А: You have to set the Mod Filter at the top of your Asset Browser’s window to All Mods, or at least the Mod Folder that you’re searching from.
If you don’t see your folder there, try the resolution to Question 1 (Q1) at the top of the Troubleshooting segment.
Это все, чем мы делимся сегодня для этого. Источник Режиссер гид. Это руководство было первоначально создано и написано SpyKe. На случай, если нам не удастся обновить это руководство, вы можете найти последнее обновление, следуя этому связь.