Now is time to resurrect this project and start to write posts again and rewrite old systems.
I replaced Unity's default input system with Rewired which made input coding a bliss.
I modified Mixamo's paladin character to fit my needs.
Paladin only had diffuse, normal and specular textures which I needed to convert to more PBR friendly shape. Substance Painter proved to be perfect for this job. I wanted to get this done quick so
I started by adding old diffuse as a fill layer in subtance painter.
Then I added metal material as a fill layer and masked out every non-metal surfaces and added some leather material to all leather straps. Quick and results good enough for my tests.
![]() |
Original diffuse |
![]() |
Metal and leather materials added. |
Then I needed to chop this paladin into different body parts and add some kind of flesh material which I painted in Substance Painter.
![]() |
All different body parts separated |
I made a Warrior Creator script which makes making new warriors simple. I just need to make sure that every character rig and body parts follow my naming policy.
It used to be really long and time consuming process to prepare new character meshes as warrior but now it's just a one button. I could share it but it's so specific for my project so it would be quite pointless to share it.
I rewrote whole arm controller because old one was not that well coded, really shows my lack of experience as a coder.
I used Custom Handles to make it easy to adjust arm rotation limits in unity Scene view. Custom Handles is really nice asset if you need to make any kind of custom gizmos.
There is some dependencies which I'll also share but I can't obviously share Rewired or Custom Handles.
and inspector Here is LimbAction, which is main class for any action LimbHandler handles
Here is the Common class And here is InputManager, it's really simple.
Ei kommentteja:
Lähetä kommentti