Skip to content Skip to sidebar Skip to footer

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 --Capture.PNG.9885e26346d7731b8252a8b1650d1b8d.PNG

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:cap1.PNG.aba52c3ae3633be61b8dd80b6b777e90.PNG

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'

cap2.PNG.786a11394b629c45b03eb855e88ec994.PNG

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

cap3.PNG.89236305b95b99ceeb0db6e0139e3f6b.PNG

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:

cap4.PNG.6dce7e802ba2b1a9ea050cc741bf5f87.PNG

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).

cap7.PNG.eba3dd6ffa89cee3f7e06425a0b71ed2.PNG

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'cap8.PNG.f866ce250f5049ae15cd321944fcc80f.PNG

Now you will have to channels at the acmecap9.PNG.d9a0bb186c6f27e242285cccaa0770dc.PNG

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'cap10.PNG.3a70ef9e4b54e6edc06eb8a914ee83be.PNG

Footstep seven -- Convert SMD Models to OBJ

For sit-in, I will be using this file.

cap11.PNG.920dfa22e68a7958cc7137babd021d8c.PNG

I apply this site to convert smd. to obj, -- https://www.meshconvert.com/

Now we take the OBJ file

obj.PNG.895694652bf15d3796d1459993fa6d44.PNG

obj1.PNG.6a63518eb3f03868a26519496b48f3b2.PNG

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.

cap12.PNG.06cf2df4f0a882e584ae7334252294c9.PNG

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.

cap14.PNG.e0818f2d40dbc32f86a2122088d47911.PNG

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.

cap15.PNG.78c49d84f6071a7b5673f46d53fce67f.PNG

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:

cap16.thumb.PNG.5cec032fab0b51339d84666175f45814.PNG

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'.

cap17.PNG.9d646f9da055db20e89d1b7d381f73e5.PNG

From there you lot want to ensure you select the output to PNG or JPEG.

cap19.PNG.182546488ab0cba25acbdb2d615df83e.PNG

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.

cap20.PNG.d250e86e74853637c625df08cee1b0e9.PNG


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'

cap21.thumb.PNG.e4775f94981d7bc06b89bdabd647fd58.PNG

Then click 'Create Link'

cap22.PNG.341bd7f0b4040a999d81ada5fc8f6789.PNG

And then copy the link generated.

cap23.PNG.3a19c1cf3f6ec208e7711dcb5f859cb7.PNG - Material (JPG File)

cap24.PNG.f64ef53173914dcf981bbac5c4dd7b5a.PNG - Model (OBJ File)

STEP 11 -- Opening the files in PAC 3

To open the files, create a new model in PAC.

20190714155634_1.thumb.jpg.be9be968e91169a5079b5c4c204384f5.jpg

And then, into the 'model' and 'textile' section, input your copied IDs from the OBJ file and PNG/JPEG file respectively.

20190714155718_1.thumb.jpg.d72b7b2d5458add1e3f9a32d55e84448.jpg (Inputting model ID)

and so the textile ID

20190714155742_1.thumb.jpg.97d8f33fdc6276ca02b6b88dd8661282.jpg (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.

20190714160233_1.thumb.jpg.e8b1cf9f81cca9aeaa7e3760096cd311.jpg

20190714160235_1.thumb.jpg.b9f6f2626569b8f3a68b3d5e15c09b30.jpg

And so to avert that from happening, just make the model Fulbright and refuse its color.

20190714160337_1.thumb.jpg.9cb35fd461430e4752eb3abc7585bfd1.jpg

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.

cap13.PNG

barileonclueed.blogspot.com

Source: https://imperialgamingau.invisionzone.com/topic/5522-how-to-import-any-model/

Post a Comment for "How to Upload Materials to Gmod Workshop"