Modding Tools, Tutorials & Examples

83 files

  1. Don't Starve Calendar

    English
    By: SITUVN
    Language: HTML, Javascipt, CSS.
    First, I created it for myself, not for public.
    But I think I should share it, now.
    You need the newest browser version or atleast supported HTML5.
    Leave a comment. Let me know what you think about this. Or when you found a bug.
    Extrac and run "Don't Starve Calendar.htm" file with a web browser.
    Thanks, Don't Starve and don't forget Werepigs.
    SITUVN
    Tiếng Việt
    Bởi: SITUVN
    Ngôn ngữ: HTML, Javascipt, CSS.
    Ban đầu, Tôi chỉ tạo cho mình tôi, không sẻ chia.
    Nhưng giờ tôi nghĩ tôi nên chia sẻ nó.
    Bạn cần phiên bản mới nhất của trình duyệt hoặc ít nhất hỗ trợ HTML5.
    Hãy bình luận. Cho tôi biết bạn nghĩ gì về thứ này. Hoặc khi bạn gặp bọ (lỗi).
    Giải nén và chạy tập tin "Don't Starve Calendar.htm" với trình duyệt.
    Cảm ơn, Đừng Đói và đừng quên Ma lợn (Werepigs).
    SITUVN

    689 downloads

    1 comment

    Submitted

  2. Tiled - tileset

    Updated version of Kzisor's tileset for the modding program "Tiled". Usage is explained thoroughly in Jack Slender's (outdated) tutorial thread. Keep in mind that this tileset is 64x64 before creating your setpiece and importing it!
    Explanation:
    All tiles up until the first "wall" are basegame surface. All tiles after the first "wall" and before "fake" are basegame caves. All tiles from "fake" on are shipwrecked (not available in DST). "WALL" tiles are invalid, as they aren't meant for flooring. "FAKE (DST)" is the fake floor in DST (used in Atrium), but the beach sand in sW. "Lava" is defined as volcano lava, but doesn't actually exist. The empty purple frames are undefined and thus invalid. The tiles should all be recognisable, feel free to ask if unsure.

    165 downloads

    1 comment

    Updated

  3. Sample - Mr Smiley

    This is just a sample of a spriter file which creates an anim that is compatible with hats.

    399 downloads

    1 comment

    Submitted

  4. Spider Companion Animation Fail Sample

    Do not download unless you're trying to help me, haha. There is a steam version of this currently working if you are interested. This one is not for entertainment purposes.

    115 downloads

    1 comment

    Submitted

  5. Creature Mod Tutorial 3 - Importing Animation

    This tutorial shows you how to import a new creature from Spriter!
    Instructions on using the tutorial:
    1. Download and extract the mod to your mods folder.
    2. Open and follow the instructions in 'readme_tutorial_3.txt'.
    Happy modding!

    1,095 downloads

    1 comment

    Updated

  6. Creature Mod Tutorial 4 - Locomotion

    This tutorial will show you how to make your character run through the world!
    Instructions on using the tutorial:
    1. Download and extract the mod to your mods folder.
    2. Open and follow the instructions in 'readme_tutorial_4.txt'.
    Happy modding!

    925 downloads

    1 comment

    Updated

  7. Expert Tools

    This mod is just a life quality improvement for those who find themselves typing redundant code on the console.
    It doesn't really change the game in any way other than adding some handy console commands.
    In case of any questions about how stuff works, just take a look at the code.
    Just install this mod on the SERVER and it's ready to be used.
    Command list:
    shutdown(bool save)
    Same as c_shutdown()
    reset(bool save)
    Same as c_reset()
    restart(bool save)
    Same as c_reset(), for those who just like me think that the word "restart" is nice and smooth to type.
    modList(int index)
    Prints a table-like list of all the mods active on the server, containing the following information:
    ID: just for organizing the list better and to be used as a parameter;
    Name: workshop name of the mod;
    c_requires: whether or not the client needs to download the mod in order to join the server;
    Version: the mod version;
    Fancy Name: The way the mod is called, such as "expert tools".
    Parameters:
    int index: [optional] This parameter allows you to see information about the specific mod instead the whole list.
    count(str prefab)
    Uses c_announce() to display a count of the prefab on the world. See parameters for more info.
    Parameters:
    str prefab:
    "beefalo": counts and specifies beefalo and baby beefalo.
    "gears": counts gears on the world, including those that are still inside the mobs, just waiting to be killed.
    You can also input any prefab to have a generic message with a count of that prefab.
    revive(int playerIndex)
    Revives players, specific or all.
    Parameters:
    int playerIndex: [optional] specifies the player to revive by the number you get with c_listallplayers(). If absent, revives all dead players.
    kill(int playerIndex)
    Works just like revive(), but kills instead of reviving.
    creative(int playerIndex)
    Toggles creative mode on playerIndex.
    Parameters:
    int playerIndex: specifies the player.
    isCreative(int playerIndex, bool noPrint)
    Returns whether or not the player is on creative mode.
    Parameters:
    int playerIndex: [optional] specifies the player.
    bool noPrint: [optional] suppresses the print.
    If used with no parameters, a list showing all players and their creative status will be displayed.
    say(str message)
    Allows you to send chat messages from the console easier.
    Parameters:
    str message: the message.
    kick(int playerIndex)
    Kicks a player and drops its inventory.
    Parameters:
    int playerIndex: specifies the player.
    ban(int playerIndex)
    Bans a player and drops its inventory.
    Parameters:
    int playerIndex: specifies the player.
    tp(int p1, int p2)
    Teleports player 2 to player 1. Specify only player1 to teleport all to p1.
    If you get confused on who goes to who, just remember that p1 never moves.
    Parameters:
    int p1: specifies the final location of the teleport.
    int p2: [optional] specifies the player that is going to be teleported.
    If p2 is absent, all players will be teleported to p1.
    p1 and p2 work just like playerIndex on the other functions.
    heal(int playerIndex, noPrint)
    Heals health, sanity, hunger, moisture, temperature and removes revival penalties.
    Parameters:
    int playerIndex: specifies the player.
    bool noPrint: [optional] suppresses the print.
    god(int playerIndex, noPrint, god)
    Applies heal() and makes the player a god, invulnerable to everything.
    Parameters:
    int playerIndex: specifies the player.
    bool noPrint: [optional] suppresses the print.
    bool god: [optional] forces god state to be false or true, instead of toggling it.
    isGod(int playerIndex)
    Returns whether or not the player is on GodMode. Works in a similar way to isCreative().
    Parameters:
    int playerIndex: [optional] specifies the player.
    bool noPrint: [optional] suppresses the print.
    If used with no parameters, a list showing all players and their GodMode status will be displayed.
    silentBan(int playerIndex)
    Silently bans a player, without kicking from the server.
    Parameters:
    int playerIndex: specifies the player.
    unban(int playerIndex)
    Removes a player from the ban list, allowing him to join the server again.
    Parameters:
    int playerIndex: specifies the player. This player here is not a player that is on the server, its a player from the banlist()
    banlist()
    Displays a list with all the banned players, does not display user names.
    serverTime()
    Prints for how long the server has been running.
    goNext(str prefab, int ...)
    Teleports how many players needed to the nearest specified prefab.
    Parameters:
    str prefab: this is the prefab that is going to be the teleport target.
    int ...: [optional] this means that you could specify how many number of playerIndex'es you wish. Example: goNext("beefalo",1,3,7,4). This would teleport players 1,3,4 and 7 to the closest beefalo. If used with no parameters, teleports all players to the prefab.
    player()
    Displays a list with all the players. Lists player indexes, name, character and if they are admin.
    invisible(int playerIndex, bool noPrint, bool invis)
    Makes the player invisible.
    Parameters:
    int playerIndex: specifies the player.
    bool noPrint: [optional] suppresses the print.
    bool invis: [optional] forces invisible state to be false or true, instead of toggling it.
    isInvisible(int playerIndex, bool noPrint)
    Returns whether or not the player is invisible.
    Parameters:
    int playerIndex: [optional] specifies the player.
    bool noPrint: [optional] suppresses the print.
    If used with no parameters, a list showing all players and their invisible status will be displayed.
    I'm currently working on adding other functions and improving the mod.
    Please leave a comment to say something you think should be different or just that the mod helps you. Show some love!
    You may request a feature that you would like to see in this mod.

    504 downloads

    1 comment

    Updated

  8. Music Mod Tutorial

    This tutorial will teach you how to create a mod which replaces the music in 'Don't Starve'. For this tutorial, we're going to replace the main menu music.
    To follow this tutorial, download and extract this mod to your 'mods' folder and jump to the tutorial page here.

    1,067 downloads

    1 comment

    Updated

  9. Weapons armour values

    Show all the values releated with weapons, armour, tools.
    Make more or less the same that detailed tooltips and values plus
    enjoy

    2,530 downloads

    1 comment

    Submitted

  10. CaseReplace Tool

    Description
    This contains a little tool called CaseReplace that I whipped up because I got tired of using search & replace with different letter cases when renaming characters for Don't Starve.
    It runs a search & replace process, replacing one name with another in all the relevant files while preserving case (so, for example, "oldname" will become "newname" while "OLDNAME" will become "NEWNAME").
    It also renames all the files and directories accordingly (this can be turned on or off).
    I bundled a batch file named RenameDSCharacter with it which runs the script using the parameters you would normally need in order to make the replacements for a standard Don't Starve character (it basically searches everywhere except zip files).
    IMPORTANT NOTE
    This tool performs a simple search & replace. It doesn't know that you only want to change text when it's referring to a character name.
    Therefore the name you replace needs to be unique and only appear when as the name of that character!
    If your character is named "e" and you run this tool to replace "e" with "a" you'll most certainly break your mod and nothing will work.
    Also, this tool has no undo option (replacing "a" with "e" won't undo it), so it's highly recommended you back your files up before using it.
    I have tested it but not rigorously, so it's best to make a backup before running this.
    I will not be held responsible for the loss of your work or data as a result of using this tool.
    Usage
    You need Python 3 to use them, so if you don't have it and you want to use this tool, go get it.
    I was using Python 3.6.6 when I made it but it's probably OK to use any version of Python 3.
    To use it, first extract it into your mod folder.
    Now you have two options:
    Double-click the file called RenameDSCharacter.bat and when prompted enter the name of the character you want to replace followed by the new name you want it to have (it asks you for those two; just follow the instructions). Run RenameDSCharacter.bat from command prompt and give it the current name and the new name as parameters (in that order). If you really want to, or if there's a problem making it get to the right files or something, you can also use the CaseReplace script directly.
    To do that, go to the folder in command prompt and type "python CaseReplace.py" (no quotes) followed by the parameters you want.
    You can run "python CaseReplace.py --help" to see a list of parameters 
    Enjoy your modding. =)

    18 downloads

    1 comment

    Updated

  11. FutaraDragon DS Tex To AtlasXml Converter

    For Don't Starve Modder Quick Build Xml from tex file for Don't Starve Update
    FutaraDragon DS Tex To AtlasXml Converter V0.0.0.26
    Create By FutaraDragon
    Installation
    when your download finish your must rename to the original file name.
    example when your download finish the file name is "1704-fddstextoatlasxmlconverter.part1.rar " your must rename to "fddstextoatlasxmlconverter.part1.rar " and other part must rename before extract it
    - Download All File and Extract by part 1
    - None Install (Can use when unrar)
    How To Use
    1. Open Program.
    2. Select Folder has tex file inside.
    3. Press Convert Button
    4. The Program Will Create xml for all of file name with format ".tex"
    5. Start Write your code again -0- (I HAVE ALL XML FILE ALREADY!!)
    AboutProgram
    For Build xml file only support for u1="0" u2="1" v1="0" v2="1" image picture
    What I'm doing https://www.facebook.com/FutaraDragonSoftware
    My FaceBook Here https://www.facebook.com/FutaraDragon
    DiscussHere if found bug or talk about this tool >>

    1,537 downloads

    1 comment

    Updated

  12. Creature Mod Tutorial 1 - Creating a Mod

    This tutorial shows you how to create your very own mod!
    Instructions on using the tutorial:
    1. Download and extract the mod to your mods folder.
    2. Open and follow the instructions in 'readme_tutorial_1.txt'.
    Happy modding!

    1,605 downloads

    0 comments

    Updated

  13. Creature Mod Tutorial 5 - Stategraphs

    This tutorial shows you how to control your creature's animation using a stategraph!
    Instructions on using the tutorial:
    1. Download and extract the mod to your mods folder.
    2. Open and follow the instructions in 'readme_tutorial_5.txt'.
    Happy modding!

    817 downloads

    0 comments

    Updated

  14. Creature Mod Tutorial 6 - Brains

    This tutorial shows you how to add a brain to your creature!
    Instructions on using the tutorial:
    1. Download and extract the mod to your mods folder.
    2. Open and follow the instructions in 'readme_tutorial_6.txt'.
    Happy modding!

    831 downloads

    0 comments

    Updated

  15. Creature Mod Tutorial 7 - Importing Sound

    This tutorial shows you how to add custom sound to your creature!
    Instructions on using the tutorial:
    1. Download and extract the mod to your mods folder.
    2. Open and follow the instructions in 'readme_tutorial_7.txt'.
    Happy modding!

    665 downloads

    0 comments

    Updated

  16. Character custom voice tutorial and custom item sounds

    Note: this file will not run as a independent mod, its more of a toolbox if anything. Also its recommended to have some modding experience as the tutorial isn't beginner friendly.
    This file is a tool box and template for making custom character voices and other item sounds as well. It contains a few common armor, structure, and weapon sounds that the base game uses, along with notes about them that may prove useful. The code is preset to follow the lua files stored inside so its less of a hassle trying to start from scratch. Last this file is subject to updates to keep up with don't starve together adding more types of voices like emotes, pose, and ghost voice.
    Tutorial:
     

    173 downloads

    0 comments

    Updated

  17. Test Mod

    modinfo.lua
    modmain.lua

    33 downloads

    0 comments

    Updated

  18. Melon on a Stick Cursor Pack

    Step up your Melon on a Stick game with the official Melon on a Stick Cursor Pack!
    Including 14 unique Melon on a Stick themed cursors for Windows!
    How to install: 
    http://forums.kleientertainment.com/topic/68711-how-to-install-your-own-cursor-pack-eng
     
    Also check out my other cursor packs:
    Webber-Themed Animated Cursor Pack
    Animated "Don't Starve"-Themed Cursor Pack

    228 downloads

    0 comments

    Updated

  19. TEXTools: Mac Port

    These are Mac versions of Handsome Matt's mod tools, TEXCreator and TEXTool. All I have done to them is wrap them in Wine and added icons. They work on my machine, and hopefully they will work on yours.
    The wrapping process unfortunately makes the files very large (~400mb unzipped), so I have compressed and split the files to be able to make them available here. If you would rather make wrappers yourself instead of download them, the process is very easy.
    1. Download and open Wineskin Winery as well as Matt's tools (above).
    2. Create a new blank wrapper using the latest engine (I used WS9Wine1.9.21). For simplicity's sake, you can only run one file per wrapper, so name it TEXCreator or TEXTool depending on what you're after.
    3. When prompted, say YES to installing Mono (which emulates the Microsoft.NET framework necessary to run the programs, and is why the files are so large) and NO to installing Gecko.
    4. When done, open the resulting wrapper. You should get a dialogue that has an "Install Software" button on it. (If you don't, option-click on the wrapper, select "Show Package Contents," and click on Wineskin.app.
    5. In the next dialogue, click "Move a Folder Inside," browse to the folder containing Matt's tools, and select it.
    6. When prompted, pick the appropriate EXE for the wrapper you are creating.
    7. Close all Wine dialogue buttons, and try opening your app. If all is well, the programs should run and behave the same way they do on Windows. I know very little about Wine and if you have problems, I cannot help you resolve them.
    I hope you find these programs useful!

    510 downloads

    0 comments

    Updated

  20. Critcode

    This code is designed for Don't Starve Together to allow for critical hits and items with critical hit properties.
    By design this allows all mobs the potential to be able to crit if they have crit chance greater than 0
    Using inst.components.combat:SetCrit(critchance, critdmg, critfn) we can define a basic crit settings for a mob.
    Currently equipment have crit variables as inst.variables rather than component ones.
    Some fun examples if you have a hat that has crit chance, we can give it to a pigman and he'll be able to crit.
    Currently tested on a caves enabled server and works as advertised.
     
    Suggestions and bugs found for improvements welcome.

    16 downloads

    0 comments

    Updated

  21. Dig

    A modding tool for looking at the GLOBAL variable in this game. Simply eat anything with the console open (use the ` key) and it will print out the first 15 variables eat again and it prints out the next 15.
    To change the variable you are looking at change the modmain.lua file which has comments explaining what to change.

    111 downloads

    0 comments

    Updated

  22. Wod Renamer

    There may be a lot of unforeseen bugs with this. I hope not, but if you want to use it to refactor a previously code-named character, please BACK EVERYTHING UP.
    The primary purpose of this tool is to rename all the character identifier WODs and wods in the sample character template to a codename picked by you. This isn't the descriptive name, just the identifier used to reference your character. Occasionally, if you discover your name isn't unique, you may need to use this to alter the internal codename to not interfere with another modder's mod.
    STEPS:
    1) Download the Sample Character ( I like to use the steam workshop version )
    2) rename (or copy-rename) the folder from workshop-169568662 to taste.
    3) run WodRenamer
    4a) "Open!" the modmain.lua within the previously renamed folder.
    4bOi) If you're not refactoring the character detected, and instead refactoring a different prefab: type the prefab's internal name into the lower inputbox.
    4bOii) In the case of item, uncheck "character prefab" and check "item prefab"
    4bOiii) Click "Override!" (Right side text dump should show what files fit the pattern.)
    4c) If it looks like it found the right files, Type the desired codename in the lower input box, and click "Rename!"
    Known issues:
    Issue that just occurred to me: When using override -> rename WodRenamer won't check the lua files that reference, but don't include the name submitted. I'll have to fix that.

    123 downloads

    0 comments

    Submitted

  23. Save game of base demonstrating a few advanced concepts.

    This is an example I was asked to provide for a reader on the subreddit. It is a bit starved for power approaching the late game but otherwise demonstrates some management and automation concepts, as well as a solid format for a modular base. Download, critique, whatever.

    50 downloads

    0 comments

    Submitted

  24. [Library] Client Data

    library that sends data between the clients without server code. This is very useful when you want to create a client mod and send something to other players with your mod. You can find how to use it here:
     

    19 downloads

    0 comments

    Submitted

  25. Extended Sound Mod Tutorial

    Based on this:
    This project is a complimentary one to help you understand FMOD, and to give you an idea of how to make complex sounds.
    Open the README.txt for more info.

    40 downloads

    0 comments

    Submitted