afro1967 Posted November 4, 2013 Share Posted November 4, 2013 Posting your mod and log is definitely the easiest way to get help.http://www.mediafire.com/?r8f0babop0f4jp2 Link to comment https://forums.kleientertainment.com/forums/topic/18801-modders-your-new-friend-at-klei/page/33/#findComment-361293 Share on other sites More sharing options...
Developer Cheerio Posted November 5, 2013 Developer Share Posted November 5, 2013 http://www.mediafire.com/?r8f0babop0f4jp2I got the inventory image to work by adding the asset to the list of prefab assets and by setting the atlas on the inventorycomponent. New Birds.zip Link to comment https://forums.kleientertainment.com/forums/topic/18801-modders-your-new-friend-at-klei/page/33/#findComment-361996 Share on other sites More sharing options...
afro1967 Posted November 5, 2013 Share Posted November 5, 2013 (edited) I got the inventory image to work by adding the asset to the list of prefab assets and by setting the atlas on the invetorycomponent. New Birds.zip feather_flerk.jpgThanks! Now if I can figure out how to make the feather show on the ground all will be good. Note: The other bird feather inventory images don't work using this method. Edited November 5, 2013 by afro1967 Link to comment https://forums.kleientertainment.com/forums/topic/18801-modders-your-new-friend-at-klei/page/33/#findComment-362062 Share on other sites More sharing options...
Stealthic Posted November 6, 2013 Share Posted November 6, 2013 (edited) A couple of things from testing out your changes.1. I wouldn't use Spriter to move things around until I write a tutorial on how to use it because you can't really move things around and have them work with the existing animations. That's my fault, I should of explained that better.2. Because of how Spriter stores it's information, the lower rez sample isn't going to work. I wrote a script to resize your images to fit with the original sample.3. Testing it out in game, you'll have to either expand her head or shrink her faces because the two don't currently match . Here's a working version for you to check out.4. I still need to hook you up with a skirt . sample_dude.zipwinter.jpg Hey, Cheerio!So, I resized her head and arms but like I said, I don't know how to place everything correctly. I rearranged everything again in spriter, (even though it doesn't do anything), and included the spriter save in the file I'm uploading. (The copy is the original)I think the script you wrote to resize everything is what made the head smaller again. Also, to bring up my previous question again, will this create an atlas like all of the other characters that I can open up as one file again? (Just so finishing the art isn't too complicated) I haven't continued working on her in game mechanics because I'm a little scared that this might not work out, (due to my lack of knowledge of spriter). D: Thanks again, and sorry for the delay in response.sample_dude.zip Edited November 6, 2013 by Stealthic Link to comment https://forums.kleientertainment.com/forums/topic/18801-modders-your-new-friend-at-klei/page/33/#findComment-362709 Share on other sites More sharing options...
Developer Cheerio Posted November 6, 2013 Developer Share Posted November 6, 2013 Thanks! Now if I can figure out how to make the feather show on the ground all will be good. Note: The other bird feather inventory images don't work using this method. In the mod you uploaded, there's only the inventory images for the one feather so I can't test the others. As for the feather on the ground, which build did you start off with to make your feather? Link to comment https://forums.kleientertainment.com/forums/topic/18801-modders-your-new-friend-at-klei/page/33/#findComment-362721 Share on other sites More sharing options...
Developer Cheerio Posted November 6, 2013 Developer Share Posted November 6, 2013 Hey, Cheerio!So, I resized her head and arms but like I said, I don't know how to place everything correctly. I rearranged everything again in spriter, (even though it doesn't do anything), and included the spriter save in the file I'm uploading. (The copy is the original)I think the script you wrote to resize everything is what made the head smaller again. Also, to bring up my previous question again, will this create an atlas like all of the other characters that I can open up as one file again? (Just so finishing the art isn't too complicated) I haven't continued working on her in game mechanics because I'm a little scared that this might not work out, (due to my lack of knowledge of spriter). D: Thanks again, and sorry for the delay in response.That's perfect. Here she is in game . 1 Link to comment https://forums.kleientertainment.com/forums/topic/18801-modders-your-new-friend-at-klei/page/33/#findComment-362724 Share on other sites More sharing options...
Developer Cheerio Posted November 6, 2013 Developer Share Posted November 6, 2013 Hey, Cheerio!So, I resized her head and arms but like I said, I don't know how to place everything correctly. I rearranged everything again in spriter, (even though it doesn't do anything), and included the spriter save in the file I'm uploading. (The copy is the original)I think the script you wrote to resize everything is what made the head smaller again. Also, to bring up my previous question again, will this create an atlas like all of the other characters that I can open up as one file again? (Just so finishing the art isn't too complicated) I haven't continued working on her in game mechanics because I'm a little scared that this might not work out, (due to my lack of knowledge of spriter). D: Thanks again, and sorry for the delay in response.Yes if you unzip the 'sample_dude/anim/wod.zip' file, you'll find the atlas in there. What you're basically doing is using Spriter and your new images to create a new build with a new atlas which you could then paint over using the same techniques all the other characters use. The only reason for the extra hassle is that you need an atlas which can fit her extra long hair . The only thing you can actually adjust in Spriter is the pivot points of the images because the translation, rotation and scale come from the in game animations. That's why moving the objects around didn't do anything. I adjusted the pivots on her head images to be a little higher up. If you want to adjust them more you can try that out in Spriter otherwise you don't need to use Spriter anymore, just paint over the images and then run the game and it will update. Also here's the mod with the Spriter file with adjusted pivots:sample_dude.zip Link to comment https://forums.kleientertainment.com/forums/topic/18801-modders-your-new-friend-at-klei/page/33/#findComment-362726 Share on other sites More sharing options...
Stealthic Posted November 6, 2013 Share Posted November 6, 2013 (edited) Yes if you unzip the 'sample_dude/anim/wod.zip' file, you'll find the atlas in there. What you're basically doing is using Spriter and your new images to create a new build with a new atlas which you could then paint over using the same techniques all the other characters use. The only reason for the extra hassle is that you need an atlas which can fit her extra long hair . The only thing you can actually adjust in Spriter is the pivot points of the images because the translation, rotation and scale come from the in game animations. That's why moving the objects around didn't do anything. I adjusted the pivots on her head images to be a little higher up. If you want to adjust them more you can try that out in Spriter otherwise you don't need to use Spriter anymore, just paint over the images and then run the game and it will update. Also here's the mod with the Spriter file with adjusted pivots:Agh! You are the best!! Thank you so much. Now what do we have to do to add the skirt in? Oh, and I know I brought this up before and it's okay if you still can't do it, but is it possible to lower the resolution of the atlas to be the same as the rest of the characters? It just looks really weird in general, especailly when I'm zoomed out: Edited November 6, 2013 by Stealthic Link to comment https://forums.kleientertainment.com/forums/topic/18801-modders-your-new-friend-at-klei/page/33/#findComment-362752 Share on other sites More sharing options...
afro1967 Posted November 6, 2013 Share Posted November 6, 2013 (edited) In the mod you uploaded, there's only the inventory images for the one feather so I can't test the others. As for the feather on the ground, which build did you start off with to make your feather?The other bird feathers I was referring to are the pre existing feathers red,blue,blue_winter and crow.Feather on the ground was created using the feather_crow. Should I make some inventory images for normal feathers i'm thinking? Add them the same way. Edited November 6, 2013 by afro1967 Link to comment https://forums.kleientertainment.com/forums/topic/18801-modders-your-new-friend-at-klei/page/33/#findComment-362779 Share on other sites More sharing options...
mentalvary Posted November 6, 2013 Share Posted November 6, 2013 Hey guys, Not exactly sure if this is the correct place to ask. I'm making a character mod which involves dialogue that has swear words (e.g the F-word). I know your community guidelines ask to avoid obscenity, but I'm not sure if that goes for mods as well. Wanted to ask this before I try uploading it to the Steam workshop. Link to comment https://forums.kleientertainment.com/forums/topic/18801-modders-your-new-friend-at-klei/page/33/#findComment-362916 Share on other sites More sharing options...
Developer Cheerio Posted November 6, 2013 Developer Share Posted November 6, 2013 Hey guys, Not exactly sure if this is the correct place to ask. I'm making a character mod which involves dialogue that has swear words (e.g the F-word). I know your community guidelines ask to avoid obscenity, but I'm not sure if that goes for mods as well. Wanted to ask this before I try uploading it to the Steam workshop.We don't actively moderate mods for content however if there are complaints we will evaluate the issue. Mods on Steam are also moderated by Valve through the reporting system. If you want to make sure your mod doesn't get taken down I'd suggest avoiding profanity. Link to comment https://forums.kleientertainment.com/forums/topic/18801-modders-your-new-friend-at-klei/page/33/#findComment-362976 Share on other sites More sharing options...
mentalvary Posted November 6, 2013 Share Posted November 6, 2013 We don't actively moderate mods for content however if there are complaints we will evaluate the issue. Mods on Steam are also moderated by Valve through the reporting system. If you want to make sure your mod doesn't get taken down I'd suggest avoiding profanity. Thanks very much! I'll consider taking it out, then. Link to comment https://forums.kleientertainment.com/forums/topic/18801-modders-your-new-friend-at-klei/page/33/#findComment-363067 Share on other sites More sharing options...
Developer Cheerio Posted November 7, 2013 Developer Share Posted November 7, 2013 Agh! You are the best!! Thank you so much. Now what do we have to do to add the skirt in? Oh, and I know I brought this up before and it's okay if you still can't do it, but is it possible to lower the resolution of the atlas to be the same as the rest of the characters? It just looks really weird in general, especailly when I'm zoomed out: The resizing is easy although it is a little strange how the option is changed. Basically the game's source art is usually authored at 2-3 times in game resolution in case we need it, so the pipeline downsizes all the images. However when the mod tools were released, a lot of the modders preferred working at target resolution so the modding tools don't downsize the images. That's why when working with source assets like the template I have you, everything is higher rez. And I thought it'd be easy to give smaller resolution templates except that Spriter store some of it's data like pivot points as percentages of the image sizes so I need to find a solution to that. Long story short, you can have the pipeline resize the images for you . In 'Don't Starve Mod Tools/mod_tools/exported/ResizeInfo.py' on the tenth line, change 'return 1.0' to 'return 0.3'. You could pick any size you want but 0.3 is the default for the source assets. Here's a version of Winter with the resizing set to 0.3: sample_dude.zip Link to comment https://forums.kleientertainment.com/forums/topic/18801-modders-your-new-friend-at-klei/page/33/#findComment-363400 Share on other sites More sharing options...
mentalvary Posted November 7, 2013 Share Posted November 7, 2013 Hello again, Does the TEXCreator tool have command line abilities to do batch work? It does not seem to respond to the standard "help" arguments. Cheers Link to comment https://forums.kleientertainment.com/forums/topic/18801-modders-your-new-friend-at-klei/page/33/#findComment-363676 Share on other sites More sharing options...
simplex Posted November 7, 2013 Share Posted November 7, 2013 Hello again, Does the TEXCreator tool have command line abilities to do batch work? It does not seem to respond to the standard "help" arguments. Cheers The TEXCreator was not made by Klei, but by Handsome Matt, a community member. Klei's TextureConverter.exe is a command line tool. Link to comment https://forums.kleientertainment.com/forums/topic/18801-modders-your-new-friend-at-klei/page/33/#findComment-363696 Share on other sites More sharing options...
mentalvary Posted November 7, 2013 Share Posted November 7, 2013 The TEXCreator was not made by Klei, but by Handsome Matt, a community member. Klei's TextureConverter.exe is a command line tool. Much appreciated. I'll give the latter tool a shot then. Link to comment https://forums.kleientertainment.com/forums/topic/18801-modders-your-new-friend-at-klei/page/33/#findComment-363705 Share on other sites More sharing options...
Stealthic Posted November 8, 2013 Share Posted November 8, 2013 The resizing is easy although it is a little strange how the option is changed. Basically the game's source art is usually authored at 2-3 times in game resolution in case we need it, so the pipeline downsizes all the images. However when the mod tools were released, a lot of the modders preferred working at target resolution so the modding tools don't downsize the images. That's why when working with source assets like the template I have you, everything is higher rez. And I thought it'd be easy to give smaller resolution templates except that Spriter store some of it's data like pivot points as percentages of the image sizes so I need to find a solution to that. Long story short, you can have the pipeline resize the images for you . In 'Don't Starve Mod Tools/mod_tools/exported/ResizeInfo.py' on the tenth line, change 'return 1.0' to 'return 0.3'. You could pick any size you want but 0.3 is the default for the source assets. Here's a version of Winter with the resizing set to 0.3: sample_dude.zip winter.jpg Thanks so much, Cheerio. Sorry about that. Now what can we do to add the skirt in? Link to comment https://forums.kleientertainment.com/forums/topic/18801-modders-your-new-friend-at-klei/page/33/#findComment-364063 Share on other sites More sharing options...
Developer Cheerio Posted November 8, 2013 Developer Share Posted November 8, 2013 Thanks so much, Cheerio. Sorry about that. Now what can we do to add the skirt in? Yeah I just need to figure out which character has the closest 'symbol' to Winter's skirt . Link to comment https://forums.kleientertainment.com/forums/topic/18801-modders-your-new-friend-at-klei/page/33/#findComment-364153 Share on other sites More sharing options...
Developer Cheerio Posted November 8, 2013 Developer Share Posted November 8, 2013 The other bird feathers I was referring to are the pre existing feathers red,blue,blue_winter and crow.Feather on the ground was created using the feather_crow. Should I make some inventory images for normal feathers i'm thinking? Add them the same way.I got your feather to appear by changing 'inst.AnimState:SetBank(asset_name)' to 'inst.AnimState:SetBank("feather_robin")'. Link to comment https://forums.kleientertainment.com/forums/topic/18801-modders-your-new-friend-at-klei/page/33/#findComment-364167 Share on other sites More sharing options...
Developer Cheerio Posted November 8, 2013 Developer Share Posted November 8, 2013 Thanks so much, Cheerio. Sorry about that. Now what can we do to add the skirt in? I added Wendy's skirt . sample_dude.zip Link to comment https://forums.kleientertainment.com/forums/topic/18801-modders-your-new-friend-at-klei/page/33/#findComment-364175 Share on other sites More sharing options...
afro1967 Posted November 8, 2013 Share Posted November 8, 2013 I got your feather to appear by changing 'inst.AnimState:SetBank(asset_name)' to 'inst.AnimState:SetBank("feather_robin")'. feather_flerk.jpg Thank you Link to comment https://forums.kleientertainment.com/forums/topic/18801-modders-your-new-friend-at-klei/page/33/#findComment-364255 Share on other sites More sharing options...
mentalvary Posted November 8, 2013 Share Posted November 8, 2013 (edited) Welp, here I am again. I'm trying to add a hat/helmet item to the game. I've followed Dana's "Artist's Guide" but have used the bee hat as a template. Unfortunately, my helmet gets clipped in weird ways. See attached image where I left the bee hat in tact to show my point: the horns are clipped off despite being inside the bounding box of the bee hat. Any idea as to why this happens? P.S: And just for reference: Following Dana's guide exactly and using the Bunny Hood instead has the same problems. Edit: If it's due to how the anim.bin is used by the game to create a clipping mask (no idea if that's what happens), I'd be interested to know how to create my own hat from scratch in spriter. Specifically what to call the animations for the front/side/back views. Edited November 8, 2013 by mentalvary Link to comment https://forums.kleientertainment.com/forums/topic/18801-modders-your-new-friend-at-klei/page/33/#findComment-364303 Share on other sites More sharing options...
Malacath Posted November 8, 2013 Share Posted November 8, 2013 Welp, here I am again. I'm trying to add a hat/helmet item to the game. I've followed Dana's "Artist's Guide" but have used the bee hat as a template. Unfortunately, my helmet gets clipped in weird ways. See attached image where I left the bee hat in tact to show my point: the horns are clipped off despite being inside the bounding box of the bee hat. Any idea as to why this happens? P.S: And just for reference: Following Dana's guide exactly and using the Bunny Hood instead has the same problems. Edit: If it's due to how the anim.bin is used by the game to create a clipping mask (no idea if that's what happens), I'd be interested to know how to create my own hat from scratch in spriter. Specifically what to call the animations for the front/side/back views.It's not even a matter of staying inside the bounding box. The images have a strange mesh around them which you shouldn't leave. @Cheerio Is it also possible to create swappable helmet/armor builds with spriter at the moment? Link to comment https://forums.kleientertainment.com/forums/topic/18801-modders-your-new-friend-at-klei/page/33/#findComment-364308 Share on other sites More sharing options...
Developer Cheerio Posted November 8, 2013 Developer Share Posted November 8, 2013 You can swap any symbol with any other symbol and it doesn't have to be from Spriter. You could replace the player's legs with carrots if you wanted too Link to comment https://forums.kleientertainment.com/forums/topic/18801-modders-your-new-friend-at-klei/page/33/#findComment-364445 Share on other sites More sharing options...
Malacath Posted November 8, 2013 Share Posted November 8, 2013 You can swap any symbol with any other symbol and it doesn't have to be from Spriter. You could replace the player's legs with carrots if you wanted too That sounds like an extremely helpful mod ^^On a serious note. Why do we have to do the stuff in Spriter like we have to for weapons then? We need to name our animations BUILD as you might know.Also, all armors override multiple symbols (front, side, back) yet work with only one lineowner.AnimState:OverrideSymbol("swap_body", "armor_marble", "swap_body")So I wouldn't really know how to recreate this with spriter. Link to comment https://forums.kleientertainment.com/forums/topic/18801-modders-your-new-friend-at-klei/page/33/#findComment-364446 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