GreatBlitz Posted October 24, 2014 Share Posted October 24, 2014 So I followed creature tutorial 3 and made my own animation and stuff. I ran the game with mod tools installed and it generated the anim folder. I edited the prefab and changed whatever was required (to the names of the animations I gave). Then I started it up, hoping to see my creature appear and 'dance' (if you open up the .scml file you'll see what I mean). Sadly this did not work. Nothing came at all, it was just the normal Wilson waking up and Maxwell talking scene. I've attached the mod folder for reference. Please help GB_Mod.zip Link to comment https://forums.kleientertainment.com/forums/topic/42730-custom-creature-doesnt-spawn/ Share on other sites More sharing options...
GreatBlitz Posted October 24, 2014 Author Share Posted October 24, 2014 Okay I just tried both DebugSpawn("monsters/tut03") and c_spawn("monsters/tut03"), neither of them worked. Nothing spawns. Link to comment https://forums.kleientertainment.com/forums/topic/42730-custom-creature-doesnt-spawn/#findComment-556524 Share on other sites More sharing options...
pikafan8 Posted October 24, 2014 Share Posted October 24, 2014 The problem with the console spawning is because you're using it wrong.Wouldn't it be DebugSpawn("tut03") and c_spawn("tut03")? Link to comment https://forums.kleientertainment.com/forums/topic/42730-custom-creature-doesnt-spawn/#findComment-556532 Share on other sites More sharing options...
GreatBlitz Posted October 24, 2014 Author Share Posted October 24, 2014 The problem with the console spawning is because you're using it wrong.Wouldn't it be DebugSpawn("tut03") and c_spawn("tut03")? Okay I'll try that right away. Link to comment https://forums.kleientertainment.com/forums/topic/42730-custom-creature-doesnt-spawn/#findComment-556534 Share on other sites More sharing options...
GreatBlitz Posted October 24, 2014 Author Share Posted October 24, 2014 Nope, no result. Link to comment https://forums.kleientertainment.com/forums/topic/42730-custom-creature-doesnt-spawn/#findComment-556535 Share on other sites More sharing options...
Polariche Posted October 24, 2014 Share Posted October 24, 2014 (edited) (Hello again!)I checked the prefab and the .scml file and found out that you are SetBuilding "kick" while the animation folder is named as "entity_000" Change the name (just doubleclick 'entity_000' in spriter) or replace "kick" with "entity_000" in anim:SetBuild("kick") in your prefab file. Edited October 24, 2014 by Polariche Link to comment https://forums.kleientertainment.com/forums/topic/42730-custom-creature-doesnt-spawn/#findComment-556553 Share on other sites More sharing options...
GreatBlitz Posted October 24, 2014 Author Share Posted October 24, 2014 (Hello again!)I checked the prefab and the .scml file and found out that you are SetBuilding "kick" while the animation folder is named as "entity_000" Change the name (just doubleclick 'entity_000' in spriter) or replace "kick" with "entity_000" in anim:SetBuild("kick") in your prefab file. Hi friendly internet stranger! Alright, testing that now (changed it in the prefab file). Just for future reference, how can I find my folder name? The only folders I've got are anim, exported and scripts. Link to comment https://forums.kleientertainment.com/forums/topic/42730-custom-creature-doesnt-spawn/#findComment-556559 Share on other sites More sharing options...
Polariche Posted October 24, 2014 Share Posted October 24, 2014 (edited) This is what I (and the author of creature tuts) meant by the animation folder: Edited October 24, 2014 by Polariche Link to comment https://forums.kleientertainment.com/forums/topic/42730-custom-creature-doesnt-spawn/#findComment-556563 Share on other sites More sharing options...
GreatBlitz Posted October 24, 2014 Author Share Posted October 24, 2014 (edited) This is what I (and the author of creature tuts) meant by the animation folder: Okay so I changed it but it still doesn't work. I'll attach a newer version if that helps. As far as I know, no changes other than what you asked me to do. But you never know :/ Please let me know what is wrong. Thanks a lot in advance, thanks a lot. GB_Mod.zip Edited October 24, 2014 by GreatBlitz Link to comment https://forums.kleientertainment.com/forums/topic/42730-custom-creature-doesnt-spawn/#findComment-556572 Share on other sites More sharing options...
Polariche Posted October 24, 2014 Share Posted October 24, 2014 Okay so I changed it but it still doesn't work. I'll attach a newer version if that helps. As far as I know, no changes other than what you asked me to do. But you never know :/ Please let me know what is wrong. Thanks a lot in advance, thanks a lot. GB_Mod.zip Hmm... Can you post log.txt? It's in (your document folder)\Klei\DoNotStarve\ Link to comment https://forums.kleientertainment.com/forums/topic/42730-custom-creature-doesnt-spawn/#findComment-556584 Share on other sites More sharing options...
GreatBlitz Posted October 24, 2014 Author Share Posted October 24, 2014 Hmm... Can you post log.txt? It's in (your document folder)\Klei\DoNotStarve\Alright, I'll PM it to you. Link to comment https://forums.kleientertainment.com/forums/topic/42730-custom-creature-doesnt-spawn/#findComment-556585 Share on other sites More sharing options...
Polariche Posted October 24, 2014 Share Posted October 24, 2014 (edited) Alright, I'll PM it to you. Sorry, it seems I've made some mistakes... I'm quite new to modding myself hahaThe code should be:anim:SetBank("entity_000") -- it was SetBank, not SetBuild. Sorry about thatanim:SetBuild("kick") -- The animation folder seems to be the name of the folder where .scml file is locatedanim:PlayAnimation("kick")Let's hope I got it right this time Edited October 24, 2014 by Polariche Link to comment https://forums.kleientertainment.com/forums/topic/42730-custom-creature-doesnt-spawn/#findComment-556599 Share on other sites More sharing options...
GreatBlitz Posted October 24, 2014 Author Share Posted October 24, 2014 (edited) Sorry, it seems I've made some mistakes... I'm quite new to modding myself hahaThe code should be:anim:SetBank("entity_000") -- it was SetBank, not SetBuild. Sorry about thatanim:SetBuild("kick") -- The animation folder seems to be the name of the folder where .scml file is locatedanim:PlayAnimation("kick")Let's hope I got it right this timeNo problem, any contribution is accepted. I'll try it now. I hope you don't mind me bugging you so much Edited October 24, 2014 by GreatBlitz Link to comment https://forums.kleientertainment.com/forums/topic/42730-custom-creature-doesnt-spawn/#findComment-556602 Share on other sites More sharing options...
GreatBlitz Posted October 24, 2014 Author Share Posted October 24, 2014 Sorry, it seems I've made some mistakes... I'm quite new to modding myself hahaThe code should be:anim:SetBank("entity_000") -- it was SetBank, not SetBuild. Sorry about thatanim:SetBuild("kick") -- The animation folder seems to be the name of the folder where .scml file is locatedanim:PlayAnimation("kick")Let's hope I got it right this time Yay! It finally works! A few last doubts: anim:SetBank("**") - So this is the entity_000 thing you showed me in the photo. anim:SetBuild("**") - "The animation folder seems to be the name of the folder where .scml file is located". This would be the exported folder, would it not? Thanks so so much! Link to comment https://forums.kleientertainment.com/forums/topic/42730-custom-creature-doesnt-spawn/#findComment-556606 Share on other sites More sharing options...
Polariche Posted October 24, 2014 Share Posted October 24, 2014 Yay! It finally works! A few last doubts: anim:SetBank("**") - So this is the entity_000 thing you showed me in the photo. anim:SetBuild("**") - "The animation folder seems to be the name of the folder where .scml file is located". This would be the exported folder, would it not? Thanks so so much! First question: Yes!Second question: Hmm... Not really. I said that because I usually place the .scml file inside a folder with same name as the file, but that doesn't seem to be necessary. I guess 'the name of the .scml file' would make sense. Link to comment https://forums.kleientertainment.com/forums/topic/42730-custom-creature-doesnt-spawn/#findComment-556622 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