• Content Count

  • Joined

  • Last visited

Community Reputation

3 Neutral


  • Rank
    Junior Member

Recent Profile Visitors

1416 profile views
  1. 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.
  2. Iam REALLY SORRY SORRY SORRY. unforgiving. Sorry i never check my mod on Klei, only in Steamworkshop Sorry for TOOOOOOO late reply. On start i was wondering about what sound shoud i choose for Tomoka but i didnt found anything cool, so there is coming voice of original character XD Ou and if ucan help me with it maybe i can do something ;D Cause u know: i bad at drawing , bad at sounds ,bad at codding,bad in English ;D
  3. Version 1.1


    Mod for Don't Starve Together: An awesome schoolgirl Tomoka. Characteristics: health - 100 hunger - 125 sanity - 100 her base damage is 0.8 of Wilson's She can regenerate her 'sanity' by standing near fashinable boys. Also she lose sanity at the day time. (this mod not quite stable at the moment) Be aware, her voice right now just a bunch of random japanese words sorry if you are somehow offended by it Also thanks to people behind Watamote and to the person who painted chibi Tomoko for the big portrait cause i just traced over it