EmielRegis Posted February 3, 2014 Share Posted February 3, 2014 Hello. I playing around with prefab sample from that page http://forums.kleientertainment.com/files/file/202-sample-mods/ and i have problem with spriter animations. When i make my own and paste it as "myprefab_build" in game after dropping it on ground I dont see anything. I compared my animation with orginal animation and i dont know what makes that difference. Any help? Link to comment https://forums.kleientertainment.com/forums/topic/31350-spriter-problem/ Share on other sites More sharing options...
EmielRegis Posted February 3, 2014 Author Share Posted February 3, 2014 pls help, I read many tutorials but i cant do anything becouse game simply not displaying any stuff created by me. Link to comment https://forums.kleientertainment.com/forums/topic/31350-spriter-problem/#findComment-411922 Share on other sites More sharing options...
dontstarver.wiki Posted February 4, 2014 Share Posted February 4, 2014 pls help, I read many tutorials but i cant do anything becouse game simply not displaying any stuff created by me. hey emielregis, try:inst:AddComponent("inventoryitem")inst.components.inventoryitem.imagename = "myprefab"inst.components.inventoryitem.atlasname = "images/inventoryimages/myprefab.xml"inst.components.inventoryitem:GetImage()inst.components.inventoryitem:GetAtlas() add the lines above in your prefab/item regards Link to comment https://forums.kleientertainment.com/forums/topic/31350-spriter-problem/#findComment-412195 Share on other sites More sharing options...
EmielRegis Posted February 4, 2014 Author Share Posted February 4, 2014 First, thanks for your attention I added code you send me(few of it was already here) but it doesnt seems to chnage anything. Only shadow appearing on right. This is only change i done in orginal spriter file. Link to comment https://forums.kleientertainment.com/forums/topic/31350-spriter-problem/#findComment-412242 Share on other sites More sharing options...
Kuloslav Posted February 4, 2014 Share Posted February 4, 2014 I had a similar problem. Spiter after modifying or creating your own animations display part (a single png file). This happened in version 6.x. How to solve the problem? Change version spriter on this with "Don't Starve Mod Tools" - 5.x. Link to comment https://forums.kleientertainment.com/forums/topic/31350-spriter-problem/#findComment-412247 Share on other sites More sharing options...
EmielRegis Posted February 4, 2014 Author Share Posted February 4, 2014 Its working! Thanks so much! Link to comment https://forums.kleientertainment.com/forums/topic/31350-spriter-problem/#findComment-412249 Share on other sites More sharing options...
EmielRegis Posted February 4, 2014 Author Share Posted February 4, 2014 Ehhh...Now i have another problem. Idle animation works fine in most cases but when i added "run" animation its not working. It looks like displaying first frame of animation but nothing more. Character looks like sliding. Link to comment https://forums.kleientertainment.com/forums/topic/31350-spriter-problem/#findComment-412418 Share on other sites More sharing options...
Kuloslav Posted February 4, 2014 Share Posted February 4, 2014 Post animation here. Then it will solve sooner Link to comment https://forums.kleientertainment.com/forums/topic/31350-spriter-problem/#findComment-412437 Share on other sites More sharing options...
EmielRegis Posted February 5, 2014 Author Share Posted February 5, 2014 Ok, here it is. Masterpiece isnt it? http://speedy.sh/ArBfh/exported.rar I tryied to insert this to Cheerio creature mod tutorial nr 7 instead of that bird. Link to comment https://forums.kleientertainment.com/forums/topic/31350-spriter-problem/#findComment-412445 Share on other sites More sharing options...
Kuloslav Posted February 8, 2014 Share Posted February 8, 2014 Excuse me for a long time waiting for a response. I have not found any problems in your animation. Everything works as it should (I've added animations yell only). Link to the tut7 of your animation below: tut07.zip Link to comment https://forums.kleientertainment.com/forums/topic/31350-spriter-problem/#findComment-413563 Share on other sites More sharing options...
EmielRegis Posted February 8, 2014 Author Share Posted February 8, 2014 np, im happy that you replied. ^^ And its weird becouse your files works fine. Maybe I did something wrong in scripts? I need to test it more. Link to comment https://forums.kleientertainment.com/forums/topic/31350-spriter-problem/#findComment-413604 Share on other sites More sharing options...
EmielRegis Posted February 9, 2014 Author Share Posted February 9, 2014 (edited) I tested it a little. Any new animation that I save and insert as"tut07" isn't even showing in game but your file, whichlooks exact the same, works fine. Im really confused... (using b5 spiter) edit:lol, it seems I can use your file as template for working animations. No matter how i change it, its alwasy working. wtf is wrong with my files. Edited February 9, 2014 by EmielRegis Link to comment https://forums.kleientertainment.com/forums/topic/31350-spriter-problem/#findComment-413875 Share on other sites More sharing options...
Kuloslav Posted February 9, 2014 Share Posted February 9, 2014 I tested it a little. Any new animation that I save and insert as"tut07" isn't even showing in game but your file, whichlooks exact the same, works fine. Im really confused... (using b5 spiter) edit:lol, it seems I can use your file as template for working animations. No matter how i change it, its alwasy working. wtf is wrong with my files. A curse maybe ? Post your entirely project here. I check it. This must be some little bug. Link to comment https://forums.kleientertainment.com/forums/topic/31350-spriter-problem/#findComment-413878 Share on other sites More sharing options...
EmielRegis Posted February 9, 2014 Author Share Posted February 9, 2014 I installed virtual machine with winXP and tried to make new file there to copy it to my main win7. And it worked..I gues I really need to reinstall my system, its probably too messy. Great thx for help. I hope I can post here another problems if they occur? Link to comment https://forums.kleientertainment.com/forums/topic/31350-spriter-problem/#findComment-413887 Share on other sites More sharing options...
Kuloslav Posted February 9, 2014 Share Posted February 9, 2014 If necessary, I will be happy to help Link to comment https://forums.kleientertainment.com/forums/topic/31350-spriter-problem/#findComment-413918 Share on other sites More sharing options...
EmielRegis Posted February 12, 2014 Author Share Posted February 12, 2014 Hello again. Thank to you I can now make normal working animations but today I tried make simple frame after frame animation but its not working and I dont know why. Any Idea?exported.zip Link to comment https://forums.kleientertainment.com/forums/topic/31350-spriter-problem/#findComment-414760 Share on other sites More sharing options...
Kuloslav Posted February 12, 2014 Share Posted February 12, 2014 (edited) Yeah but my way to force Don't Starve to play animation is little...different See for yourself (I only changed run animation): BTW nice pony exportedchanged.zip Edited February 12, 2014 by Kuloslav Link to comment https://forums.kleientertainment.com/forums/topic/31350-spriter-problem/#findComment-414920 Share on other sites More sharing options...
EmielRegis Posted February 13, 2014 Author Share Posted February 13, 2014 Yeah, alpha manipulating works. Again great thx man. I only wonder why my idea wasnt working, that picture replacing was one of the coolest features for me... Link to comment https://forums.kleientertainment.com/forums/topic/31350-spriter-problem/#findComment-414979 Share on other sites More sharing options...
EmielRegis Posted February 16, 2014 Author Share Posted February 16, 2014 I have one more question to you. I want to know more about scripting in dont starve. I read parts of your "tiny alchemy mod" so I assume you know much about it. Where do you learned all this? (btw are you polish?) Link to comment https://forums.kleientertainment.com/forums/topic/31350-spriter-problem/#findComment-416198 Share on other sites More sharing options...
Kuloslav Posted February 16, 2014 Share Posted February 16, 2014 (edited) Well I'm scripting on Lua from December 2013 I taught in everything looking at other mods and try, try try and when something don't work I will try harder As for me, the best way to gain knowledge...and yes I'm Polish Edited February 16, 2014 by Kuloslav Link to comment https://forums.kleientertainment.com/forums/topic/31350-spriter-problem/#findComment-416205 Share on other sites More sharing options...
EmielRegis Posted February 16, 2014 Author Share Posted February 16, 2014 (edited) hehe, wiedziałem. Jedną linijkę w modzie zostawiłeś po polsku . Cóż, dzięki za radę, w takim razie posiedzę sobie nad templatami tak długo aż coś zrozumiem XD. btw a co ty sądzisz o podmianie animacji grywalnego charakteru? Da się według ciebie? Edited February 16, 2014 by EmielRegis Link to comment https://forums.kleientertainment.com/forums/topic/31350-spriter-problem/#findComment-416207 Share on other sites More sharing options...
Kuloslav Posted February 16, 2014 Share Posted February 16, 2014 Dżizas to ja się tu składałem po ingielsku jak nie musiałem ? Co do animacji pewnie że się da...widać to po modach innych (np. Elinor albo Old William) ale sam postaciami się nie bawiłem - jest za dużo ludzi tworzących postacie - ja zostaję przy przedmiotach ( a z ewentualnymi nowymi potworami poczekam aż wyjdzie DLC). Link to comment https://forums.kleientertainment.com/forums/topic/31350-spriter-problem/#findComment-416215 Share on other sites More sharing options...
EmielRegis Posted February 16, 2014 Author Share Posted February 16, 2014 Te mody z postaciami są tworzone po prostu poprzez modyfikację textur, gra sama robi resztę. W ten sposób nie mogę zmienić kształtu postaci ani jej animacji. Dana napisała mi że musiałbym sam zrobić te animacje, potem zrobić od podstaw do nich stategrapha a następnie przystosować wszystkie itemy do tych nowych animacji. Pierwsze 2 na moje noobskie oko wydają się do zrobienia ale nie wiem jak gra dodaje np trzymane albo noszone na plecach itemy. W sęsie, w plikach nie ma do nich specialnych animacji z każdym itemem dla każdej postaci więc gra jakoś je dodaje w biegu jak jest odtwarzana animacja. Chyba... Link to comment https://forums.kleientertainment.com/forums/topic/31350-spriter-problem/#findComment-416216 Share on other sites More sharing options...
Kuloslav Posted February 16, 2014 Share Posted February 16, 2014 (edited) Od czego by tu zacząć...jeśli chodzi o itemy noszone w łapie dodaje się je przez funkcję: local function OnEquip(inst, owner) owner.AnimState:OverrideSymbol("swap_object", "twoja animacja_swap", "twoja animacja") owner.AnimState:Show("ARM_carry") owner.AnimState:Hide("ARM_normal")end Potrzebujesz więc dwóch oddzielnych do trzymania w łapie i do leżących na ziemi. Podobnie jest ze zbroją. Cała trudność polega na odpowiednim dopasowaniu do animacji samej postaci. O ile z przedmiotami do ręki robisz co ci się żywnie podoba o tyle stworzenie itemu noszonego na plecach jest możliwe tylko poprzez modyfikację tekstur...przynajmniej jak na razie nikt nie zna innego sposobu...bo przerabianie połowy kodu gry na swoją modłę byłoby bez sensu A i te animacje oczywiście istnieją - są w pliku anim.bin tyle że nie da się ich przerobić na formę strawną dla Spritera więc nie ma szans na ich edycję. Co do samej animacji postaci...jak mówiłem do tego się jeszcze nie zabierałem ale z tego co widzę wszystkie animacje postaci są oskryptowane w pliku SGWilson.lua. Jesli chciałbyś stworzyć postać całkowicie od nowa musiałbyś stworzyć własną wersje tego pliku i tam określać animacje dla postaci. Ale zależy co twoja postać miałaby mieć, ciężko coś podpowiedzieć na ogólnikach. Może wystarczyłoby po prostu dodać jakąś animację a reszty nie ruszać ? Tak czy owak zassaj te mody: http://forums.kleientertainment.com/files/file/368-wilson-hd/http://forums.kleientertainment.com/files/file/351-waverly-the-bewitched/ Pierwszy to Wilson HD - w katalogu exported masz całą postać, wszystkie potrzebne pliki układ katalogów - wszytsko co trzeba aby stworzyć sobie postać.Drugi to Waverly the bewitched - tam będa cię interesowac pliki stategraph. Co do animacji dla postaci sądze że prościej byłoby dostosować postać do przedmiotów nie na odwrót Ale wszystko sprowadza się do tego co chcesz konkretnie zrobić. Mam nadzieję że piszę z sensem No i napisz coś więcej to będziemy mysleć jak to wprowadzić. Edited February 16, 2014 by Kuloslav Link to comment https://forums.kleientertainment.com/forums/topic/31350-spriter-problem/#findComment-416247 Share on other sites More sharing options...
EmielRegis Posted February 16, 2014 Author Share Posted February 16, 2014 local function OnEquip(inst, owner) owner.AnimState:OverrideSymbol("swap_object", "twoja animacja_swap", "twoja animacja") owner.AnimState:Show("ARM_carry") owner.AnimState:Hide("ARM_normal")endZ tego co rozumiem ten kod w chwili wzięcia itemu do łapy zamienia mu animację z „na ziemii” na „trzymana w łapie”. Następnie każe schować teksture „wolna ręka” i pokazać teksture „ręka trzymająca item”. Zgadłem? Nie powiem, przyda mi się to. Ale to też problem. Jeśli bym chciał zrobić postać z innym kształtem niż ludzki to musiałbym zmienić miejsce przyczepu animacji itemu. Gdzieś musi być zapisana informacja gdzie dokłądnie na animacji postaci dokleić animację „trzymana w łapie” itemu. O ile z przedmiotami do ręki robisz co ci się żywnie podoba o tyle stworzenie itemu noszonego na plecach jest możliwe tylko poprzez modyfikację tekstur...przynajmniej jak na razie nikt nie zna innego sposobu...bo przerabianie połowy kodu gry na swoją modłę byłoby bez sensu Mam mnóstwo czasu i lubię się bawić photoshopem Pierwszy to Wilson HD - w katalogu exported masz całą postać, wszystkie potrzebne pliki układ katalogów - wszytsko co trzeba aby stworzyć sobie postać.Drugi to Waverly the bewitched - tam będa cię interesowac pliki stategraph.Dzięki, wavwerly jest ciekawy posiedzę sobie nad nim ^^, ten wilson hd też, ale dużo mi nie pomoże. Wyjaśniam dlaczego. Marzy mi się mod z taką postacią:Sądzę że jestem w stanie zrobić dla niego wszystkie potrzebne grywalnemu charakterowi animacje. Nie jestem tylko pewien jak je odpowiednio wrzucić do gry. Link to comment https://forums.kleientertainment.com/forums/topic/31350-spriter-problem/#findComment-416264 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