Hobbies And Interests

How to Make a Player Model for Gary's Mod

"Gary's Mod" is a sandbox-style video game that enables players to create worlds and models and have them interact using the Source physics engine. Such creativity has attracted many new players, but beginners often have trouble with the technical aspects of model creation. Following the right steps, players can create a model of any image they like and manifest that image in the game world.

Things You'll Need

  • Milkshape 3D software
  • VTFEdit software
  • GUIStuidos software
Show More

Instructions

    • 1

      Open the "Gary's Mod" folder. Open the Models folder, then create a new folder and name it whatever you like. Exit the Models folder and enter the Materials folder. You will see a second Models folder. Open it, and create a folder with a name identical to the first folder that you made.

    • 2

      Open the program Milkshape 3D.

    • 3

      Under the Models tab, click "Box" and draw a box on the screen that is about four squares long and three squares tall.

    • 4

      Click the "Joint" button and place a joint in the intersection of the "X" in the middle of the box that you drew.

    • 5

      Click "Select," then "Group" at the bottom, and then click your square to highlight the Box and the Joint.

    • 6

      Click the "Joints" tab. Click "Assign," then "Set Assigned."

    • 7

      Open the program VTFEdit and open an image that you wish to replicate in "Gary's Mod." Under the File menu, click "Import" and send it through the "Gary's Mod" folder, followed by the Materials folder, followed by the Models folder. Save the image in the folder that you created, and name the image after that folder. Add the text "_texture" after the image's name.

    • 8

      Click "Tools" on VTFEdit. Under the Options tab of the window that appears, select "Vertext Generic," and then click "Create." Save the image in the same file that you saved the "_texture" file.

    • 9

      Return to Milkshape 3D. In the Materials tab, click "New." Click the "<none>" button to open a new window. Search for the "_texture" file that you made with the VTF program and open it.

    • 10

      Click "Assign" in the Materials tab in Milkshape 3D.

    • 11

      Export the image to a new folder on your desktop. A window will appear asking you for specifications; select "Reference," deselect "Sequence," and click "OK."

    • 12

      Export the file a second time, but add "_collision" after the text. Save it in the new folder on your desktop.

    • 13

      Open Notepad. Paste this code into the document:

      $modelname "/YourModel//YourModel.mdl"

      $cdmaterials "models//YourModel"

      $scale 1.0

      $surfaceprop "Metal"

      $body "Body" "/YourModel.smd"

      $sequence "idle" "/YourModel.smd" fps 30

      $collisionmodel "/YourModel_collision.smd"

      {

      $mass 40

      }

    • 14

      Go to "Edit," then "Replace," and type "/YourModel" into the Find What field. Replace it with "test" and click "Replace All." Save the folder to your desktop new folder. Save the file as compile.cq and change the tab to select "All Files Is Selected."

    • 15

      Open the program GUIStudios. Select which game you have: Orange Box or Half-Life.

    • 16

      Open the file gameinfo, located in the "Gary's Mod" folder.

    • 17

      Open the compile.cq file that you saved in your desktop new folder.

    • 18

      Click "Compile in GUIStudios."

    • 19

      Open the "Gary's Mod" folder and copy the folder with all of the images that you created.

    • 20

      Open the info document in the "Gary's Mod" folder, and add this code:

      "0"

      (

      "Information"

      (

      "Version" "1"

      "name" "test"

      )

      "Entries"

      (

      "1"

      (

      "Model" "models/Name/Name.md1"

      )

      )

      )

    • 21

      Replace the "Name" words with the names of the folders that you created in the Models folder of "Gary's Mod."

    • 22

      Test your image by opening it in "Gary's Mod."


https://www.htfbw.com © Hobbies And Interests