Nimeni Posted June 7, 2016 Share Posted June 7, 2016 Hello, I'm currently making a mod based on the extended character sampler and I have a small problem. Namely that I'd like to change the z-position of the the hair und hair_hat sprites in Spriter, so that they are infront, instead of behind the face. I know I could use the hairfront sprites for this, but that will lead to hair sticking out of a head in the side view. I know that I can change the order, if I change something in the code of the spriter .scml file, but I can't figure out what I have to do for the life of me. None of my changes so far translated to the game. Does anyone have any experience with this? Link to comment https://forums.kleientertainment.com/forums/topic/67969-how-to-change-the-z-layering-in-spriter/ Share on other sites More sharing options...
NeddoFreddo Posted June 9, 2016 Share Posted June 9, 2016 (edited) On 07/06/2016 at 9:43 PM, Nimeni said: Hello, I'm currently making a mod based on the extended character sampler and I have a small problem. Namely that I'd like to change the z-position of the the hair und hair_hat sprites in Spriter, so that they are infront, instead of behind the face. I know I could use the hairfront sprites for this, but that will lead to hair sticking out of a head in the side view. I know that I can change the order, if I change something in the code of the spriter .scml file, but I can't figure out what I have to do for the life of me. None of my changes so far translated to the game. Does anyone have any experience with this? For future reference: To change the Z-order all you do is drag the images to the right order in the z-order panel. However, modifying the spriter file doesn't actually change anything in-game. So I beg you, please don't change anything in the spriter file as it just makes everything more annoying. I'm pretty sure the only way to do this is to change the image files, or you could change the code around a bit to suit your needs. I am not the best at coding, so maybe if someone more experienced came along... (guys, that's your cue! :P) Sorry for not being able to help all too much! D: Edited June 9, 2016 by NeddoFreddo Link to comment https://forums.kleientertainment.com/forums/topic/67969-how-to-change-the-z-layering-in-spriter/#findComment-781431 Share on other sites More sharing options...
Nimeni Posted June 10, 2016 Author Share Posted June 10, 2016 it's fine. Thanks for the help anyway D: I've already gotten so far as to figure out that I need to change the code of the .scml for this, but I can't figure out what to do exactly. I'm not really a coder myself ._. Link to comment https://forums.kleientertainment.com/forums/topic/67969-how-to-change-the-z-layering-in-spriter/#findComment-781911 Share on other sites More sharing options...
RyanandLink Posted June 10, 2016 Share Posted June 10, 2016 (edited) Is your headbase and headbase_hat the same? Because it shouldn't be if something sticks out of the hat. The game replaces headbase with headbase_hat when you equip headgear, look at Wilson; his hair would be sticking all out of any hats he wears. Edited June 10, 2016 by RyanandLink Link to comment https://forums.kleientertainment.com/forums/topic/67969-how-to-change-the-z-layering-in-spriter/#findComment-781921 Share on other sites More sharing options...
Nimeni Posted June 10, 2016 Author Share Posted June 10, 2016 It's not the same, but my hair is in hairfront, so it's in front of his face. apparently this one doesn't get switched out with headbase_hat or hair_hat =\ That's why I want to change the z-layering of hair and hair_hat. Then I can just use these for my hair sprites. Right now however, they are always behind the face. Link to comment https://forums.kleientertainment.com/forums/topic/67969-how-to-change-the-z-layering-in-spriter/#findComment-781924 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