NeddoFreddo Posted July 25, 2016 Share Posted July 25, 2016 hey hey So I was working on a mod that adds structures into the game. One of them has an idle animation that loops (well 2 of them actually but only 1 isn't working.) The structure that isn't working is called bath in the files, btw. When I run the compiler, I get this bit of text: (please ignore dhmis in the background) For those who hate reading the standard .cmd font, it says: ERROR: Missing image 'shadow.png' referenced by 'bath.scml.' So i checked my spriter file, and the shadow image, yes, is present in the .scml and in the source folder. I tried recompiling it when I had deleted the shadow image in the .scml but still nothing. So if anyone could help, here is my .zipped file: (remember bath is the file that isn't compiling so check exported/bath.scml) [NEW] Furniture Mod.zip So thanks if you can help (or atleast tell me what i've done wrong ) Link to comment https://forums.kleientertainment.com/forums/topic/69110-spriter-animation-issues-not-compiling/ Share on other sites More sharing options...
IvanX Posted July 25, 2016 Share Posted July 25, 2016 I've no idea what scml format is or how spriters are made, but this piece of code inside bath.scml is confusing: <folder id="0"> <file id="0" name="shadow.png" width="0" height="0" pivot_x="0" pivot_y="1"/> <file id="1" name="bath.png" width="0" height="0" pivot_x="0" pivot_y="1"/> </folder> <folder id="1" name="bath"> <file id="0" name="bath/shadow.png" width="128" height="128" pivot_x="0" pivot_y="1"/> <file id="1" name="bath/bath.png" width="425" height="264" pivot_x="0" pivot_y="1"/> <file id="2" name="bath/waves/waves1.png" width="200" height="200" pivot_x="0" pivot_y="1"/> <file id="3" name="bath/waves/waves2.png" width="200" height="200" pivot_x="0" pivot_y="1"/> <file id="4" name="bath/waves/waves5.png" width="200" height="200" pivot_x="0" pivot_y="1"/> <file id="5" name="bath/waves/waves3.png" width="200" height="200" pivot_x="0" pivot_y="1"/> </folder> What exactly is the first folder tag for? And why does it point to shadow.png, instead of bath/shadow.png ? Link to comment https://forums.kleientertainment.com/forums/topic/69110-spriter-animation-issues-not-compiling/#findComment-796820 Share on other sites More sharing options...
NeddoFreddo Posted July 25, 2016 Author Share Posted July 25, 2016 5 hours ago, IvanX said: I've no idea what scml format is or how spriters are made, but this piece of code inside bath.scml is confusing: <folder id="0"> <file id="0" name="shadow.png" width="0" height="0" pivot_x="0" pivot_y="1"/> <file id="1" name="bath.png" width="0" height="0" pivot_x="0" pivot_y="1"/> </folder> <folder id="1" name="bath"> <file id="0" name="bath/shadow.png" width="128" height="128" pivot_x="0" pivot_y="1"/> <file id="1" name="bath/bath.png" width="425" height="264" pivot_x="0" pivot_y="1"/> <file id="2" name="bath/waves/waves1.png" width="200" height="200" pivot_x="0" pivot_y="1"/> <file id="3" name="bath/waves/waves2.png" width="200" height="200" pivot_x="0" pivot_y="1"/> <file id="4" name="bath/waves/waves5.png" width="200" height="200" pivot_x="0" pivot_y="1"/> <file id="5" name="bath/waves/waves3.png" width="200" height="200" pivot_x="0" pivot_y="1"/> </folder> What exactly is the first folder tag for? And why does it point to shadow.png, instead of bath/shadow.png ? By the looks of things you probably don't have spriter installed, so it will open in notepad instead. Anyway, I opened the scml in notepad and changed it to: Spoiler <folder id="0"> </folder> <folder id="1" name="bath"> <file id="0" name="bath/shadow.png" width="128" height="128" pivot_x="0" pivot_y="1"/> <file id="1" name="bath/bath.png" width="425" height="264" pivot_x="0" pivot_y="1"/> <file id="2" name="bath/waves/waves1.png" width="200" height="200" pivot_x="0" pivot_y="1"/> <file id="3" name="bath/waves/waves2.png" width="200" height="200" pivot_x="0" pivot_y="1"/> <file id="4" name="bath/waves/waves5.png" width="200" height="200" pivot_x="0" pivot_y="1"/> <file id="5" name="bath/waves/waves3.png" width="200" height="200" pivot_x="0" pivot_y="1"/> </folder> Which resulted in this: Spoiler Ingame, when I spawned in the bath, the game says it doesn't regocnize the prefab bath, so there must be something wrong with the files now, bleugh. I'm probably just gonna restart and make the bath again from scratch. Link to comment https://forums.kleientertainment.com/forums/topic/69110-spriter-animation-issues-not-compiling/#findComment-796910 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