- Mounting CSS Content to your Garrys Mod Server
- DarkRP Re-uses Counter Strike Source (CSS) Content:
- 1. Get the CSS Files:
- 2. Create «cstrike» Folder on your Server:
- 3. Upload CSS .zip File to the Server:
- 4. Unzip the CSS Files:
- 5. Edit the «mount.cfg» File:
- Congratulations! You’re Done!
- Сервер mod css content
- Css контент, gmod сервер
- #2 BombermaG
- #3 ykpon
- #4 BombermaG
- #5 Иванов
- #6 ykpon
- #7 Dunwell_Choke
- #8 Иванов
- #9 Иванов
- #10 Бендер Родригес
- #11 Иванов
- #12 Dunwell_Choke
- #13 BombermaG
- Сервер mod css content
Mounting CSS Content to your Garrys Mod Server
Some addons for Garry’s Mod require that additional content from other Valve source games be made available, in order for those addons to work correctly. This content is used by certain game modes (DarkRP being the most common one) to provide missing information for props and physics information needed by the game for it to work correctly. Without this additional content, you will see things like money and weapons floating in midair (along with a whole bunch of error messages in the console).
DarkRP Re-uses Counter Strike Source (CSS) Content:
DarkRP (and other gamemodes) uses files from Counter Strike Source, a game made by Valve using the same «Source» engine that makes up most of Garry’s Mod. You will need to copy files from Counter Strike Source onto your Garry’s Mod server, and then the files must be «mounted» by editing a configuration file, which will tell Gmod where the files are located.
1. Get the CSS Files:
You will have to own a copy of Counter Strike Source, so that you can get legal copies of the files needed. If you already own a copy of Counter Strike Source, find the local installation directory on your computer and look for a folder called cstrike . Inside the cstrike folder you should see the following contents: Select all the files, and use a utility program to «zip» them up, so that they can be copied and moved easier. If you don’t have a utility that does this, we suggest using 7zip , as it’s free, and very easy to use. You can download 7zip from here.
2. Create «cstrike» Folder on your Server:
Next, go to the control panel for your Nodecraft Garry’s Mod server, and click on the File Manager tab. Make sure you are in the main directory. You can tell if you are in the main directory if you all you see in the file path box is a slash ( / ), like the example below: Click the create folder button.
Type «cstrike» in the white box for the folder name (all in lowercase). Click the green «Create» button to make the folder.
3. Upload CSS .zip File to the Server:
Upload the previously zipped CSS files to newly created «cstrike» folder on your Garry’s Mod Server. You can either use the drag-and-drop feature in the file manager, or an actual FTP or «File Transfer Protocol» client to upload the files. An FTP client is faster and more secure (it double checks the content as its uploaded, and resends information if needed). We have a basic tutorial on how to use FTP in our knowledgebase, which you can view HERE If you are using the drag-and-drop feature, click the «upload» button, or drag the CSS zip file into the window until the you see the upload target appear. Release the file in the «Drop files here» box and it will start the upload. Wait for the progress bar to finish uploading. Drag-and-drop is much slower then FTP, so it will be a while before it finishes.
4. Unzip the CSS Files:
Once the CSS zip file is finished uploading, unzip the file. The Nodecraft file manager view has the ability to un-zip files, but the button only appears after you have selected a .zip file. Click the box to the left of the .zip file, and then the unzip button will appear. Click it to start the unzipping.
5. Edit the «mount.cfg» File:
The last step is to edit the file mount.cfg . This file will let the game know where to go look to find the Counterstrike Source files. To find mount.cfg , click on the folder garrysmod from the main directory, and then click on the folder cfg . Click the box to the left of the file mount.cfg , and then click the edit button that appears at the top of the file manager window.
This will display the contents of the mount.cfg file, which will normally look like the sample below (this is the default unaltered file):
You will need to make the following changes to the file.
- Remove the // from in front of «cstrike». These are «comment» characters, which tell the game to skip reading anything past the double //. So for the line to be used, they must be removed.
- Change the file path name in the second quoted string to «/home/container/cstrike» . Why does it need to be «/home/container/cstrike» when you don’t see any folder called «home» or «container» on your server? Oh, they’re there. Those folders are part of the backend system for Nodecraft that customers normally don’t see (you normally don’t need to deal with them, it’s all handled automatically by our system). But in this one instance of adding CSS files to Garry’s Mod, it’s necessary for them to be in the filepath.
If the changes are all made correctly, if should look like the sample below, and you just need to save it.
Congratulations! You’re Done!
You should have CSS content mounted in Garry’s Mod, and in DarkRP, money won’t be floating in midair anymore!
Сервер mod css content
Доброго времени суток, сегодня распишем как убрать розовые ERROR текстуры в Garry’s Mod. Garry’s Mod представляет собой своеобразную песочницу где игрок может управлять объектами, поиграться с физикой, за реализацию игрового пространства отвечает движок Source. Изначально мод разрабатывался для всесторонней демонстрации мощных в свое время возможностей движка. В ноябре 2006 Garry’s Mod перестал быть отдельной модификацией и стал полноценной игрой, которая предлагается в Стиме.
Для работы и запуска Гаррис мода (от 10й до 13й версии включительно) необходимо было установить еще игру на движке «Сорс», «Counter-Strike: Source», «Portal» или «Half-Life 2». В 13й версии Garry’s Mod изначально включает в себя Half-Life 2.
При запуске «Гарика» игроки часто видят черно розовые текстуры, как их еще называют эмо текстуры.
1
1
2
1
1
1
1
1
1
Css контент, gmod сервер
Отправлено 19 Май 2015 — 20:50
Обращаюсь к владельцам серверов garry’s mod, вы наверняка сталкивались с задачей установки cstrike контента на свой сервер, чтобы при заходе на сервер не вылезала ошибка:
Counter Strike Source is not mounted!:
Common symptoms: money and guns floating in the air:
You need to mount CSS:
DarkRP will not work without it:
Read these pages:
http://wiki.garrysmo. dicated_Server:
http://wiki.garrysmo. ontent_on_a_DS:
Так вот, я скачал cstrike сервер через steam cmd, перекинул в корень сервера папку cstrike, изменил расширение файла dll на so в папке cstrike/bin, прописал в mount.cfg следующее:
далее создал в garry’s mod/cfg mountdepots.txt и написал там следующее:
Common symptoms: money and guns floating in the air:
You need to mount CSS:
DarkRP will not work without it:
Read these pages:
http://wiki.garrysmo. dicated_Server:
http://wiki.garrysmo. ontent_on_a_DS:
+Не читает (lua ошибка в каждом аддоне) аддоны установленные на моем сервере, которые лежат в папке addons +весь экран на сервере черно-белого цвета
Если кто сталкивался с установкой css контента на сервер gmod, помогите пожалуйста, кто чем сможет.
#2
BombermaG
Отправлено 19 Май 2015 — 21:25
Если там действительно используются бинарные библиотеки из папки cstrike/bin, то просто так их переименовывать из dll в so нельзя, это не сработает.
Скачивайте через SteamCMD именно Linux версию сервера, там есть соответствующий параметр, чтобы вручную указать желаемую платформу дистрибутива.
Но есть что-то сомнения, что эти файлы вообще нужны.
Попробуйте вместо:
«cstrike» «/home/server779/game/cstrike/»
Прописать так. Потому что в инструкции последний слэш не указывается.
«cstrike» «/home/server779/game/cstrike»
Либо так:
«cstrike» «cstrike»
#3
ykpon
Отправлено 19 Май 2015 — 21:29
Если там действительно используются бинарные библиотеки из папки cstrike/bin, то просто так их переименовывать из dll в so нельзя, это не сработает.
Скачивайте через SteamCMD именно Linux версию сервера, там есть соответствующий параметр, чтобы вручную указать желаемую платформу дистрибутива.
Более вероятно, что там .vpk файлы подхватываются.
#4
BombermaG
Отправлено 19 Май 2015 — 21:31
#5
Иванов
Отправлено 19 Май 2015 — 21:48
Вы говорите, что там есть соответствующий параметр, чтобы вручную указать желаемую платформу дистрибутива, что-то я не нашел ничего подобного.
насчет слэша пробовал, ошибка осталась как и была
и обязательно ли менять расширение на с dll на so?
#6
ykpon
Отправлено 19 Май 2015 — 22:31
Вы говорите, что там есть соответствующий параметр, чтобы вручную указать желаемую платформу дистрибутива, что-то я не нашел ничего подобного.
насчет слэша пробовал, ошибка осталась как и была
и обязательно ли менять расширение на с dll на so?
Нет. По факту, эти библиотеки вообще не нужны для контента.
#7
Dunwell_Choke
Отправлено 20 Май 2015 — 1:26
Папку cstrike Загрузите в FTP сервера, далее в /cfg/mount.cfg пропишите
«mountcfg»
<
«cstrike» «garrysmod/cstrike»
>
#8
Иванов
Отправлено 20 Май 2015 — 7:15
Папку cstrike Загрузите в FTP сервера, далее в /cfg/mount.cfg пропишите «mountcfg» < "cstrike" "garrysmod/cstrike" >
#9
Иванов
Отправлено 20 Май 2015 — 10:25
#10
Бендер Родригес
Отправлено 20 Май 2015 — 10:50
А вы хоть пробовали, то что вам выше предложили?
#11
Иванов
Отправлено 20 Май 2015 — 12:24
#12
Dunwell_Choke
Отправлено 20 Май 2015 — 16:09
Да, я уже с тех. Поддержкой все перепробовал, включая то что мне предложил Choke
Вот только у меня работает то, что я предложил.
#13
BombermaG
Отправлено 20 Май 2015 — 17:08
Есть у кого-нибудь конкретное решение этой проблемы? Пожалуйста напишите, буду очень признателен.
Вы не там проблему ищете.
Контент у вас успешно прогружается, по логам сервера видно:
Adding Path: [cstrike]
FIND [cstrike/*.vpk]
ADDING [cstrike/cstrike_pak_000.vpk]
Сервер mod css content
Доброго времени суток, сегодня распишем как убрать розовые ERROR текстуры в Garry’s Mod. Garry’s Mod представляет собой своеобразную песочницу где игрок может управлять объектами, поиграться с физикой, за реализацию игрового пространства отвечает движок Source. Изначально мод разрабатывался для всесторонней демонстрации мощных в свое время возможностей движка. В ноябре 2006 Garry’s Mod перестал быть отдельной модификацией и стал полноценной игрой, которая предлагается в Стиме.
Для работы и запуска Гаррис мода (от 10й до 13й версии включительно) необходимо было установить еще игру на движке «Сорс», «Counter-Strike: Source», «Portal» или «Half-Life 2». В 13й версии Garry’s Mod изначально включает в себя Half-Life 2.
При запуске «Гарика» игроки часто видят черно розовые текстуры, как их еще называют эмо текстуры.
1
1
2
1
1
1
1
1
1