Modding Tools, Tutorials & Examples

78 files

  1. [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:
     

    6 downloads

    0 comments

    Submitted

  2. 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.

    43 downloads

    0 comments

    Submitted

  3. 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.

    14 downloads

    0 comments

    Updated

  4. Custom Tile Adder

    This mod can be used as a template for custom ground tiles for Don't Starve Together. I use it in the Green World. The main logic implemented in two files:
    tileadder.lua — provides two functions: AddTiles() and AddMinimap(); tiledescription.lua — contains parameteres for new tiles. Function AddTiles() should be called from the modworldgen.lua, function AddMinimap() should be called from the the modmain.lua. Ground ID is not required, the tile adder calculates it automatically; this provides high compability with any other custom tile mods. Turf prefab is also generated by the tile adder, but you need to set build/icon/anim/any other prefab data with AddPrefabPostInit() function in the modmain file.
    Five steps to add new tile:
    Pick the name for you tile; Place ground texture (resolution 512x512, name «noise_yourtilename») and minimap texture (resolution 256x256, name «mini_noise_yourtilename») in the «images/textures» folder; Add string «yourtilename = { }» to the tiledescription.lua file; Add AddPrefabPostInit() function to set inventory images for your tile; Test it! More information you can find in the tiledescription.lua file. As an example, two custom ground tiles (Jungle and Tech) are added. 

    67 downloads

    2 comments

    Updated

  5. Test Mod

    modinfo.lua
    modmain.lua

    24 downloads

    0 comments

    Updated

  6. 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:
     

    117 downloads

    0 comments

    Updated

  7. The Forge Creatures

    The Forge Creatures. Boarrior not included.
    Boaron Peghook Turtillus Elemental Snapper Boarilla Prefabs "strange_scorpion_tfc", "lizardman_tfc", "spiky_turtle_tfc", "hatty_piggy_tfc", "flame_elemental_tfc", "spiky_monkey_tfc"
    Creatures weren't full tested or balanced in normal game.
    May be someone can use it.

    258 downloads

    2 comments

    Updated

  8. Klei Tools

    Hello Guys so i was working on a project which allows you to convert animation to scml with one file 
    it creates scml,textures and back ups the anim in the .zip
    The Pack Includes Following Things: FMOD Studio,Texmod,Krane Converter,Spriter and some of my old scripts  including old throne
    Folders on Screenshot: Textures - Extracted Textures
                                               Input - Put .zip files in here
                                               Output - Has the converted scml ready to open with spriter
                                               Texmod - Creating of .tex and Viewing it
                                                FMOD Studio - Allows to edit audio to make it work with klei games
                                                Spriter - Studio for Animating 
    And don't forget about reading ReadMe.txt  
    Newest Version Can be found here
    https://gitlab.com/CliffW/Klei-Dough-Tools
     
     
     
    Klei Tools.rar

     

    425 downloads

    8 comments

    Updated

  9. Weapon and Item tutorial

    Downloads for the weapon tutorial

    353 downloads

    0 comments

    Submitted

  10. Music Mod Guide (DST)

    This is a music mod guide for Don't Starve Together that can also be used for Don't Starve. It is created by me, and contains links to other files needed. This is a current guide and should help more than the extremely outdated one from 2011. 
     
    Search me up on Steam to see my music mods. My Steam name is TheScraps

    381 downloads

    3 comments

    Submitted

  11. Domo's Don't Starve Character Creator

    This is the download page for Domo's Don't Starve Character Creator tool.  It is a plugin for Adobe Flash, and requires that you have Adobe Extension Manager installed.  Instructions on its use can be found here.  Enjoy!

    925 downloads

    1 comment

    Updated

  12. HUD Hotkey

    Feel almighty as you toggle the GUI at the push of a button.
    Configurable in-game to set your own shortcut.

    96 downloads

    0 comments

    Submitted

  13. 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!

    423 downloads

    0 comments

    Updated

  14. Webber-Themed Animated Cursor Pack

    Express your love for our hairy little friend with this brand new
    Webber-Themed Animated Cursor Pack
    Including 15 Cursors inspired by my favourite Don't Starve Character!
    Precise enough to use at work and the survival-y feel of your favourite
    game is finally complete with this original handdrawn Cursor Pack!
    Also check out my other Cursor Packs!
    Cheers, Jules
    Follow this link for a tutorial on how to install the cursors. Thanks to @iMCrafter

    484 downloads

    6 comments

    Updated

  15. Mini Furniture FOR ROG

    You must be familiar with the MOD 
    That's right. This is the ROG version of the mini furniture you want. 

    In this version of the MOD what is the use? 
    1: you can take your furniture around the map 
    2: when the four seasons BOSS comes, do not have to worry about the destruction of the house 
    3: of course, you can do whatever you want. 

    SW version:http://steamcommunity.com/sharedfiles/filedetails/?id=578820740


    420 downloads

    8 comments

    Submitted

  16. Backup your saves game

    In Don't Starve Shipwrecked, to backup your save game, you must copy all files from two locations:
    -  C:\Users\USERNAME\Documents\Klei\DoNotStarve\save
    - ...\Dont Starve Shipwrecked\bin\3DMGAME\Mr DJ\storage
    Every time backup or restore, you must do the 1st and 2nd steps. For convenience, I create an application run in Windows that you can backup/recover easily with a by only one click.
    Name player: input name of player properties.
    Date Game: input date in game.
     
    (Only Compatible With Windows due to How Finding File Works and I have no idea if Visual Basic programs work on Linux or Mac.)
    Some when I will be adding new features based on suggestions and feedback, so if you have any then I want it!

    465 downloads

    9 comments

    Updated

  17. Mod Music Manager

    This is a component for managing special mod music. Try to use it if you can. If you need a practical example, check out Soulful Alchemy.
    Don't mind the DirectorNode stuff, I was just too lazy to remove it.
    If you have any questions or concerns, tell me please!

    85 downloads

    0 comments

    Updated

  18. 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,380 downloads

    1 comment

    Submitted

  19. Smarter Crock Pot

    Steam Workshop Link: https://steamcommunity.com/sharedfiles/filedetails/?id=596800985
    Compatible with DS, ROG and SW.
    Original link: https://steamcommunity.com/sharedfiles/filedetails/?id=222342168
    Fixed by zUsername.
    Created by Nadav.

    9,812 downloads

    8 comments

    Updated

  20. Working Body Heat

    "Work keeps you warm, but makes you peckish."
    This mod considers strong physical activity such as mining or chopping trees and increases your body temperature when doing so. However, this comes at an increased calories burn rate.
    You can tune the exact values in-game.
    As suggested by _Sips[1] (warning: swear words)

    319 downloads

    3 comments

    Submitted

  21. Speech Template

    This is a speech template compatible with DS (with or without RoG) and DST.
    Remember to rename the file!
    You can set the speech file using: STRINGS.CHARACTERS.CHARNAME = require "speech_charname"
    Pro Tip: You can "comment" specific lines "out" by putting -- before them. You can also comment several lines out by putting --[[ before and ]] after them.
    I assembled this in less that 15 minutes, so it's likely there's some redundant strings left (as in, the same key being set twice). Don't blame me, should that be the case, I just copied Wilson's file from Together and ran a simple script over it to empty the quotations.

    103 downloads

    4 comments

    Submitted

  22. 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

    209 downloads

    0 comments

    Updated

  23. Texture and Atlas Packer

    This program can be used to create a single texture and atlas file from multiple images.
    VirusTotal: Here
    Unpack Function:
    The unpack function allows the end user to break down Texture (.tex) files into their base image into a Portable Network Graphics (.png) file.
    HOW TO USE EXPORT FUNCTION:
    When adding files instead of adding Image Files, select 'Texture Files' from the drop down. Add the Texture (.tex) files you wish to unpack and click the Unpack button. If you press the Unpack button and no Texture (.tex) files are in the list, it will skip operations. If a Texture (.tex) file is in the list and you press the Pack button, the pack function will skip the Texture (.tex) file.
    NOTE 1:
    This required .NET Frameworks 4.6 in order to run it correctly. Please download it from the Microsoft Website if you're not running Windows 10.
    Regards,
    Kzisor/Ysovuka

    765 downloads

    3 comments

    Updated

  24. 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.

    495 downloads

    1 comment

    Updated

  25. 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.

    145 downloads

    1 comment

    Updated