Skip to content

This repository serves as a guide for customizing your model in the game Garry's Mod. Here, you will find instructions, tips, and guides for various aspects of the game.

Notifications You must be signed in to change notification settings

Stirven13/GarrysModHelper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GarrysModHelper

This repository serves as a guide for customizing your model in the game Garry's Mod. Here, you will find instructions, tips, and guides for various aspects of the game.

Installing Your Model on Servers

To install your model on a server, it is necessary for the server to have the Outfitter or PAC3 addon, or similar addons like Outfitter. You can easily find them by pressing the C key.

  • To set your model in Outfitter, simply choose the PlayerModel from the Steam Workshop.

  • To set your model in PAC3, follow these steps:

    1. To change your model in PAC3, enter the PAC3 menu via the C menu. Then, press the RMB to bring up the context menu and click on Entity.

      Image Add menu context image.

    2. Next, add a link to the *.zip archive containing the model files in the model field. To create a *.zip file, go to the Creating a ZIP File for PAC3 section.

      URL field for model in entity.

    3. Then, click the wear button, located in the top menu under pac > wear.

      How to wear pac.

Creating a ZIP File for PAC3

Description of the ZIP File for PAC3

In the *.zip file, there should be a minimum of 6 files (excluding textures):

File Type File Description
*.dx80.vtx Texture coordinate file for DirectX 8.0
*.dx90.vtx Texture coordinate file for DirectX 9.0
*.mdl Model file
*.phy Physical model file (collision)
*.sw.vtx Texture coordinate file for Source Engine Shader (previous versions)
*.vvd Vertex and animation model file

You also need to add 2 more types of files:

File Type File Description
*.vmt Texture parameter description file
*.vtf Texture image file

If you decompile the model, it will appear as several files: *.smd, *.vta, and *.qc. The materials will be located in the *.smd file:

Blender materials on head

Explorer vmt on head

You can move all the necessary files into the *.zip archive. Here are some rules for creating a correct archive:

[!CAUTION]

The archive must be created without compression.

[!CAUTION]

You should include only one *.mdl file and all related files.

[!CAUTION]

If you don't have all 6 model files, you may need to recompile the model. You can do this in the compilation of *.mdl and its features section.

[!IMPORTANT]

If the model has multiple *.vmt files with the same name, the model will not be displayed correctly.

[!TIP]

You can include all files in the archive without creating folders. This way, PAC3 will work more smoothly.

Creating a Correct Link

PAC3 downloads the model and installs it on your in-game character. However, PAC3 requires a correct link that will immediately initiate the download of the *.zip file.

Most servers support OneDrive, Google Drive, Dropbox, and Imgur.

There are Garry's Mod servers where you can provide a link from any other service, such as GitHub, Discord, and others...

[!TIP]

I recommend checking the official documentation for creating links.

OneDrive

You need to convert the link on the Hosting custom content online | General | PAC3 Wiki website. To do this, copy the link that allows others access to your file.

Button share in OneDrive

The link provided by the website can be pasted into PAC3.

Google Drive

In Google Drive, you can right-click on the necessary file and open it for reading. The link you copy can be pasted into PAC3.

Dropbox

To get a Dropbox link, copy the link and change the dl=0 parameter to dl=1.

Button copy link on Dropbox upload file

For example, change the link from https://www.dropbox.com/s/8bj1qpkor7tbipu/logo.png?dl=0 to https://www.dropbox.com/s/8bj1qpkor7tbipu/logo.png?dl=1.

Imgur

No action is needed with the Imgur link. Simply copy and paste it into the material or another field.

GitHub

After uploading the file to GitHub, copy the Raw. After that, you can paste it into PAC3.

Button copy raw on GitHub

Discord

To get a link to a file from Discord, right-click and copy the link.

Downloading Addon with Model

Downloading Addon from Steam Workshop

You can download an addon with a model from external sources or from the Steam Workshop.

There are two options to download the addon: the first one is simpler, and the second one is more reliable.

This is a website for downloading addons.

  1. Paste the addon link into the input field.
  2. If you see a download link for the addon, you can simply download it. steamworkshopdownloader.io example url link.
  3. If you don't see a download link but see the message Question: do you know what SteamCMD is and are you logged into it?, click on the Yes button and proceed to the SteamCMD section. steamworkshopdownloader.io example steamcmd link

This is the console version of Steam.

  1. Run steamcmd.exe.
  2. Type login anonymous to log in to SteamCMD, or you can use login <username> [<password>] [<Steam guard code>] to log in to your personal account.
  3. Copy the command using the Click here to copy! button and paste it into SteamCMD. steamworkshopdownloader.io example steamcmd command
  4. The required addon is downloaded and located in the specified folder.

Extracting the Addon

All the necessary programs can be found in the Required Programs and Files section.

File Type Required Program
*.vpk GCFScape
*.gma GWTool

[!WARNING]

GCFScape does not open files with hieroglyphs in the name.

  • To extract downloaded *.vpk files, you can use the GCFScape application.
  • To extract downloaded *.gma files, you can use the GWTool application. Simply run it and drag the file into the window that appears, and it will be unpacked in the same folder. (You may need the 7-Zip archiver for additional extraction.)

Required Programs and Files

1. Crowbar

Download link for the program Releases · ZeqMacaw/Crowbar
This program is used for decompiling, compiling, and viewing models on Source and GoldSource with a user-friendly interface and open-source code.
Valve page link: Crowbar - Valve Developer Community

2. GCFScape

Download link for the program GCFScape
GCFScape is a tool for viewing and extracting files from resource archives of Quake, GoldSrc, and Source games.
Valve page link: GCFScape - Valve Developer Community

3. VTFEdit

Download link for the program VTFLib/VTFEdit v1.3.3
VTFEdit is a tool for viewing, editing, and creating VTF and VMT files.
Valve page link: VTFEdit - Valve Developer Community

4. Blender

Blender should be version 2.92 or higher. Whether it's the Steam version or from the blender.org website. Download links:

5. default_physics.smd

File for correct rigging of the model. You can download this file from my repository by simply clicking <> Code -> Download ZIP or through this link default_physics.smd.

6. Blender Source Tools

Download link for Blender add-on Blender Source Tools
Blender Source Tools add support for the Source Engine to Blender, a free 3D modeling package. Whether you're making a simple hat or a fully articulated character, Blender Source Tools make exporting easier.
Valve page link: Blender Source Tools - Valve Developer Community

7. GWTool

Download link GWTool.
This application is needed to unpack *.gma files.

8. ProportionTrick Script

Download link ProportionTrick Script.
This is a special script for creating model proportions.

9. 7-Zip

Download link 7-Zip.
This application is needed for working with archives.

Setting Up Programs

1. Crowbar

You need to specify the path to steam.exe. To do this, open the Set Up Games tab and click the Browse... button next to the text Steam executable (steam.exe) [Used for "Run Game" button]:.
If you need to specify the path to the game, you can do it in the same tab by selecting the game in the upper ComboBox.

2. Blender

You need to add Blender Source Tools as an add-on in Blender. Step-by-step instructions:

  1. Click the Edit button (next to the application header).
  2. Click the Preferences button.
  3. Click the Add-ons button (left side in the opened window).
  4. Click the Install button.
  5. Choose the path to blender_source_tools_3.2.5.zip.
  6. Check the box for Import-Export: Blender Source Tools. Now you can import and export models in the *.smd and *.dmx formats.

License

GarrysModHelper © 2024 is licensed under Attribution-NonCommercial-NoDerivatives 4.0 International. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/.

Other languages

About

This repository serves as a guide for customizing your model in the game Garry's Mod. Here, you will find instructions, tips, and guides for various aspects of the game.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published