Hithae
Farmhand
Hi.
I want to make a mod to change the animation of the farmer when viewed from the side while using the pickaxe, axe, hoe, or club special attack. It was going well until I noticed that the hair still moved as if it were the old animation (moving up), while I in my new animation need the hair to move down instead. I was told by a few people in the Stardew Valley Discord channel that the way the hair moves is dictated by code (specifically in a file called FarmerRenderer.cs), and thus I would have to change that code in order to control how the hair moves in animations.
My questions are; how do I identify the right piece of code, how should I alter it, and how do I implement the change into a mod?
I want to make a mod to change the animation of the farmer when viewed from the side while using the pickaxe, axe, hoe, or club special attack. It was going well until I noticed that the hair still moved as if it were the old animation (moving up), while I in my new animation need the hair to move down instead. I was told by a few people in the Stardew Valley Discord channel that the way the hair moves is dictated by code (specifically in a file called FarmerRenderer.cs), and thus I would have to change that code in order to control how the hair moves in animations.
My questions are; how do I identify the right piece of code, how should I alter it, and how do I implement the change into a mod?