• Content count

  • Joined

  • Last visited

Community Reputation

38 Excellent

About Lokoluna

  • Rank
  1. Custom Attack speed,

    Ah okay.. Quiet different changes but. I see.. Thank you, I appreciate you helping me, I do appreciate it..
  2. Custom Attack speed,

    My weapon prefab name is AAATool, the weapon is only weildable by my character so all characters is fine, I'd like it to be 50% faster than a normal attacking weapon. Well I didn't get any crashes, How would I go about defining them, I thought i was doing fine but I guess not.
  3. Custom Attack speed,

    No.. I can't really figure it out. AddStategraphPostInit("wilson", function(sg) local _attack = sg.states["attack"] local _onenter = _attack.onenter _attack.onenter = function(inst,...) _onenter(inst,...)--"call the original" if inst.prefab == "AAATool" then local hand = inst.components.inventory:GetEquippedItem(AAATool) --swapped to the prefab name, nad name in game. local speed = TUNING.AAATOOL.PUNCH.SPEED--"3" if (hand == nil or hand:HasTag("punch") or hand:HasTag("AAATool")) then --Added a tag, to maybe make it work? Failed. inst.sg:SetTimeout(inst.sg.timeout/speed)--"overide the timeout" inst.AnimState:SetDeltaTimeMultiplier(speed) for k, v in pairs(_attack.timeline) do--"overide the timeline" v.time = v.time/speed end end end return end local _onexit = _attack.onexit _attack.onexit = function(inst,...) if inst.prefab == "AAAku" then --Character Prefab, Not sure if this would go here or not, tried both the Tool and the character. inst.AnimState:SetDeltaTimeMultiplier(1) end return _onexit(inst,...) end end) I've tried messing around but.. It doesn't seem to make a difference.
  4. Custom Attack speed,

    I getcha, sort of. but, hey won't know till I knock it I suppose, thanks, Ill reply later after results.
  5. Custom Attack speed,

    So this is just an example? As this won't really do anything without all the states being called, and the timeline, and etc, yes? I really only want to gain attack speed from using one weapon, which is a custom weapon.
  6. Custom Attack speed,

    Seems why no one has it anywhere.
  7. Custom Attack speed,

    Well if making the animations faster makes the attacks go out faster, than yes.. I suppose so.
  8. Hey there. I've been trying to figure out a way to increase attack speed, for both a duration, and for eternity for custom characters, at the moment, I want to add my own addition as a potion of some sorts that increases attack speed, though most of the code listen around the forums, (setattackperiod, or setminimumattackperiod etc) have not seemed to work. Any help would be appreciated in pointing me in the right direction! Those above by the way only work for slowing down weapons. In no way can you raise it.
  9. Are there any character specific only outfits besides the heads? I want to buy some cosmetics for my custom character and just the other characters.. But i don't want to buy them if they're character specific.
  10. So after day 41 i've finally decided to go into the caves, but.. turns out my caves, are actually the surface? I'm not sure what caused this or why it happened the first and last picture are the same area, but the map is completely covered and a little bit darker. (might just be dusk) when i went back ot the area i entered, there was a plugged sinkhole, and i popped somewhere else on the map entirely.
  11. Hey Darkxero, your really good at modding and i just need some advice, in the right direction or help in general for something i'm sure the community has been looking for, it's not on any mods sites and I haven't seen that it actually exists, but the player badges players get, i was wondering if there would be a way to modify it to target specifically and only bosses, and some certain enemies that get spawned out of no where. (Tree guard, Krampus etc.) 

    C:\Program Files (x86)\Steam\SteamApps\common\Don't Starve Together\data\scripts\widgets It's called playerbadge.lua, I've looked into it, but i have no idea where to start, mind pointing me on where i should start/assist me?

    1. DarkXero


      It's not a trivial task at all.

      For reference, Rezecib's Global Positions mod does this for campfires.

    2. Lokoluna


      I see how it sort of sets indicators for the fires.. But it doesn't directly .. or im to dim to see if blankly i'm trying to focus but i can't seem to see waht exactly makes the fire give a indicator?