Skip to content
Menu
SteamAH
  • Cheat
  • Guide
  • Tips
  • Game Lists
  • Privacy Policy
  • Abuse
SteamAH

Don’t Starve Together: How to Bind Emotes to the Function Keys

Posted on March 20, 2019

Beginning

Hello! In this guide i show you How to bind emotes to the function keys, from F1 to F9.
This tutorial short and doesn’t so hard. You can customize it make own by yourself for yourself!

OK, at first we need to download sample of my mod what we will editing and download other programs that help us on our plans.

You can download sample of my mod here: https://drive.google.com/open?id=1m_ffid9c5ZLmHpg8x6hdwgeO1RbHMwI_

All programs what we need:

  • Note C++: https://notepad-plus-plus.org/download/v7.6.4.html
  • Paint.net: https://www.getpaint.net/
    or GIMP: https://www.gimp.org/
  • TEXTool: https://forums.kleientertainment.com/files/file/73-handsome-matts-tools/

Setting up

Now we download all programs with sample of mod and ready to do our mod.

First what we need to do is name our mod folder. You can name it how you want.
After naming your mod folder, you need put it on C:\Program Files (x86)\Steam\steamapps\common\Don’t Starve Together\mods\ (just put it on “mods” folder in your game directory)
Cut all files from my sample mod folder and put to your mod folder what we created earlier.

When you do this all, we need to edit our “modinfo.LUA” file.
Open that file with Note C++ and get ready to edit…
All what you can edit on this file, is mod name, author, description and version of your mod.

name = “(MOD NAME HERE)” description = “(CUSTOM DESCRIPTION)” author = “(YOUR NAME)” version = “1.1”

Be careful and better recheck your changes twice!

Bind coding

This section can be little hard if you don’t know how to code on Note C++
Open “modmain.LUA” with Note C++ and look what we have here…

function KeyHandler( key, down ) if down then local emotes_map = { “carol”, “chicken”, “robot”, “laugh”, “sleepy”, “flex”, “impatient”, “slowclap”, “bonesaw” } if key >= GLOBAL.KEY_F1 and key <= GLOBAL.KEY_F12 then local emote = emotes_map[key – GLOBAL.KEY_F1 + 1] if emote ~= nil then UserCommands.RunTextUserCommand(emote, GLOBAL.ThePlayer, false) end end end end

Now be careful, and change only what you read this guide!

READ:  Don't Starve Together: Winona's Stats, Gadgets and Abilities

Let’s look at this:

local emotes_map = { “carol”, “chicken”, “robot”, “laugh”, “sleepy”, “flex”, “impatient”, “slowclap”, “bonesaw” }

We can see that we have the names of in-game emotes. On this moment, we need to know what emotes we need to bind to our keys.
If you don’t know all names of all emotes, check them here: https://dontstarve.fandom.com/wiki/Emotes

Binds starts from F1 to F9, that means from

local emotes_map = { “F1”, “F2”, “F3”, “F4”, “F5”, “F6”, “F7”, “F8”, “F9” }

All what you need know, is know what emote you want see when you pressing on this key. Just write emote name instead name on sample mod.
Like that:

local emotes_map = { “carol”, “F2”, “robot”, “F4”, “F5”, “F6”, “F7”, “F8”, “F9” }

That means when i pressing F1 starts plays CAROL emote and when i pressinf F3 key, starts playing ROBOT emote.

Isn’t this easy?

Mod icon

We done all right now. Mod working and what next? How about make mod icon?
That’s important part of functional mod.

All what hard here, is BEING CREATIVE!
Here we need TEXTool. If you don’t have it, just read Beggining of this guide. :/

First step is:

  • Open TEXTool and press on FOLDER icon. Then open “modicon.TEX” in mod sample.
    Don't Starve Together: How to Bind Emotes to the Function Keys
  • When image loads, save it on desktop.
    Don't Starve Together: How to Bind Emotes to the Function Keys
  • In this step you need open Paint.net or GIMP and just make your own icon! It must be 128×128, not bigger or smaller! Be creative!
    Don't Starve Together: How to Bind Emotes to the Function Keys
  • After completing, save it as “modicon.PNG“! Then open TEXCreator and press on ADD button. Choose your icon and select output desktop directory.
    Don't Starve Together: How to Bind Emotes to the Function Keys
  • Now press on CONVERT button and we done!
    Don't Starve Together: How to Bind Emotes to the Function Keys
READ:  Don't Starve Together: Ultimate Character Combos List

Now you need to delete old “modicon” from ample mod file and change it with your!

Written by SanekOgon

MORE GAME GUIDES FOR YOU

Related Posts:

  • Don’t Starve Together How to Unlock Characters for Free
  • Don’t Starve Together: Commands & Console Guide
  • Don’t Starve Together: Winona’s Stats, Gadgets and Abilities
  • Don’t Starve Together: How to Fight Seasonal Bosses
  • Don’t Starve Together: Ultimate Character Combos List

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Disclaimer

All content cited is derived from their respective sources. If you think we have used your content without permission, Please go to the Abuse Page to contact us and we will be taking it seriously.

Recent Posts

  • Slime Rancher Save File of 5 Days with a lot of Money and Keys
  • Sons of the Forest Save File for Quick Start, House Builting and Stuffed
  • Final Profit: A Shop RPG All Apple & Apple Chest Locations
  • Final Profit: A Shop RPG How To Beat All Floor Puzzles
  • OCTOPATH TRAVELER II Skills Explained (Fixing Bad Translations)
©2023 SteamAH | Powered by SuperbThemes & WordPress