How to Upload Materials to Gmod Workshop
Today I will exist explaining how to Import models into your PAC.
For those that do not know, importing substantially the process of taking a model that is non in the server content but in an external addon and making it then that it downloads onto your model.
This ways that you can use models that are not present on the server or its mounted addons.
The programs you are going to need are the following:
- http://nemesis.thewavelength.internet/files/files/vtfedit125-11.exe - VTF Editor (this is what you use to convert the VTF Textures into PNGs which are used for the material of the model)
- http://nemesis.thewavelength.internet/files/files/crafty102.exe - CRAFTY (this is used to observe/expect at obj. files which are the model itself)
- https://drive.google.com/file/d/1NCTi6vIX-rZMIpjIVt9xd7ozMJLTIIPC/view - CROWBAR (this is what you will use when yous want to decompile a model for its bodygroups if that is the model you are after)
Those are the only 3 programs you will need to have to Import whatsoever model/bodygroup.
STEP 1 -- Observe the addon you lot want to Import from
For this demonstration, I will be using this Clone Wars Addon -- https://steamcommunity.com/sharedfiles/filedetails/?id=969995255
STEP 2 -- Download the Addon
Pretty cocky explanatory, yous need to download the addon into your Gmod Files and then just subscribe to the addon and launch Gmod for the addon to be downloaded --
STEP 3 -- Locate the addon
One time the addon has been downloaded, you will need to detect the bodily file.
To locate the file, navigate to you Gmod addons binder which will be at -- //steamapps/mutual/garrysmod/garrysmod/addons
Once you are in that folder, you can CNTRL + F and search for your addon. In this instance it is a 327th addon, so I did CNTRL + F "327th" and constitute the file:
Footstep four -- Run the file through Gmad.exe
In its current state the file cannot be used for Importing, so information technology must exist converted.
To convert the file right click on it and click on 'Open with'
and then click on 'Look for another app on this PC' which will likely be located at the lesser of that section.
Now you lot demand to find Gmad.exe, the program y'all want to run the file through.
Gmad.exe is located in steamapps/common/garrysmod/bin/ and from at that place all you desire to exercise is click on Gmad.exe
A blackness display will pop up and convert the files for y'all.
Footstep 5 -- Notice the new converted Addon
The new converted addon will be found in the same place every bit the former unusable addon. (steamapps/common/garrysmod/garrysmod/addons)
Information technology will take the aforementioned proper name, and so just CNTRL + F and search for the same proper name y'all used previously, in this case I practise "327th" once over again.
Alternatively, it will be located in a folder and thus tin can exist plant at the top of the directory, so y'all could just discover it like this:
Once you accept that folder, I would advise moving information technology somewhere Isolated so that it can be worked on and observed more than efficiently and easier than having it mixed up with other addons and folders/files.
Pace six -- Decompile the Model
This is where CROWBAR comes into play.
About models that you are going to want to import probable will merely exist seen every bit a floating Head or a body without a head. This is considering these models take bodygroups, which are probable what yous are afterward in the outset place.
In my instance the model was all at that place, simply fifty-fifty if it isn't just a floating caput or body, we wouldn't want the entire model, only individual pieces such as the helmet, visor, kama, etc (whatever piece you're after).
To get the bodygroups (individual models), you need CROWBAR, and more specifially, you will need to decompile the model.
IMPORTANT: In virtually cases, the Commander model will take the most bodygroups, and it is appropriate to decompile that model equally other models may not have as many bodygroups.
Launch CROWBAR.
Click on 'Decompile'
Now you will have to channels at the acme
For "MDL input" click Scan and observe your model (preferably the CO model as it has the most bodygroups)
The "Output to" it where it will leave the decompiled files, so put that wherever you are comfy.
Once both directories have been selected, press 'decompile'
Footstep seven -- Convert SMD Models to OBJ
For sit-in, I will be using this file.
I apply this site to convert smd. to obj, -- https://www.meshconvert.com/
Now we take the OBJ file
Now nosotros have the model complete and in its correct format. All we need now is its cloth.
Stride 8 -- Convertting VTF to PNG/JPEG (Material)
The materials for the models tin exist found within the addon you lot converted.
Similar to where we plant the SMD. model in the 'materials' section.
We want to find the VTF file that has the material for the haversack.
Note that with the program VTF Editor, you can open up and discover VTF Files and then convert them.
Due to it being a haversack, it is likely that the material volition be located in either a 'Shared' folder or a '327th' folder, as most troopers should have it as a bodygroup.
You will find VTF and VMT files. Ignore the VMT files, they cannot be used, y'all are after the correct VTF File for your model.
In this case information technology turned out to be in 'Heavy.vtf'
I knew this considering it has the material for my haversack in the file:
When you lot have establish the correct Textile, you want to catechumen it to a PNG file every bit it is currently a VTF File.
Click on 'File' and then 'Export'.
From there you lot want to ensure you select the output to PNG or JPEG.
Once you export, you volition have your PNG/JPEG file which is your textile for the model complete.
STEP 10 -- Uploading the OBJ and PNG/JPEG to Dropbox
Y'all want to upload these files to dropbox.
Once uploaded to Dropbox yous will have to share them to get a link for them.
Don't worry, sharing them only gives you a link, then others won't have the file unless you lot give information technology to them.
Click on 'Share'
Then click 'Create Link'
And then copy the link generated.
- Material (JPG File)
- Model (OBJ File)
STEP 11 -- Opening the files in PAC 3
To open the files, create a new model in PAC.
And then, into the 'model' and 'textile' section, input your copied IDs from the OBJ file and PNG/JPEG file respectively.
(Inputting model ID)
and so the textile ID
(Inputting material ID)
STEP 12 -- Adjust the model
These models tin be abit glitchy at times.
To avoid this, make the model 'fullbright' and set its colour downward to a greyish color to give it a like color to what it originally was.
The reason I say make it full bright is because when the model clips through the ground it gets darker, hither's what I hateful.
And so to avert that from happening, just make the model Fulbright and refuse its color.
That's all folks.
If yous take any issues trying this out yourself with whatever model you lot choose permit me know and I'll try to help yous out.
Source: https://imperialgamingau.invisionzone.com/topic/5522-how-to-import-any-model/
Post a Comment for "How to Upload Materials to Gmod Workshop"