Skip to content

Latest commit

 

History

History
53 lines (36 loc) · 2.1 KB

File metadata and controls

53 lines (36 loc) · 2.1 KB

GorillaPlayerModelModProject-Master

Unity project version 2019.3.15 with scripts allowing you to create Playermodel files (*.gtmodel)

Use the .blend file in the assets folder for the rig (made for the playermodel mod) Will change in the future, in the .blend file KEEP the transforms to 0.01 for scaling

image

  • Player Model Name : Name your model
  • Author : Put your name here
  • Lefhand : left hand bone
  • Righthand : right hand bone
  • Torso : the toro/hips of the rig
  • Body : The mesh of the model
  • Custom Color : Enables custom colors on your playermodel
  • Game Mode Textures : Enables Game Mode Textures on your playermodel

Creation Guide

Create an Empty GameObject and reset the transforms, attach the PlayermodelDescriptor to it. Import your model with the rig from the .blend file, and attach it to the GameObject. Apply your materials to the model Assign the specified bones to the PlayermodelDescriptor

Specific bones highlighted in red (naming of the bones don't matter)

I'm using the PlayerModelMod_FBX_Example.fbx as an example (In the Assets folder)

image image

To test the playermodel in the editor, Enable the OfflineRig_GorillaPlayer Press play in the editor. If the Playermodel was setup correctly, the playermodel should be aligned to the OfflineRig_GorillaPlayer with green shaped on the arms

image

Press play again to exit.

Next step is to export the .gtmodel file

Go the Menu item "Assets" Then "Create Player Model"

The Console will print the name of your player model. The playermodel is exported to the PlayerModelOutput Folder

Drap the .gtmodel file into the PlayerAssets folder in the PlayerModels Mod folder

D O N E

Using fast ik script from https://github.com/ditzel/SimpleIK