bobmittens Posted September 1, 2017 Share Posted September 1, 2017 I'm currently doing the art pass for my character mod and their hair goes over and covers parts of their face. This works fine when the character is standing still or in spriter. But when in game if my character moves the hair layer falls behind the face layer. is there any fix for this or should i just deal with how its is currently? Link to comment https://forums.kleientertainment.com/forums/topic/81634-help-while-moving-the-face-layer-moves-over-the-hair-layer/ Share on other sites More sharing options...
. . . Posted September 1, 2017 Share Posted September 1, 2017 All animations have their own layer thingys & unfortunately that can't be changed unless you edit the anim which I don't think is even possible.. The only thing I can say to fix this would be to make the hair longer like it's covering the full left eye then you just put 1 eye for the character's face . Link to comment https://forums.kleientertainment.com/forums/topic/81634-help-while-moving-the-face-layer-moves-over-the-hair-layer/#findComment-949450 Share on other sites More sharing options...
ZupaleX Posted September 1, 2017 Share Posted September 1, 2017 You can edit animations, it's just painful. Why not use the hairfront symbol? This one stays constantly in front of the face. Link to comment https://forums.kleientertainment.com/forums/topic/81634-help-while-moving-the-face-layer-moves-over-the-hair-layer/#findComment-949532 Share on other sites More sharing options...
bobmittens Posted September 1, 2017 Author Share Posted September 1, 2017 3 hours ago, ZupaleX said: You can edit animations, it's just painful. Why not use the hairfront symbol? This one stays constantly in front of the face. The layer i'm using is the hair_front layer. Works fine until you move. Link to comment https://forums.kleientertainment.com/forums/topic/81634-help-while-moving-the-face-layer-moves-over-the-hair-layer/#findComment-949565 Share on other sites More sharing options...
ZupaleX Posted September 1, 2017 Share Posted September 1, 2017 the hairfront should not go behind the face when you move. Are you sure you replaced all the sprites properly in that folder and spriter did not mess up the project? Link to comment https://forums.kleientertainment.com/forums/topic/81634-help-while-moving-the-face-layer-moves-over-the-hair-layer/#findComment-949590 Share on other sites More sharing options...
bobmittens Posted September 1, 2017 Author Share Posted September 1, 2017 2 hours ago, ZupaleX said: the hairfront should not go behind the face when you move. Are you sure you replaced all the sprites properly in that folder and spriter did not mess up the project? I have not changed the spriter file at all and all my file paths seem correct. When the head is moving however it doesn't seem to follow. Here is a gif of it in action Link to comment https://forums.kleientertainment.com/forums/topic/81634-help-while-moving-the-face-layer-moves-over-the-hair-layer/#findComment-949616 Share on other sites More sharing options...
ZupaleX Posted September 1, 2017 Share Posted September 1, 2017 Spriter can mess a project in ways you can't even imagine. That combined with the autocompiler = headaches. But that's something I've never seen before. Usually it's more a sprite not showing at all or displaying something else entirely. Did you modify ALL the hair_front with the appropriate sprites? Maybe you should post the entire project that would be easier. Link to comment https://forums.kleientertainment.com/forums/topic/81634-help-while-moving-the-face-layer-moves-over-the-hair-layer/#findComment-949617 Share on other sites More sharing options...
bobmittens Posted September 1, 2017 Author Share Posted September 1, 2017 9 minutes ago, ZupaleX said: Spriter can mess a project in ways you can't even imagine. That combined with the autocompiler = headaches. But that's something I've never seen before. Usually it's more a sprite not showing at all or displaying something else entirely. Did you modify ALL the hair_front with the appropriate sprites? Maybe you should post the entire project that would be easier. There is hair_front 0 which is what I edited and that goes on the facing the screen sprite and then hair_front 1 goes on the sideways sprite so i left that blank I have added the .zip for my current version so you can check there. wisia.zip wisia.zip Link to comment https://forums.kleientertainment.com/forums/topic/81634-help-while-moving-the-face-layer-moves-over-the-hair-layer/#findComment-949618 Share on other sites More sharing options...
ZupaleX Posted September 2, 2017 Share Posted September 2, 2017 (edited) I am puzzled by the fact that the sprite for hairfront is animated in the idle animation but is not for anything else. I cannot think of what could cause this behaviour. Did you look for other thread on the frum from people who used the hairfront symbol successfully? I'm wondering if there is not supposed to be more than 2 sprites and somehow it's just missing when it has been decompiled (not the first time that would happen) and that could create this kind of undefined behaviours.. Edited September 2, 2017 by ZupaleX Link to comment https://forums.kleientertainment.com/forums/topic/81634-help-while-moving-the-face-layer-moves-over-the-hair-layer/#findComment-949644 Share on other sites More sharing options...
bobmittens Posted September 2, 2017 Author Share Posted September 2, 2017 12 minutes ago, ZupaleX said: I am puzzled by the fact that the sprite for hairfront is animated in the idle animation but is not for anything else. I cannot think of what could cause this behaviour. Did you look for other thread on the frum from people who used the hairfront symbol successfully? I'm wondering if there is not supposed to be more than 2 sprites and somehow it's just missing when it has been decompiled (not the first time that would happen) and that could create this kind of undefined behaviours.. I have not checked other places on this forum yet for this specific problem (i have checked for similar ones) but in the character template files there is no Hair_front file and it seems to have been added in when i compiled my files for the first time. Link to comment https://forums.kleientertainment.com/forums/topic/81634-help-while-moving-the-face-layer-moves-over-the-hair-layer/#findComment-949647 Share on other sites More sharing options...
ZupaleX Posted September 2, 2017 Share Posted September 2, 2017 (edited) I am not sure I understand what you mean. The extended character template do have a hairfront folder with 2 sprites in. I'm just wondering if maybe it is missing some. The symbol is hairfront btw, not hair_front. But your project has it right. Edited September 2, 2017 by ZupaleX Link to comment https://forums.kleientertainment.com/forums/topic/81634-help-while-moving-the-face-layer-moves-over-the-hair-layer/#findComment-949648 Share on other sites More sharing options...
bobmittens Posted September 2, 2017 Author Share Posted September 2, 2017 (edited) 18 minutes ago, ZupaleX said: I am not sure I understand what you mean. The extended character template do have a hairfront folder with 2 sprites in. I'm just wondering if maybe it is missing some. The symbol is hairfront btw, not hair_front. But your project has it right. Ohh you're right i just checked the normal esc_template does have it. Edited September 2, 2017 by bobmittens Link to comment https://forums.kleientertainment.com/forums/topic/81634-help-while-moving-the-face-layer-moves-over-the-hair-layer/#findComment-949650 Share on other sites More sharing options...
ZupaleX Posted September 2, 2017 Share Posted September 2, 2017 you are using the cleared one? Link to comment https://forums.kleientertainment.com/forums/topic/81634-help-while-moving-the-face-layer-moves-over-the-hair-layer/#findComment-949651 Share on other sites More sharing options...
bobmittens Posted September 2, 2017 Author Share Posted September 2, 2017 24 minutes ago, ZupaleX said: you are using the cleared one? hairfront1- is clear hairfront-0 is my sprite which is the correct png size. Link to comment https://forums.kleientertainment.com/forums/topic/81634-help-while-moving-the-face-layer-moves-over-the-hair-layer/#findComment-949653 Share on other sites More sharing options...
ZupaleX Posted September 2, 2017 Share Posted September 2, 2017 I'm asking about the build you assign to your character. Which one did you assign in you lua file? Link to comment https://forums.kleientertainment.com/forums/topic/81634-help-while-moving-the-face-layer-moves-over-the-hair-layer/#findComment-949654 Share on other sites More sharing options...
bobmittens Posted September 2, 2017 Author Share Posted September 2, 2017 6 minutes ago, ZupaleX said: I'm asking about the build you assign to your character. Which one did you assign in you lua file? Are you referring to the character_none.lua file or the asset list in the mod main? (or something else entirely?) Link to comment https://forums.kleientertainment.com/forums/topic/81634-help-while-moving-the-face-layer-moves-over-the-hair-layer/#findComment-949655 Share on other sites More sharing options...
ZupaleX Posted September 2, 2017 Share Posted September 2, 2017 I remembered reading about something similar so I did a bit of a search and it seems like you're not the only one with sync issue when it comes to the hairfront symbol. Unfortunately I did not see anyone getting around it. Either this symbol is broken with the autocompiler, either the extended character build doesn't have the proper amount of sprites. Link to comment https://forums.kleientertainment.com/forums/topic/81634-help-while-moving-the-face-layer-moves-over-the-hair-layer/#findComment-949656 Share on other sites More sharing options...
bobmittens Posted September 2, 2017 Author Share Posted September 2, 2017 1 minute ago, ZupaleX said: I remembered reading about something similar so I did a bit of a search and it seems like you're not the only one with sync issue when it comes to the hairfront symbol. Unfortunately I did not see anyone getting around it. Either this symbol is broken with the autocompiler, either the extended character build doesn't have the proper amount of sprites. Alright, welp maybe one day when its fixed i can do more advanced hair sprites but for now ill just have to do my work around for it. Thank you SO MUCH for all your help allot of people don't stick around and help for this long and it means allot. Link to comment https://forums.kleientertainment.com/forums/topic/81634-help-while-moving-the-face-layer-moves-over-the-hair-layer/#findComment-949658 Share on other sites More sharing options...
Usyash Posted May 9 Share Posted May 9 I know it's been a while, but... Did you find a solution? Link to comment https://forums.kleientertainment.com/forums/topic/81634-help-while-moving-the-face-layer-moves-over-the-hair-layer/#findComment-1866510 Share on other sites More sharing options...
Echsrick Posted May 9 Share Posted May 9 2 hours ago, Usyash said: I know it's been a while, but... Did you find a solution? you could draw the hair on the headbase instead Link to comment https://forums.kleientertainment.com/forums/topic/81634-help-while-moving-the-face-layer-moves-over-the-hair-layer/#findComment-1866523 Share on other sites More sharing options...
Usyash Posted May 11 Share Posted May 11 I could, but I want the hair to partially hide the face Link to comment https://forums.kleientertainment.com/forums/topic/81634-help-while-moving-the-face-layer-moves-over-the-hair-layer/#findComment-1866699 Share on other sites More sharing options...
Echsrick Posted May 11 Share Posted May 11 3 hours ago, Usyash said: I could, but I want the hair to partially hide the face like hair being over 1 eye? you could just draw only 1 eye Link to comment https://forums.kleientertainment.com/forums/topic/81634-help-while-moving-the-face-layer-moves-over-the-hair-layer/#findComment-1866717 Share on other sites More sharing options...
Usyash Posted May 12 Share Posted May 12 Not quite it Link to comment https://forums.kleientertainment.com/forums/topic/81634-help-while-moving-the-face-layer-moves-over-the-hair-layer/#findComment-1866802 Share on other sites More sharing options...
IronHunter Posted May 13 Share Posted May 13 Instead of hair_front I recommend using the SWAP_FACE symbol as this is essentially the klei character fixed version that is used by a few character's skins. This symbol renders in front of the face much like hair_front and is not broken in DST animations as its used by multiple different characters like Wendy and Wigfrid. hair_front is a legacy symbol that I think is not used by any DST klei characters. It is used by wheeler in DS:Hamlet but single player animations and multiplayer animations are not identical anymore. You probably have to download a more up to date template as the ancient escTemplate is quite out of date, and is missing multiple symbols like: SWAP_FACE arm_lower_cuff BEARD (if you want your character to start with a BEARD symbol it is a lot easier to draw with a template) Furthermore not having SWAP_HAT means a lot of custom character's get their head size wrong as the escTemplate has a unusually small head that causes a lot of hats to float although this can softly be fixed by utilizing the AnimState:SetHatOffset function to adjust the y offset of the hat so it fits bigger or smaller heads better. On 5/11/2026 at 8:05 AM, Usyash said: I could, but I want the hair to partially hide the face 1 Link to comment https://forums.kleientertainment.com/forums/topic/81634-help-while-moving-the-face-layer-moves-over-the-hair-layer/#findComment-1866854 Share on other sites More sharing options...
Usyash Posted May 13 Share Posted May 13 It actually works. Dude, you're a genuis, thanks 9 hours ago, IronHunter said: You probably have to download a more up to date template as the ancient escTemplate is quite out of date Do you happen to know any? Link to comment https://forums.kleientertainment.com/forums/topic/81634-help-while-moving-the-face-layer-moves-over-the-hair-layer/#findComment-1866895 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now