• Content count

  • Joined

  • Last visited

 Content Type 




Klei Bug Tracker

Game Updates

Hot Lava Bug Reporter

Everything posted by renetta96

  1. I have some custom prefabs with their own animation file (the .scml file). Everything works OK, except when I try to freeze them. There is no "frozen ice" effect, only their colors are modified to light blue. I dig deeper into the code, and see this in stategraph: local function onenterthawpre(inst) if inst.components.locomotor ~= nil then inst.components.locomotor:StopMoving() end inst.AnimState:PlayAnimation("frozen_loop_pst", true) inst.SoundEmitter:PlaySound("dontstarve/common/freezethaw", "thawing") inst.AnimState:OverrideSymbol("swap_frozen", "frozen", "frozen") end However, I checked some ingame animation, there is no symbol swap_frozen. This is so magic... How can I get my custom prefab to have this frozen animation? Please help.
  2. In my experience, it's better to switch to Windows to do DST modding.
  3. For 1 and 2, just take a look at `combat` component. There should be enough events for you to handle and customize. For 3, also take a look at `combat` component. What I often do for this kind of feature is having a counter. When he hits, set it to, for example, 5. Then start a DoTaskInTime in 1 sec if this task doesn't already exist. Then in the callback, gain health and decrease counter. If counter still > 0, start another task, otherwise don't.
  4. I suspect we can't do this in DST Tried many ways many times, no solution!
  5. There are many ways to do that. You can check inventory or inventoryitem components, I don't remember, to drop the healing items instantly when she picks them up. Another way, there must be a function that do the healing, you can wrap that function to return immediately, without doing any effect.
  6. It's the one used by walrus. I give my mobs ranged attack by the same way as cave spitter: add inventory and create ranged weapon on the fly.
  7. When multiple attackers fire projectiles to an entity at the same time and cause its death, the "killed" event triggers multiple times.
  8. Winona Rework Bug

    not sure if this guy even knows what "bug" mean
  9. Extended Sample Character

    To decompile, please google ktools. And for the head, just make it bigger can you ? You can try decompile Webber or Wilson and copy the size of the head. Agree that the head of this sample character is a bit small tho.
  10. Just as the title says, when I feed Pig King with Money paw, the Pig throws golds upto the air, then the game crashes.
  11. Version 1.2.0


    OZZY THE BUZZY ------------------------- Link on steam : Stats : - Health : 175 - Sanity : 100 - Hunger : 120 Perks : - Is a bee : Yep, he is considered a bee. Spring bees will ignore him, but killer bee hives are still triggered when he comes nearby. - Has his own beehive : Ozzy starts the game with a unique beehive. This beehive will try to protect players ( unless they try to attack it or its bees ), spawn stronger bees with poison sting, and can be upgraded with honeycombs by Ozzy. - Can produce honey by eating petals : After eating certain number of petals, he will drop 1 honey. Discussion : Ozzy has low hunger and sanity, with higher hunger rate, to balance with the bees army. His beehive will try to protect players ( except Webber, he is a monster and deserves no protection ), spawn stronger bees with some abilities. The bees are kinda useful to defense the base against small and medium monsters, but still very weak against Bosses, so you should not depend on them too much. Also, like any other structures, the beehive will be taken down in 1 hit by The Bearger or Clockwork Rook. The bees are also programmed to not be controlled by The Bee Queen, cuz they are mutant bees anyway. Future works : This is my first mod, and I was inspired by the idea of "befriend with mobs and act like one of them" from Webber. There are many things I want to improve in later versions : - Add more bee-like behaviors to Ozzy, for example prefer honeyed foods, have pollinator ability, become angry like killer bee, weaker in winter, stronger and aggressive in spring, hate darkness and rain, gain bonus with petals or flower hat, etc - Add more ability to bees, for example variant attack effects based on season. Currently poison is the only attack effect. I can also change the AI, make them do more strategy. - Work more on the art. For now I'm to lazy that I borrow Wilson's arms, hands, legs and foots for Ozzy Also, if the bees and beehive have their own animation, that will be good. Currently I only make them bigger than normal and change the color a bit - Add unique speech lines, currently using Wilson's speech. - Add his own sound, such as bee buzzing, currently using Webber's sound. - Maybe a bee weapon for him. For example a blade/spear as of pokemon Beedrill. ---------------------------------------------------------------------- I made this mod based on The Extended Character Sample : Please feel free to feedback and suggest Anything you can think of a bee-like character. Thank you ! ---------------------------------------------------------------------