Luis95R Posted October 26, 2016 Share Posted October 26, 2016 Hi I was wondering if there's a way to turn off disease and grass gekkos without starting a new world? Ever since Klei released the A New Reign update into the game, I noticed disease was turned on and gekkos too. Is there anyway to turn them off mid-game? Thanks. Link to comment https://forums.kleientertainment.com/forums/topic/71174-how-to-turn-off-disease-and-grass-gekkos/ Share on other sites More sharing options...
Botaxalim Posted October 27, 2016 Share Posted October 27, 2016 You cant change mid game as far as i know Link to comment https://forums.kleientertainment.com/forums/topic/71174-how-to-turn-off-disease-and-grass-gekkos/#findComment-829815 Share on other sites More sharing options...
Sinister_Fang Posted October 27, 2016 Share Posted October 27, 2016 9 minutes ago, Botaxalim said: You cant change mid game as far as i know I wouldn't be so quick to dismiss this. Honestly, I'd be more surprised if there wasn't a way to change disease and grass geckos after a world was made. I'm just waiting for a developer or one of the many other lua wizards here to chime in on this. Link to comment https://forums.kleientertainment.com/forums/topic/71174-how-to-turn-off-disease-and-grass-gekkos/#findComment-829819 Share on other sites More sharing options...
Mananu Posted October 27, 2016 Share Posted October 27, 2016 I hope they will add some sort of alchemy desk where you can create potions for curing the disease from plants. The grass gekkos are useful because you will not have to bother anymore for picking grass, you will only have to scare them and boom, you got your grass. Link to comment https://forums.kleientertainment.com/forums/topic/71174-how-to-turn-off-disease-and-grass-gekkos/#findComment-829930 Share on other sites More sharing options...
Luis95R Posted October 27, 2016 Author Share Posted October 27, 2016 7 hours ago, Sinister_Fang said: I wouldn't be so quick to dismiss this. Honestly, I'd be more surprised if there wasn't a way to change disease and grass geckos after a world was made. I'm just waiting for a developer or one of the many other lua wizards here to chime in on this. Same here, I really wish there was a solution to this. I don't want to start up a new world just so I can get rid of disease because Klei's recent update made my world which had disease turned off, have it. Link to comment https://forums.kleientertainment.com/forums/topic/71174-how-to-turn-off-disease-and-grass-gekkos/#findComment-829934 Share on other sites More sharing options...
mrxarous Posted October 27, 2016 Share Posted October 27, 2016 I recently messaged Mobbstar about modding the grass gekko out and he said the easiest way is just to select the newly spawned gekko and use:Â AddPrefabPostInit("gecko",function(inst) inst:Remove() end) Â You could try to add a mod in that has a disease cure or prevention and use that. Similar to this:Â http://steamcommunity.com/sharedfiles/filedetails/?id=681762611 Link to comment https://forums.kleientertainment.com/forums/topic/71174-how-to-turn-off-disease-and-grass-gekkos/#findComment-830082 Share on other sites More sharing options...
Luis95R Posted October 28, 2016 Author Share Posted October 28, 2016 Thank you mrxarous. Also that mod is currently not working and causes a crash still so hopefully someone who knows how to stop disease mid-game can provide us with a solution. Link to comment https://forums.kleientertainment.com/forums/topic/71174-how-to-turn-off-disease-and-grass-gekkos/#findComment-830549 Share on other sites More sharing options...
CaptainChaotica Posted October 29, 2016 Share Posted October 29, 2016 I can understand why you'd want to turn off the disease, but why the geckos? They harm nothing and are a source of grass during the non-growing winter and the withered summer (and are adorable). In fact, I just barely had a winter where I had to travel over to them every couple days for grass. Without those guys I wouldn't have had rope for replacement log suits and spears when the hounds attacked. But, it's your game. (shrug) ...Notorious Link to comment https://forums.kleientertainment.com/forums/topic/71174-how-to-turn-off-disease-and-grass-gekkos/#findComment-830602 Share on other sites More sharing options...
Luis95R Posted October 29, 2016 Author Share Posted October 29, 2016 32 minutes ago, CaptainChaotica said: I can understand why you'd want to turn off the disease, but why the geckos? They harm nothing and are a source of grass during the non-growing winter and the withered summer (and are adorable). In fact, I just barely had a winter where I had to travel over to them every couple days for grass. Without those guys I wouldn't have had rope for replacement log suits and spears when the hounds attacked. But, it's your game. (shrug) ...Notorious I personally find them annoying, and I don't need more entities in the game on my 15 slot dedicated server that usually full. Also there's always grass everywhere on the floor. I'd rather pick my own grass with the mod Quick Pick on. Link to comment https://forums.kleientertainment.com/forums/topic/71174-how-to-turn-off-disease-and-grass-gekkos/#findComment-830616 Share on other sites More sharing options...
Luis95R Posted October 31, 2016 Author Share Posted October 31, 2016 On 10/27/2016 at 11:58 AM, mrxarous said: I recently messaged Mobbstar about modding the grass gekko out and he said the easiest way is just to select the newly spawned gekko and use:Â AddPrefabPostInit("gecko",function(inst) inst:Remove() end) Â You could try to add a mod in that has a disease cure or prevention and use that. Similar to this:Â http://steamcommunity.com/sharedfiles/filedetails/?id=681762611 I forgot to tell you that, that command doesn't work and that the Disease B Gone mod causes a crash right now. Link to comment https://forums.kleientertainment.com/forums/topic/71174-how-to-turn-off-disease-and-grass-gekkos/#findComment-831603 Share on other sites More sharing options...
Lumina Posted October 31, 2016 Share Posted October 31, 2016 http://dontstarve.wikia.com/wiki/Console/Don't_Starve_Together_Commands  Deleting item under mouse (if you are hosting the game) : TheInput:GetWorldEntityUnderMouse():Remove() In you are on a dedicated server (your case no ?)  c_select() c_sel():Remove() Put your mouse on the grass gecko, enter the command. Link to comment https://forums.kleientertainment.com/forums/topic/71174-how-to-turn-off-disease-and-grass-gekkos/#findComment-831607 Share on other sites More sharing options...
Sinister_Fang Posted October 31, 2016 Share Posted October 31, 2016 11 minutes ago, Lumina said: http://dontstarve.wikia.com/wiki/Console/Don't_Starve_Together_Commands  Deleting item under mouse (if you are hosting the game) : TheInput:GetWorldEntityUnderMouse():Remove() In you are on a dedicated server (your case no ?)  c_select() c_sel():Remove() Put your mouse on the grass gecko, enter the command. This only solves half of the problem though. Grass geckos will still pop up and cause them to need to replace the grass. Link to comment https://forums.kleientertainment.com/forums/topic/71174-how-to-turn-off-disease-and-grass-gekkos/#findComment-831613 Share on other sites More sharing options...
Lumina Posted October 31, 2016 Share Posted October 31, 2016 8 minutes ago, Sinister_Fang said: This only solves half of the problem though. Grass geckos will still pop up and cause them to need to replace the grass. Yeah, but the last post was "that command doesn't work", and all i can do is giving the correct command. I can't solve the others issues, and don't know if it's possible. Link to comment https://forums.kleientertainment.com/forums/topic/71174-how-to-turn-off-disease-and-grass-gekkos/#findComment-831615 Share on other sites More sharing options...
Luis95R Posted November 5, 2016 Author Share Posted November 5, 2016 BUMP Has anyone found a solution to turning off Geckos and Disease mid game? Link to comment https://forums.kleientertainment.com/forums/topic/71174-how-to-turn-off-disease-and-grass-gekkos/#findComment-833489 Share on other sites More sharing options...
DarkXero Posted November 5, 2016 Share Posted November 5, 2016 local modmastersim = GLOBAL.TheNet:GetIsMasterSimulation() local SpawnPrefab = GLOBAL.SpawnPrefab local TUNING = GLOBAL.TUNING -- no more grass morphing TUNING.GRASSGEKKO_MORPH_CHANCE = 0 -- no more disease appearing TUNING.DISEASE_CHANCE = 0 TUNING.DISEASE_DELAY_TIME = 0 TUNING.DISEASE_DELAY_TIME_VARIANCE = 0 if modmastersim then -- gekkos into grass local function TurnIntoGrass(inst) local x, y, z = inst.Transform:GetWorldPosition() local grass = SpawnPrefab("grass") grass.Transform:SetPosition(x, y, z) inst:Remove() end local function DelaySwap(inst) inst:DoTaskInTime(0, TurnIntoGrass) end AddPrefabPostInit("grassgekko", DelaySwap) -- cure stuff if there is something diseased local function TurnIntoNormal(inst) local x, y, z = inst.Transform:GetWorldPosition() local normal = SpawnPrefab(inst.prefab) normal.Transform:SetPosition(x, y, z) inst:Remove() end local function DelayCure(self) if self:IsDiseased() or self:IsBecomingDiseased() then self.inst:DoTaskInTime(0, TurnIntoNormal) end end AddComponentPostInit("diseaseable", DelayCure) end  Link to comment https://forums.kleientertainment.com/forums/topic/71174-how-to-turn-off-disease-and-grass-gekkos/#findComment-833535 Share on other sites More sharing options...
Luis95R Posted November 5, 2016 Author Share Posted November 5, 2016 4 minutes ago, DarkXero said: local modmastersim = GLOBAL.TheNet:GetIsMasterSimulation() local SpawnPrefab = GLOBAL.SpawnPrefab local TUNING = GLOBAL.TUNING -- no more grass morphing TUNING.GRASSGEKKO_MORPH_CHANCE = 0 -- no more disease appearing TUNING.DISEASE_CHANCE = 2 TUNING.DISEASE_DELAY_TIME = 0 if modmastersim then -- gekkos into grass local function TurnIntoGrass(inst) local x, y, z = inst.Transform:GetWorldPosition() local grass = SpawnPrefab("grass") grass.Transform:SetPosition(x, y, z) inst:Remove() end local function DelaySwap(inst) inst:DoTaskInTime(0, TurnIntoGrass) end AddPrefabPostInit("grassgekko", DelaySwap) -- cure stuff if there is something diseased local function TurnIntoNormal(inst) local x, y, z = inst.Transform:GetWorldPosition() local normal = SpawnPrefab(inst.prefab) normal.Transform:SetPosition(x, y, z) inst:Remove() end local function DelayCure(self) if self:IsDiseased() or self:IsBecomingDiseased() then self.inst:DoTaskInTime(0, TurnIntoNormal) end end AddComponentPostInit("diseaseable", DelayCure) end  Would that go into the Modmain of a mod? Link to comment https://forums.kleientertainment.com/forums/topic/71174-how-to-turn-off-disease-and-grass-gekkos/#findComment-833539 Share on other sites More sharing options...
DarkXero Posted November 5, 2016 Share Posted November 5, 2016 Just now, Luis95R said: Would that go into the Modmain of a mod? Yes. Link to comment https://forums.kleientertainment.com/forums/topic/71174-how-to-turn-off-disease-and-grass-gekkos/#findComment-833541 Share on other sites More sharing options...
Luis95R Posted November 5, 2016 Author Share Posted November 5, 2016 Thank you!!! Â It was driving everyone on my server nuts, having disease and geckos taking over the world is annoying. They didn't want a new world so this was the solution I was looking for. You're amazing! Link to comment https://forums.kleientertainment.com/forums/topic/71174-how-to-turn-off-disease-and-grass-gekkos/#findComment-833543 Share on other sites More sharing options...
Luis95R Posted November 5, 2016 Author Share Posted November 5, 2016 6 minutes ago, DarkXero said: Yes. Sorry one last thing. Is the following correct, or does it need to be TUNING.DISEASE_CHANCE = 0, so that disease never happens? TUNING.DISEASE_CHANCE = 2 Link to comment https://forums.kleientertainment.com/forums/topic/71174-how-to-turn-off-disease-and-grass-gekkos/#findComment-833547 Share on other sites More sharing options...
DarkXero Posted November 5, 2016 Share Posted November 5, 2016 2 minutes ago, Luis95R said: Sorry one last thing. Is the following correct, or does it need to be TUNING.DISEASE_CHANCE = 0, so that disease never happens? Whoops, yes, I was typing something else. Link to comment https://forums.kleientertainment.com/forums/topic/71174-how-to-turn-off-disease-and-grass-gekkos/#findComment-833550 Share on other sites More sharing options...
Luis95R Posted November 5, 2016 Author Share Posted November 5, 2016 Just now, DarkXero said: Whoops, yes, I was typing something else. Okay thanks. Link to comment https://forums.kleientertainment.com/forums/topic/71174-how-to-turn-off-disease-and-grass-gekkos/#findComment-833552 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.