PanAzej Posted July 3, 2021 Share Posted July 3, 2021 (edited) Hi! There are no good item templates that I know of, so I made a few for hat, armor and handslot item. You will need Don't Starve Mod Tools on Steam to compile your artwork and a text editor (preferably Notepad++) to edit the code. Basically all the stuff that you already know if you ever attempted to make a custom character. If you have any questions that my comments in the code do not cover, do let me know. Download below, or workshop link: https://steamcommunity.com/sharedfiles/filedetails/?id=2536268729 Enjoy. custom_item_templates.zip Edited July 3, 2021 by PanAzej workshop link 3 6 2 2 2 Link to comment Share on other sites More sharing options...
hhan Posted July 6, 2021 Share Posted July 6, 2021 Wow. I'm just wow. I am trying it right now EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE Link to comment Share on other sites More sharing options...
hhan Posted July 6, 2021 Share Posted July 6, 2021 WHAT THE HEAVEN IT WORKED TYSMMM Link to comment Share on other sites More sharing options...
Silky-Inc Posted July 7, 2021 Share Posted July 7, 2021 Wowie! Link to comment Share on other sites More sharing options...
No_salt Posted July 10, 2021 Share Posted July 10, 2021 this looks epic Link to comment Share on other sites More sharing options...
ScrewdriverLad Posted January 26, 2022 Share Posted January 26, 2022 ooh, this looks like it'll be helpful! Thank you very much! Link to comment Share on other sites More sharing options...
Aibou Posted March 5, 2022 Share Posted March 5, 2022 This template is great thank you sm for posting! It was a real life saver! I just wanted to mention for anyone who wanted their body item to have the sprite when facing upwards and minding a rock and jumping in the air, you should add it to the image swap_body_11. For me I had to have it upright instead of sideways like the ESC template, and moved the pivot point down just below the image and slightly off center. [You can add the image to the canvas, edit the pivot, right click to replace the point, and then you can deleted it off the canvas and it'll still have the pivot edited] Link to comment Share on other sites More sharing options...
Moracalle Posted March 15, 2022 Share Posted March 15, 2022 I hope that we can get a video done on how to do these things. I'm looking through the coding right now, and as a beginner, it's still so far above my head. I don't know what does what. I have managed to make my character's sprite based off a video tutorial. I now want to give her a bat as a weapon, but I don't know how to code that still. Basically -I am completely new to reading lua files -How do I link the character and handheld item together to where it's inside a character's mod? -How do I make it a weapon? -How do I edit the damage? -How am I supposed to give its own crafting recipe? (I imagine it would appear in the war tab like Wigfrid's) I don't want to grab outdated code or grab snippets that I have no idea what the function of it is. I feel like this is a step in the right direction, but I'm still pretty lost on how to go any further than skinning characters only. Link to comment Share on other sites More sharing options...
Moracalle Posted April 14, 2022 Share Posted April 14, 2022 (edited) --I was able to open the files and code to tinker with the handslot item. --I removed the armor and hat completely from being referenced in mine since I'm only interested in crafting a weapon --I am struggling with the xml and tex files being generated as well as the zip files --I don't know which zip files to keep or which ones to delete. I know if I delete them, all of them don't get zipped again, but it also does not overwrite them for me. --I got as far as being able to craft the weapon and have it show up in my inventory, but when my character holds the hand-slot weapon, it doesn't show up. I have images wherever there needs to be one, but I don't know if it's an xml and tex issue or a zip issue. Please help. Edited April 14, 2022 by Moracalle I wanted to include the image that shows pretty much what I'm talking about. Link to comment Share on other sites More sharing options...
hhh2 Posted April 18, 2022 Share Posted April 18, 2022 On 7/3/2021 at 11:58 PM, PanAzej said: Hi! There are no good item templates that I know of, so I made a few for hat, armor and handslot item. You will need Don't Starve Mod Tools on Steam to compile your artwork and a text editor (preferably Notepad++) to edit the code. Basically all the stuff that you already know if you ever attempted to make a custom character. If you have any questions that my comments in the code do not cover, do let me know. Download below, or workshop link: https://steamcommunity.com/sharedfiles/filedetails/?id=2536268729 Enjoy. custom_item_templates.zip 2.9 MB · 155 downloads wow, your art is really professional. THERE CAN BE ONLY ONE!!!! Link to comment Share on other sites More sharing options...
tindomerel Posted September 28, 2022 Share Posted September 28, 2022 Thank you for these templates. I have one question: I'm looking at the image files in the exported folder. I'm not sure what to do with the folder called wilson. I suspect maybe it only exists to show Wilson in Spriter to help with scale/location of the mod item images. Should I remove the wilson folder before compiling? If I don't, what keeps an extra Wilson from being attached to my item at all times? I'm making my first mod and I'm just trying to understand the relationship between the various image files. Link to comment Share on other sites More sharing options...
Wonderlarr Posted September 29, 2022 Share Posted September 29, 2022 The Wilson is indeed there only to show how the item will look while held. The Wilson won't show up in game since the game will only show the "symbols", or images that you tell it to in lines like inside the item's OnEquip() function. owner.AnimState:OverrideSymbol("swap_object", "swap_spear", "swap_spear") The Wilson IS technically there, although it's invisible and would never be enabled or even detectable under normal circumstances. 2 1 Link to comment Share on other sites More sharing options...
tindomerel Posted October 1, 2022 Share Posted October 1, 2022 On 9/29/2022 at 1:16 AM, TheSkylarr said: The Wilson is indeed there only to show how the item will look while held. The Wilson won't show up in game since the game will only show the "symbols", or images that you tell it to in lines like inside the item's OnEquip() function. owner.AnimState:OverrideSymbol("swap_object", "swap_spear", "swap_spear") The Wilson IS technically there, although it's invisible and would never be enabled or even detectable under normal circumstances. Understood. Thanks for explaining how that works for me. Link to comment Share on other sites More sharing options...
Adoge477 Posted October 26, 2022 Share Posted October 26, 2022 When I load into my server where I test this the updated art for the hat doesn't show up. I checked the zip file and in there the art is updated but then its not in the game. Link to comment Share on other sites More sharing options...
ScrewdriverLad Posted November 8, 2022 Share Posted November 8, 2022 On 10/25/2022 at 8:25 PM, Adoge477 said: When I load into my server where I test this the updated art for the hat doesn't show up. I checked the zip file and in there the art is updated but then its not in the game. try removing the contents of the anim folder? Link to comment Share on other sites More sharing options...
Adoge477 Posted November 8, 2022 Share Posted November 8, 2022 I finally got it to work. Apparently somewhere along the process of editing or downloading the mod I created a copy of it. I think the game was loading the original while I was editing the copy. But I renamed the mod in the modinfo.lua of the copied version and when I checked the mods the copy showed up, but it wasn't being applied. So I unapplied the original version and applied the version that I renamed and the edits showed up. Point is, It works now. Link to comment Share on other sites More sharing options...
Maestre1zirt Posted May 16, 2023 Share Posted May 16, 2023 On 7/3/2021 at 5:58 PM, PanAzej said: Hi! There are no good item templates that I know of, so I made a few for hat, armor and handslot item. You will need Don't Starve Mod Tools on Steam to compile your artwork and a text editor (preferably Notepad++) to edit the code. Basically all the stuff that you already know if you ever attempted to make a custom character. If you have any questions that my comments in the code do not cover, do let me know. Download below, or workshop link: https://steamcommunity.com/sharedfiles/filedetails/?id=2536268729 Enjoy. custom_item_templates.zip 2.9 MB · 383 downloads Hice mi propio personaje mod, y gracias a esto ya tiene arma, armadura y casco muchas graciiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiias :3 Link to comment 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