Search the Community

Showing results for tags 'coding help'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Hot Lava
    • [Hot Lava] - General Discussion
    • [Hot Lava] - Suggestions and Feedback
    • [Hot Lava] - Bug Tracker
    • [Hot Lava] - Strats and Records
    • [Hot Lava] - Developer Log
    • Hot Lava Latest Update
  • Griftlands
    • [Griftlands Early Access] - General Discussion
    • [Griftlands Early Access] - Suggestions and Feedback
    • [Griftlands Early Access] - Mods and Tools
    • [Griftlands Early Access] - Localization
    • [Griftlands Early Access] - Bug Tracker
    • [Griftlands Early Access] - Developer log
  • Oxygen Not Included
    • Oxygen Not Included FAQ
    • [Oxygen Not Included] - Developer log
    • [Oxygen Not Included] - General Discussion
    • [Oxygen Not Included] - Bug Tracker
    • [Oxygen Not Included: Spaced Out!] - Bug Tracker
    • [Oxygen Not Included] - Mods and Tools
    • [Oxygen Not Included] - Suggestions and Feedback
    • [Oxygen Not Included] Art, Music & Lore
    • Community Challenges
    • [Oxygen Not Included] - Latest Content Update
    • [Oxygen Not Included] - Latest Animated Short
    • Oxygen Not Included DLC Alpha
  • Don't Starve Together
    • Don't Starve Together FAQ
    • [Don't Starve Together] Developer log
    • [Don't Starve Together] General Discussion
    • [Don't Starve Together] Return of Them
    • [Don't Starve Together] PS4
    • [Don't Starve Together] Xbox One
    • [Don't Starve Together] Bug Tracker
    • [Don't Starve Together] Trading
    • [Don't Starve Together] Server Bulletin
    • [Don't Starve Together] Dedicated Server Discussion
    • [Don't Starve Together] Mods and Tools
    • [Don't Starve Together] Tales of Life and Death
    • [DS + DST] Art, Music and Lore
    • [Don't Starve Together] Suggestions and Feedback
    • [Don't Starve Together] The Forge
    • [Don't Starve Together] The Gorge
    • [Archived Bugs]
  • Don't Starve
  • Klei Entertainment Games
  • Other Stuff

Categories

  • Don't Starve
    • Custom Character and Skins
    • Game Modifications
    • Language Packs
    • Modding Tools, Tutorials & Examples
    • Custom Maps

Categories

  • Oxygen Not Included
  • Oxygen Not Included: Spaced Out! (Early Access)
  • Griftlands - [Early Access]
  • Don't Starve: Hamlet
  • Don't Starve: Hamlet Early Access
  • Don't Starve Together
  • Don't Starve Together: Return of Them
  • Don't Starve Together: The Gorge
  • Don't Starve Together: The Forge
  • Don't Starve Together: The Forge (Archive)
  • [Don't Starve Together] PS4
  • [Don't Starve Together] Xbox One
  • Don't Starve: Shipwrecked
  • Don't Starve: Shipwrecked [archive]
  • [Don't Starve Together] PS4 (archive)
  • [iOS] Don't Starve: Shipwrecked
  • Don't Starve: Hamlet Closed Beta (ARCHIVE)

Categories

  • Oxygen Not Included
  • Oxygen Not Included: Spaced Out! (Early Access)
  • Griftlands - [Early Access]
  • Hot Lava
  • Don't Starve Together
  • [PS4] Don't Starve Together
  • [Xbox One] Don't Starve Together
  • Don't Starve: Hamlet
  • Don't Starve: Shipwrecked

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End



Biography


Location


Interests


Occupation


Favorite Game


Modder


Chester Kickstarter


Chester Kickstarter


Chester Kickstarter


Chester Kickstarter


Chester Kickstarter


Klei Featured Artist


Early Supporter


Early Supporter


Don't Starve


Don't Starve Together

Found 5 results

  1. Hopefully the title makes sense. What I'm trying to do with my mod character is make it so he breaks tools faster but he chops trees, mines rocks etc. faster as well because he is very strong and easily breaks man-made and organic materials. I took code from Wigfrid's durability Battlesong and tried to modify it to make it so that tools broke faster but trees fell and rocks broke with like half the uses, however I am getting crashes, the most recent crash being this: Now I understand that the "weapon" component isn't going to work, but I don't know what to change to make it work. The most recent crash happens when I unequip a tool, oddly. Plus I am not even getting the effect I want. Here is the code I currently have as well as my character's .lua file attached. local GARAMONDE_DURABILITY_MOD = 0.8 inst:ListenForEvent("equip", function(data) if data.eslot == EQUIPSLOTS.HANDS then inst.components.weapon.attackwearmultipliers:SetModifier(inst, TUNING.GARAMONDE_DURABILITY_MOD) end end) inst:ListenForEvent("unequip", function(target, data) if data.eslot == EQUIPSLOTS.HANDS then inst.components.weapon.attackwearmultipliers:RemoveModifier(inst, TUNING.GARAMONDE_DURABILITY_MOD) end end) Thanks in advance! garamonde.lua
  2. hello, i would like some help with coding a character for a friend i need help coding in sanity gain around other players and custom players/characters without crashing the game as well as giving people sanity a little wen they are near them as well, i have attempted this before but it just crashed the game wen another player walks near. any coding help is appreciated and i would really like help with this. also here's an image of what made it crash.
  3. So! I've been working on this for a while, but since this doesn't pertain to my other thread about this mod (it's far more specific), I'll make a separate thread for it. I'm trying to add some code to the Modmain.lua in order to have the existing characters in the game react in unique ways to my character (Different from the Player string in the speech_[character].lua file) and I pulled the code from an existing mod that had it. In my testing, it seemed characters like Wilson and Webber still used their default descriptors instead of the ones I modded in. Here's what the code looks like (Only posting a few as not to clutter this thread): My first thought was in the line "...DESCRIBE.warlock", warlock needed to be capitalized. I tried that, and it still didn't work properly. If anybody has any info I'd appreciate it! ---------------------- I tossed out using this code entirely, as nothing I tried worked and nobody seemed to have a fix for it. Instead, I ended up using a different code to use a custom speech file I made and added my character's prefab to the character interaction list. In case anybody else is looking for it, the code I used is this: GLOBAL.STRINGS.CHARACTERS.GENERIC = GLOBAL.require "speech_wils" This is for Wilson, because he uses the generic string. I took his speech file, renamed it to speech_wils so it wouldn't conflict with his existing speech file, and it worked like a dream. Hope this helps someone else!
  4. Hi! I'm trying to make a mod that reduces the quantity of slots on a backpack, however I'm unable to accomplish it. I would appreciate some help in how to reduce the quantity of slots, the backpack interface changes, but it continues with the same quantity of slots. My modmain will go attached here. I would appreciate any help! modmain.lua
  5. Howdy! I've decided to try my hand at modding once again. But, i'm not too certain as to how to code a few things. I'd like it if my character, Diti, could do night vision, and maybe buff her attack a little bit at night too? I've looked around in files, and honestly none of them are working?? I also wanted to do somethin' like having her passive with a ton of normally hostile mobs??