• Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About Monti18

  • Rank
    Junior Member

Recent Profile Visitors

209 profile views
  1. Seems like the last update changed the part of the sandstorm stormwatcher component to a new component sandstormwatcher, so you just need to change inst.components.stormwatcher:SetSandstormSpeedMultiplier (TUNING.SANDSTORM_SPEED_MOD) to inst.components.sandstormwatcher:SetSandstormSpeedMultiplier (TUNING.SANDSTORM_SPEED_MOD) If you want to see how a certain mod did something, just subscribe to the mod and you will be able to see it either in SteamLibrary/steamapps/common/Don't Starve Together/mods or (for the newer oder newly updated mods) SteamLibrary/steamapps/workshop/content/322330.
  2. It looks like this guide is for Don't Starve and not Don't Starve Together. See this post why it doesn't work. You just need to use AddPlayerPostInit instead of AddSimPostInit.
  3. I'm not sure if this will work for you, at least when I did a quick test, my print was run. instead of local function onputininventoryfn(owner) owner:ListenForEvent("sanitydelta", setHealing) use local function onputininventoryfn(inst, owner) inst:ListenForEvent("sanitydelta", setHealing, owner) See also this post to understand why:
  4. I had a quick look at your file, you are missing the anim files and you didn't rename many instances of esctemplate to you character name. Here is a very good guide for character creation, hope this helps: If you don't know what causes the error, the best thing to do is to have a look at the server log or the client log. The client log can be found at Documents\Klei\DoNotStarveTogether\client_log.txt and the server log is best found when you click on host game and you see your server where you tried your mod, at the right side, as seen in the picture in the spoiler. That open a folder with Master and/or Caves, there you go on Master\server_log.txt to see where the error happens.
  5. The only tutorial that I found when I started to learn widgets was this one: Widgets are quite complicated, at least for me, so it's not an easy task. What kind of widgets do you have in mind to do? If you tell me, I could perhaps give you some help.
  6. Hello, I need help with adding custom sounds. I made a fmod file and at least I think they are correct, but when I try to call it, there is an fmod error that the file is not found. The files are located in sound/franzose. This is in my modmain: Asset("SOUNDPACKAGE", "sound/franzose/franzose.fev"), Asset("SOUND", "sound/franzose/franzose.fsb"), .... inst.SoundEmitter:PlaySound("franzose/franzose/franzose") inst.SoundEmitter:PlaySound("franzose/franzose/franzose/franzose") inst.SoundEmitter:PlaySound("sound/franzose/franzose/franzose/franzose") I just tried it with all the different variants, but all of them say file not found. I attached the fmod project and hope that somebody can help me. Thanks in advance, Monti18 Edit: So it seems I have it resolved, I'm not quite sure what the problem was, I think perhaps the audio was too long, I made it shorter and used another template that I found and now it works
  7. Hey, so I'm currently doing a mod where I add a chesterlike creature, also with a container. I wanted to make it able to go to the caves with a working container. I took a look at the personal chester mod and freki mod to see what had to be done, so this is already working as I wanted it to. The problem is now that the creature doesn't despawn when the server is closed, as it should and also does with the personal chester mod, which results in more and more creatures at the each restart of the server. I used the same code as there, I just cut some out that I didn't need. I have "fixed" it by removing the creature and the eyebone when the player enters with the onload function, but this is not how I want it to stay. I added print statements for the remove function, but they are not printed, perhaps as the server is already down because of the DoTaskInTime, but they are working for personal chesters, that's why I'm very confused. If you could help me, I would be very grateful!
  8. Thank you very much, I just tested it out, it worked flawlessly! I just didn't think of adding the other values, I will keep it in mind for the future.
  9. Hello, I'm currently trying to mod a weapon that doesn't deal damage and heals with each hit the target. THe no damage part is no problem, I just need help with the healing. This is the section where i tried to add the healing, but when I'm trying it, nothing happens. local function onattack(target) if then end end inst.components.weapon:SetOnAttack(onattack) This my first try at modding, I tried searching for a solution, but didn't find anything. Any help is welcome!
  10. GPU drivers are up to date and weren't updated when I had this issue. The issue also persisted after a reboot of the PC.
  11. I use the Steam version. The game didn't start even after repairing, although it said that it repaired 2 files the first time, the second time there were no abnormal files. When I went to check the log files, I found these enormous client logs, which are filled with "framebuffer not complete". After leaving it "started" (it was active in the taskmanager, but I didn't see anything) for 10 min, it suddenly opened the game. It seems the problem is now solved for me, I just wanted to let you know. I would add the log file but I think it's a bit too big...