How to make hats for the server

From MoronYard Wiki
Revision as of 15:47, 20 June 2013 by Willdy (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
NonDBHatMaker banner.png

Important Information

In order to use this tool, you cannot have any other versions of PAC3 by CapsAdmin installed (this also means workshop addons). This tool is a direct modification of PAC3 and will conflict with the original version. Make sure you uninstall any other version!


How to install?

  1. Download the tool here!
  2. Open the zip file, extract the contents into your addons folder (c:\program files\steam\...\garrysmod\addons) so that you have a folder that says pac3-hatmaker.
  3. Done! You might need to restart Garry's Mod to use it.


Tutorial

1) Open PAC through the spawn menu / options tab.

Pac1.png


2) Click the "+" icon in the nonDB Hatmaker toolbar.

Pac2.png


3) The tree list on the left side will be cleared (all groups and models removed).


4) Create a new 'group' by right-clicking the empty white space in the upper left.

Pac3.png


5) Right-Click the newly created group and create a new 'model'.

Pac4.png

6) Make sure you have the exact structure as seen in the screenshots. 1 group and 1 model. No more, no less!!!


7) Select a model (clicking the [...] button in the model field opens the spawn menu, where you can right-click and copy a model's path and paste it into the model field)


8) Select the bone you want to parent to (most hats parent to 'head, body attachments might parent to 'spine 1-4')


9) Tick the 'origin fix' checkbox ~ This is very important!


10) You can now start making hats; use the position, angles, size and scale fields to adjust the model so the item fits perfectly.


11) After you are done with the positioning, click the little brick to save the settings for the first model (Barney).

Pac5.png


12) When you have clicked the little brick, click on the orange arrow pointing to the right (Next Model in line)

  • This will change the model to Alyx.
  • You need to adjust the settings for this model (repeat step 10)
  • When you are done, click the little brick again and then the right arrow (step 11)
    • This will change your model to next model in line. Repeat steps 10 & 11 again...


When you have reached the last model (stripped combine) and adjusted all the settings:

13) Click the brick one last time.

14) Click the green puzzle piece once. This will generate a file with all the settings for each model.

Pac6.png


15) The generated file can be found in your data folder (garrysmod\data\nonDB\hatsData\YOUR_MODEL\__compiled.txt)

16) Open the file _compiled.txt and check the last line. If it says TRUE, you have all the offsets you need and you are done. If it does not, it means you forgot to generate the offsets for one or several models.

Pac7.png

17) If the file says TRUE, you can copy paste the content of the _compiled.txt file into a new post in this thread.


Reminder:

  • If I like your hat and add it to the game, you will receive a Community version of your own creation!
  • Make sure that the hat looks good on all models.
    • I can't accept hats that only look good on some models and don't work with the others. Think about this before you start to save yourself some time.


General Guidelines:

  • Most hats look best when they are scaled down / up to fit the player's head size. Experiment a bit with the settings.
    • Avoid stretching the hat in 1 dimension. This will make it lose it's shape in most cases. Unless absolutely necessary you should not do this.
  • Do not rush through the hat creation process. Take your time and be precise. I am kind of picky when it comes to clipping issues and the general feel of the hat. If something doesn't look right, I will note it and it will probably take you longer to fix than before...
  • For now, please do not use custom models. Until the resource manager is fixed, I cannot include hats with custom models; you can send them in though but I will only add them when we can offer the custom model to the users through the download manager.
    • Hats can only be up of 1 part (model) right now!