Open BruceMustache opened 4 years ago
Universal is not possible, because for each skin a "hand-node" needs to be registered at initialization. Currently only the simple_skins support is implemented.
I added API functions "newhand.register_hand()" and "newhand.set_hand()" in #13 to allow skin developers to implement support for this mod on the other site
This is more on the other developers to integrate this basic mod into their mods for dynamic utilization. I can make the most perfect lightweight hand mod in the world that works with everything and anything, brute forcing it's utilization. But if their api changes on a whim, this mod will suddenly crash your game. So this is why it is a basis of modification/customization api of the hand versus the former. Hopefully this makes sense.
I also had someone ask me about hot reload when new skins are downloaded and this is my answer to that:
Extremely difficult/impossible to integrate smoothly seeing how you must re-register a node, basically bake it into a list and then it will be reloaded on the next server restart. The solution to this is allow items to utilize the 3D model as the model. Then the second step would be, generating a new item during gameplay and sending the clients that new data and utilizing it. So on and so forth. If you find this answer unacceptable, you must bring it up with the developers of the engine. I will leave this issue open as it might be possible in the future. Thanks for your understanding
Would be very nice if newhand is compatible with whaterver skin mod you are using