-
Content Count
8 -
Joined
-
Last visited
Community Reputation
0 NeutralAbout An Actual Ghoul
-
Rank
Junior Member
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
Enable-
Hi, I would like some help with creating a sanity aura for a character that I am currently making but, I think I screwed the order wrong or something. I'm not entirely the best at coding so yeah (it's gonna look a bit ugly). -- This initializes for both the server and client. Tags can be added here. local common_postinit = function(inst) -- Minimap icon inst.MiniMapEntity:SetIcon( "mizukii.tex" ) end local function OnSanityDelta(inst, data) CurrentSanity = inst.components.sanity:GetPercent() if inst.sleepingbag == nil then if CurrentSanity <= 0.15 then inst.components.sanityaura.aura = TUNING.MIZUKII_AURARATE * 0 elseif CurrentSanity <= 0.5 then inst.components.sanityaura.aura = TUNING.MIZUKII_AURARATE * 0.5 else inst.components.sanityaura.aura = TUNING.MIZUKII_AURARATE end else inst.components.sanityaura.aura = TUNING.MIZUKII_AURARATE * 2 end end -- This initializes for the server only. Components are added here. local master_postinit = function(inst) -- Set starting inventory inst.starting_inventory = start_inv[TheNet:GetServerGameMode()] or start_inv.default --Sanity Aura inst:AddComponent("sanityaura") inst.components.sanityaura.max_distsq = TUNING.MIZUKII_AURASIZE inst.components.sanityaura.aura = TUNING.MIZUKII_AURARATE inst.components.sanityaura.fallofffn = Mizukii_aurafallofffn -- choose which sounds this character will play inst.soundsname = "willow" -- Uncomment if "wathgrithr"(Wigfrid) or "webber" voice is used --inst.talker_path_override = "dontstarve_DLC001/characters/" -- Stats inst.components.health:SetMaxHealth(135) inst.components.hunger:SetMax(155) inst.components.sanity:SetMax(200) -- Damage multiplier (optional) inst.components.combat.damagemultiplier = .75 -- Hunger rate (optional) inst.components.hunger.hungerrate = 1.15 * TUNING.WILSON_HUNGER_RATE inst.OnLoad = onload inst.OnNewSpawn = onload end return MakePlayerCharacter("mizukii", prefabs, assets, common_postinit, master_postinit, prefabs) Whenever I try and test this character in-game, the game won't load at all so yeah, i definitely scrwed something up lol. Any help with this coding mess I have created would be much appreciated.
-
So, I'm not very good when it comes to making sprites on my computer since I lack most of the essentials so, I started making the sprites via emailing them to myself and doing them on ibisPaint X. I was wondering if this does in fact work because I have all of the hands, feet, and faces done for my character already. I kept the same exact size of each of the sprites imported to myself the exact same when I was drawing over them as well.
-
Hi, I am v e r y new to the modding scene and I still don't exactly know what I am doing. I followed this tutorial Don't Starve/Together custom character installation - YouTube to try and make my own character. I followed every step but, it won't let me set up a dedicated server with the mod installed. Here's a screenshot: https://steamcommunity.com/profiles/76561199088337461/screenshots/. Another thing is that every time I try and boot up the game it creates another ghost_esctemplate_build.zip in my character's anim folder and I don't know what to do to fix it. So yeah, I would like some help. I would preferably do it over a discord call with me sharing my screen or something because that's usually the best way for me to grasp an understanding of what I'm doing. I also do not have any custom sprites yet and I would like to know what the best tool or app to either trace over the parts from that video. The character that I am making btw will not have any forearms, legs, and a mouth. I'm essentially making the Auditor from Krinkles' Madness Combat series as my first character. Also, how do I add my own custom starting item with my character and can I add effects to my character? I really want to try and make or port the fire effect the character has from the animations into the game. How would that work?