Thieverpedia Posted August 30, 2015 Share Posted August 30, 2015 Alright, I've noticed a clear problem with Deerclops. The fight can go pretty well, but if we can't finish the fight, Deerclops will despawn the second it goes offscreen and out of sight of any player, returning the next day with full health. Is it too much to ask that it acts like other mobs and not despawn like that? It's a pain to teach my friend to kill it when he loses hope after it heals. Link to comment https://forums.kleientertainment.com/forums/topic/57501-stop-deerclops-from-despawning/ Share on other sites More sharing options...
UnionGaming Posted August 30, 2015 Share Posted August 30, 2015 It's to prevent lag. Although it's probably script-able to stop it happening Link to comment https://forums.kleientertainment.com/forums/topic/57501-stop-deerclops-from-despawning/#findComment-667776 Share on other sites More sharing options...
Auth Posted August 30, 2015 Share Posted August 30, 2015 Alright, I've noticed a clear problem with Deerclops. The fight can go pretty well, but if we can't finish the fight, Deerclops will despawn the second it goes offscreen and out of sight of any player, returning the next day with full health. Is it too much to ask that it acts like other mobs and not despawn like that? It's a pain to teach my friend to kill it when he loses hope after it heals. You clearly aren't doing a good enough job, then. In my world (Since I either play alone or I'm the only one brave enough to take on the behemoth) I've figured out you can win without losing ANY hp just by hitting him twice, running, then running back, hitting him twice, running, etc. Link to comment https://forums.kleientertainment.com/forums/topic/57501-stop-deerclops-from-despawning/#findComment-667849 Share on other sites More sharing options...
werlpolf Posted August 31, 2015 Share Posted August 31, 2015 1. Klei wants to let it leave after a while. The deerclops is not intending to follow you until one of you are dead. SteamLibrary\steamapps\common\Don't Starve Together Beta\data\scripts\brains\deerclopsbrain.luafunction DeerclopsBrain:OnStart() local root = PriorityNode( { AttackWall(self.inst), ChaseAndAttack(self.inst, CHASE_TIME, CHASE_DIST), DoAction(self.inst, function() return BaseDestroy(self.inst) end, "DestroyBase", true), WhileNode(function() return self.inst:WantsToLeave() end, "Trying To Leave", Wander(self.inst, GetHomePos, 30)), Wander(self.inst, GetWanderPos, 30, {minwwwalktime = 10}), },1) self.bt = BT(self.inst, root)endI am not sure, how the deerclops will be removed from the world, but I guess the following:- the wandering code will be executed- when he reaches his destination (around his spawning) and waits there around 1 second (not sure about that), he will put to sleep- this will trigger an event, which make him to be removed from the world. see below code SteamLibrary\steamapps\common\Don't Starve Together Beta\data\scripts\prefabs\deerclops.lualocal function OnEntitySleep(inst) if inst:WantsToLeave() then inst.structuresDestroyed = 0 -- reset this for the stored version TheWorld:PushEvent("storehassler", inst) inst:Remove() endendWhen he gets removed, the following method will be triggered. There it will be decided, that the giant reappears in around 3.75 days. SteamLibrary\steamapps\common\Don't Starve Together Beta\data\scripts\components\deerclopsspawner.lualocal function TryStartAttacks(killed) if AllowedToAttack() then if _activehassler == nil and _attacksperwinter > 0 and _timetoattack == nil then -- Shorten the time used for winter to account for the time deerclops spends stomping around -- Then add one to _attacksperwinter to shift the attacks so the last attack isn't right when the season changes to spring local attackdelay = (TheWorld.state.winterlength - 1) * TUNING.TOTAL_DAY_TIME / (_attacksperwinter + 1) if killed == true then attackdelay = attackdelay * HASSLER_KILLED_DELAY_MULT end2. Thing is, the SAME giant, as long it didn't got killed, will appear with the same amount of health. This I also experienced by myself. Therefore, you don't need to worry losing him. On the first winter he will appear twice. Link to comment https://forums.kleientertainment.com/forums/topic/57501-stop-deerclops-from-despawning/#findComment-668182 Share on other sites More sharing options...
Thieverpedia Posted September 2, 2015 Author Share Posted September 2, 2015 You clearly aren't doing a good enough job, then. In my world (Since I either play alone or I'm the only one brave enough to take on the behemoth) I've figured out you can win without losing ANY hp just by hitting him twice, running, then running back, hitting him twice, running, etc.I already know about kiting. The problem is sanity in the long run. I main Webber, you see, and sanity is an issue at times, particularly when I play with a noob that wastes nice green caps. I can kite a Deerclops, but can I do that AND tank a terrorbeak? Link to comment https://forums.kleientertainment.com/forums/topic/57501-stop-deerclops-from-despawning/#findComment-668769 Share on other sites More sharing options...
Auth Posted September 2, 2015 Share Posted September 2, 2015 I already know about kiting. The problem is sanity in the long run. I main Webber, you see, and sanity is an issue at times, particularly when I play with a noob that wastes nice green caps. I can kite a Deerclops, but can I do that AND tank a terrorbeak? Yes they're also easy to kite, just practice. Link to comment https://forums.kleientertainment.com/forums/topic/57501-stop-deerclops-from-despawning/#findComment-668782 Share on other sites More sharing options...
SaberYourNeighbour Posted September 3, 2015 Share Posted September 3, 2015 I already know about kiting. The problem is sanity in the long run. I main Webber, you see, and sanity is an issue at times, particularly when I play with a noob that wastes nice green caps. I can kite a Deerclops, but can I do that AND tank a terrorbeak?uhhh.........that is one of the greater challenges of the game...figure it out buddy. Link to comment https://forums.kleientertainment.com/forums/topic/57501-stop-deerclops-from-despawning/#findComment-668979 Share on other sites More sharing options...
LeadenStik Posted September 16, 2015 Share Posted September 16, 2015 Jerkies all the way. The trick is to come prepared with plenty of jerkies. Link to comment https://forums.kleientertainment.com/forums/topic/57501-stop-deerclops-from-despawning/#findComment-673189 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.