Search the Community

Showing results for tags 'perks'.



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] - Mods and Tools
    • [Oxygen Not Included] - Suggestions and Feedback
    • [Oxygen Not Included] - Bug Tracker
    • [Oxygen Not Included] Art, Music & Lore
    • Community Challenges
    • [Oxygen Not Included] - Latest Content Update
    • [Oxygen Not Included] - Latest Animated Short
  • 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
    • Don't Starve FAQ
    • [Don't Starve: Pocket Edition] iOS / Android
    • [Don't Starve] General Discussion
    • [Don't Starve] Mods and tools
    • [Don't Starve] Art, Music & Lore
    • [Don't Starve] Suggestions and Feedback
    • [Don't Starve] Videos
    • [Don't Starve] Bug Tracker
    • [Don't Starve] Trading
    • [Don't Starve] Testing Discussion (archive)
  • 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
  • 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
  • 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 6 results

  1. I have seen a lot of people which are still new to modding having troubles with the basic character perks, therefore I decided to create a simple tutorial showing you how to create some basic perks for your character. So if you're having trouble and are working on a mod for DS, RoG, or SW (or... all) then hopefully this could help you out at least a little bit! I know that I'm not the best modder out there, and that there can be few different ways to achieve some of these things in this tutorial, but I'm gonna focus mainly on the ways that I learned how to do them. ---------------------------------------------------------------------------------------------------------------- IMPORTANT DST mods differ in their codding from the DS, RoG, and SW. So sadly this tutorial might not help you if you're working on a DST mod. ---------------------------------------------------------------------------------------------------------------- So most of you probably are already using a basic character template, which provides you with a basic modmain.lua file, same as a starter character prefab file which already has the basic list of assets, and character stats for you to manipulate. But just in case you don't have them, then here's where you can get them: Extended Sample Character << Click In this tutorial I'll show you how to: - Set/Change your characters Health, Sanity, and hunger. - Increase/Decrease/Turn off night and dusk sanity drain or reverse it. - Increase/Decrease/Turn off moisture sanity drain or reverse it. - Set a HP/Sanity/Hunger regen/damage over time. - Set a HP/Sanity/Hunger regen/damage during specified time of the day. - Set a HP/Sanity/Hunger regen/damage during specified season. - Set a HP/Sanity/Hunger regen/damage from rain or while being in caves. - Set a health/sanity/hunger regern/damage from temperature. - Set a health/sanity/hunger regern/damage from moisture. - Set a sanity/health/hunger loss/gain from attacking creatures. - Set a sanity/health/hunger loss/gain from killing creatures. - Set a Sanity regern/damage by equipping an item. - Erase/Increase/Decrease an existing sanity regen/damage on an item. - Add a sanity aura heal/damage to an item/creature. -------------------------- - Change your character's basic defense/attack power/speed. - Change defense/power/speed based on the time of the day. - Change defense/power/speed based on season. - Change defense/power/speed based on rain or caves. - Change defense/power/speed based on temperature. - Change defense/power/speed based on moisture. -------------------------- - Set your character's heat and cold resistance. - Increase/Decrease the HP damage when freezing/overheating. - Make your character fragile/resistant/immune to heat/cold. - Make your character immune to fire. - Turn your character into a monster or make it "not scary to prey". - Make the spiders/merm ignore your character (if unbothered). -------------------------- - Set/Change what your character can/can't eat. - Change the amount of sanity/health/hunger that a specified food gives. - Create a custom food type/group for your character. - Make an non-eatable item eatable to your character. --------------------------- - Give your character starting inventory items. - Make your character always start with a certain custom item (even in adventure mode). - Give your character a night vision/glow. - Unlock recipes for your character. - Change existing recipes. - Give your character custom recipes for existing items. - Remove the sanity gain/loss from picking flowers. - Mute your character. - Make your character unable to trigger spiders when walking on their webs. (All of the sections are in the same order as in the list above) BTW, I know that you'll see me repeat the same things many times in this tutorial, but that's just because I made it for people to be able to head right away to the section that they care to learn, without needing to read the whole thing. So I'm sorry if you'll find that annoying. Anyways, let's start! ========================================================================= Health / Sanity / Hunger ========================================================================= --=====BASIC=====-- -- Set/Change the character's basic stats -- -- Increase/Decrease/Turn off night & dusk sanity drain or reverse it -- -- Increase/Decrease/Turn off moisture sanity drain or reverse it -- --=====REGEN/DAMAGE BASED ON TIME OR SEASON=====-- -- Set a HP/Sanity/Hunger regen/damage over time -- -- Set a HP/Sanity/Hunger regen/damage during specified time of the day -- -- Set a HP/Sanity/Hunger regen/damage during specified season -- --=====REGEN/DAMAGE BASED ON LOCATION OR RAIN=====-- -- Set a HP/Sanity/Hunger regen/damage from rain or while being in caves -- --=====REGEN/DAMAGE BASED ON TEMPERATURE OR MOISTURE=====-- -- Set a health/sanity/hunger regern/damage from temperature -- -- Set a health/sanity/hunger regern/damage from moisture -- --=====REGEN/DAMAGE BASED ON KILL OR ATTACK=====-- -- Set a sanity/health/hunger loss/gain from attacking creatures -- -- Set a sanity/health/hunger loss/gain from killing creatures -- --=====REGEN/DAMAGE BASED ON ITEMS OR CREATURES=====-- -- Set a sanity regern/damage by equipping an item -- -- Erase/Increase/Decrease an existing sanity regen/damage on an item -- -- Add a sanity aura heal/damage to an item/creature -- ========================================================================= Defense / Attack power / Speed ========================================================================= --=====BASIC=====-- -- Change your character's basic defense/attack power/speed -- --=====INCREASE/DECREASE BASED ON TIME OR SEASON=====-- -- Change defense/power/speed based on the time of the day -- -- Change defense/power/speed based on season -- --=====INCREASE/DECREASE BASED ON LOCATION OR RAIN=====-- -- Change defense/power/speed based on rain or caves -- --=====INCREASE/DECREASE BASED ON TEMPERATURE OR MOISTURE=====-- -- Change defense/power/speed based on temperature -- -- Change defense/power/speed based on moisture -- ========================================================================= Sensibility / Numbness / Characteristics ========================================================================= --=====BASIC=====-- -- Set your character's heat and cold resistance -- -- Increase/Decrease the HP damage when freezing/overheating -- --=====FRAGILE / IMMUNE=====-- -- Make your character fragile/resistant/immune to heat/cold -- -- Make your character immune to fire -- -- Turn your character into a monster or make it "not scary to prey" -- -- Make the spiders/merm ignore your character (if unbothered) -- ========================================================================= Food ========================================================================= --=====BASIC=====-- -- Set/Change what your character can/can't eat -- -- Change the amount of sanity/health/hunger that a specified food gives -- --=====CUSTOM=====-- -- Create a custom food type/group for your character -- -- Make an non-eatable item eatable to your character -- ========================================================================= Starter inventory / Night vision / Recipes / Other ========================================================================= --=====ITEMS=====-- -- Give your character starting inventory items -- -- Make your character always start with a certain custom item (even in adventure mode) -- --=====CHARACTER=====-- -- Give your character a night vision/glow -- --=====RECIPES=====-- -- Unlock recipes for your character -- -- Change existing recipes -- --=====CUSTOM=====-- -- Give your character custom recipes for existing items -- --=====OTHER=====-- -- Remove the sanity gain/loss from picking flowers -- -- Mute your character -- -- Make your character unable to trigger spiders when walking on their webs -- ========================================================================= And that would be the end of this tutorial. It took me 5 days to compose all this, so I really hope that at least some of you might find it helpful. However, if any of this parts/sections confused you, then please feel free to ask me whatever it is that you didn't understand, and I'll try to explain it differently to hopefully help you out. Also: Please, do not ask any questions that have nothing to do with this tutorial (nor anything it shows) in here. (Just trying to avoid unnecessary mess) ^^;
  2. Hello, my name is Mercy. I'm working on a mod character named Gwen, the Faithful whom I'm programming. Whereas I'm hiring an artist to produce the artwork. My main issues are that I don't know how to get a few of the perks finished. As well as need references to characters with some of the other perks. Below I will list my character's perks in detail, with a checklist above the detailed explanation. In addition, I will give a character biography. Character Bio: 150 Health, 150 Hunger, 200 sanity. Has been here before. Hence knows most things about the DST world, as well as aware of the cast of characters. Is a vegetarian and a peace loving person. Hence is against hurting creatures. Is a masochist and amused by her own pain. Is clever with references to other worlds. Green = Done; Purple = Uncertain; Red = Incomplete Has been here before: Can craft Night tools by default. (In Sight tab) Can craft Rickidy Staff by default. (In Sight tab) Knows first science level by default. Still requires level 2 science station. Knows first magic level by default. Still requires level 2 magic station. Cooks in half the time. Picks things in half the time. Un-named Perk: Regenerates health at the cost of hunger, if already damaged. (+2 Health & -1 Hunger per minute) A little bit awry: Is a vegetarian. Scared of non-nightmare aggressive creatures. (Rate of Wolfgang) Loses sanity upon killing friendly creatures. (-5 sanity per kill) Starting Items: Starts with a Rickidy Staff. Starts with 1 Hounds Tooth. Starts with 2 Twigs. Starts with 2 Nightmare Fuel --- --- --- --- --- --- --- --- Can craft Night tools and Rickidy Staff by default: (Working on adding the custom crafting tab) File: modmain.lua AddRecipe("rickidystaff", {Ingredient("twigs", 4), Ingredient("boneshard", 1), Ingredient("nightmarefuel", 1)}, RECIPETABS.TOOLS, TECH.NONE, nil, nil, nil, nil, "rickidy_healer") AddRecipe("nightaxe", {Ingredient("twigs", 1), Ingredient("boneshard", 1), Ingredient("nightmarefuel", 1)}, RECIPETABS.TOOLS, TECH.NONE, nil, nil, nil, nil, "rickidy_healer") AddRecipe("nightpickaxe", {Ingredient("twigs", 2), Ingredient("boneshard", 1), Ingredient("nightmarefuel", 2)}, RECIPETABS.TOOLS, TECH.NONE, nil, nil, nil, nil, "rickidy_healer") AddRecipe("nightshovel", {Ingredient("twigs", 2), Ingredient("boneshard", 1), Ingredient("nightmarefuel", 2)}, RECIPETABS.TOOLS, TECH.NONE, nil, nil, nil, nil, "rickidy_healer") AddRecipe("nighthammer", {Ingredient("twigs", 3), Ingredient("boneshard", 1), Ingredient("cutgrass", 6), Ingredient("nightmarefuel", 1)}, RECIPETABS.TOOLS, GLOBAL.TECH.NONE, nil, nil, nil, nil, "rickidy_healer") AddRecipe("nightpitchfork", {Ingredient("twigs", 2), Ingredient("boneshard", 1), Ingredient("nightmarefuel", 2)}, RECIPETABS.TOOLS, TECH.NONE, nil, nil, nil, nil, "rickidy_healer") AddRecipe("nightmachete", {Ingredient("twigs", 1), Ingredient("rope", 2), Ingredient("boneshard", 1), Ingredient("nightmarefuel", 3)}, RECIPETABS.TOOLS, TECH.NONE, nil, nil, nil, nil, "rickidy_healer") AddRecipe("rickidystaff", {Ingredient("twigs", 4), Ingredient("houndstooth", 1), Ingredient("nightmarefuel", 1)}, RECIPETABS.TOOLS, TECH.NONE, nil, nil, nil, nil, "rickidy_healer") AddRecipe("nightaxe", {Ingredient("twigs", 1), Ingredient("houndstooth", 1), Ingredient("nightmarefuel", 1)}, RECIPETABS.TOOLS, TECH.NONE, nil, nil, nil, nil, "rickidy_healer") AddRecipe("nightpickaxe", {Ingredient("twigs", 2), Ingredient("houndstooth", 1), Ingredient("nightmarefuel", 2)}, RECIPETABS.TOOLS, TECH.NONE, nil, nil, nil, nil, "rickidy_healer") AddRecipe("nightshovel", {Ingredient("twigs", 2), Ingredient("houndstooth", 1), Ingredient("nightmarefuel", 2)}, RECIPETABS.TOOLS, TECH.NONE, nil, nil, nil, nil, "rickidy_healer") AddRecipe("nighthammer", {Ingredient("twigs", 3), Ingredient("houndstooth", 1), Ingredient("cutgrass", 6), Ingredient("nightmarefuel", 1)}, RECIPETABS.TOOLS, GLOBAL.TECH.NONE, nil, nil, nil, nil, "rickidy_healer") AddRecipe("nightpitchfork", {Ingredient("twigs", 2), Ingredient("houndstooth", 1), Ingredient("nightmarefuel", 2)}, RECIPETABS.TOOLS, TECH.NONE, nil, nil, nil, nil, "rickidy_healer") AddRecipe("nightmachete", {Ingredient("twigs", 1), Ingredient("rope", 2), Ingredient("houndstooth", 1), Ingredient("nightmarefuel", 3)}, RECIPETABS.TOOLS, TECH.NONE, nil, nil, nil, nil, "rickidy_healer") Knows first science and magic level by default, yet requires second level crafting stations: (Working on displaying the next level of locked recipes) File: gwen.lua inst:DoTaskInTime(0, function(inst) for k, v in pairs(AllRecipes) do if v and v.level and v.builder_tag == nil and (v.level.SCIENCE == 1 or v.level.MAGIC == 2) then inst.components.builder:AddRecipe(v.name) inst:PushEvent("unlockrecipe", { recipe = v.name }) end end end) Cooks in half the time: (I need a reference for this) ... Picks things in half the time: (I need a reference for this) ... Regenerate health at the cost of hunger if already damaged: (I need a reference for this) ... Is a vegetarian: (Feedback is appreciated) File: gwen.lua inst.components.eater:SetDiet({FOODGROUP.OMNI}, {FOODGROUP.OMNI_NOMEAT}) Scared of non-nightmare aggressive creatures: (I need help with this) ... Loses sanity upon killing friendly creatures: (I need a reference for this) ... Starting Items: File: gwen.lua local start_inv = { "rickidystaff", "twigs", "twigs", "twigs", "houndstooth", "nightmarefuel", "nightmarefuel", "nightmarefuel", } I will frequently update this post as I make progress on each aspect of the character. Thank you very much for reading! Gwen The Faithful.zip
  3. Hello! If you are reading this and want to help, thank you! Basically I have made a custom character with the DST extended character template, however i do not know how to code the perks i want. The perks are gain higher damage, speed, and health the lower sanity you are. And the other perk i need help with is that the character gains more stats from sleeping, but uses less hunger. Thank you for helping!
  4. One of the last few things I need fixed for my character mods are the perks. For one of the characters, I'd like her to be able to get just a bit closer to mobs before they aggro/run away. For the other, I need it to where she regains extra sanity from sleeping. In DST you can kinda choose how long to sleep rather than skipping the whole night in the vanilla game so I figure it's a little more straightforward than DS maybe? I'm not even sure where to start with these perks and any help is appreciated
  5. Good morning/day/evening, sir/madam! I'm currently making a character for DST, all artwork is done, but now I need some help with coding, more specifically: Heat and cold damage. I wanted to make that my character takes the double heat damage per second and lower heat tolerance, but no cold damage what so ever. As when the temperature drops below some point, character gaining speed and damage boost, his hunger rate is draining faster. Item. And here I have no idea what so ever even on the file hierarchy. I want to make an amulet that will be neglecting sanity drain from night (dusk one still should be there) and full darkness. (additionally if you can, give me some tutorials on character specific item creation, like how to make it what so ever I will be grateful) Thanks for the help beforehand P.S Sorry if something wasn't clear, or for my terrible grammar, English isn't native language for me. Though I will totally understand the answers, if you have questions to ask go ahead I'll try to reply ASAP. fawkes.lua
  6. i am glad that u checked this topic, i am really sorry for asking that much, Its not like i didnt even tried,no, I gave this problem some time to be confident with things what i need, so the things what i begging for : First perk: I working on Female character. Its will be cool if when she is near Male characters she gain some sanity boost, and Female and Male characters around her lose sanity. Second perk: If someone(not ghost players) is staying near her ,she is neutral to all enemies(excluding boss, bees, shadows) untill provoke them. But when there is no one around her monsters acting normal to her. Thats it.I know its alot of work ,but i found some things that could be modified to fit my expectations. Here is code from Sanji character, i dont actually know what i should change here to make people around My character lose sanity local function isMan(name) for k, v in ipairs(GLOBAL.CHARACTER_GENDERS.MALE) do if v == name then return true end end return false end AddPlayerPostInit(function(inst) if isMan(inst.prefab) then if not inst.components.sanityaura then inst:AddComponent("sanityaura") end local old = inst.components.sanityaura.aurafn inst.components.sanityaura.aurafn = function(inst, observer) local ret = 0 if old ~= nil then ret = old(inst, observer) end if observer.prefab == "mycharacter" then return GLOBAL.TUNING.SANITYAURA_SMALL + ret end return ret end end end) Here is combined things i tried, to make My character neutral if she is not alone (I used codes from different topics This one and This ) local function getplayersnumber(inst) local x,y,z = inst.Transform:GetWorldPosition() local radius = 10--change the radius to whatever you want local players = TheSim:FindEntities(x, y, z, radius, {"player"}, {"playerghost"}) --get all players in radius, but not ghosts local playercount = #players - 1 -- remove your self from the player count if playercount >= 1 then local function PassiveUntilAttack(self) if self.inst:HasTag("shadow") then return end local _SetRetargetFunction = self.SetRetargetFunction self.SetRetargetFunction = function(self, period, fn) if fn then local _fn = fn fn = function(...) local _target = _fn(...) if _target and _target.prefab == "mycharacter" then return end return _target end end return _SetRetargetFunction(self, period, fn) end end AddComponentPostInit("combat", PassiveUntilAttack) local function ChangeSuggest(inst) if inst.components.combat then local self = inst.components.combat local _SuggestTarget = self.SuggestTarget self.SuggestTarget = function(self, target) if target and target.prefab == "mycharacter" and target.components.combat.target ~= self.inst then return end return _SuggestTarget(self, target) end end end AddPrefabPostInit("hound", ChangeSuggest) AddPrefabPostInit("firehound", ChangeSuggest) AddPrefabPostInit("icehound", ChangeSuggest) end end I will appreciate any help.