CammoAmmo Posted December 28, 2016 Share Posted December 28, 2016 I am creating a pen with twiggy trees and grass gekkos inside, so that if one wants to collect twigs and grass they can just go in and press spacebar. Yes this is probably inefficient but I'd like to make it, but I've got lots of questions about how twiggy trees and grass gekkos work. First of all, how do twiggy trees drop twigs? Is it that every time they grow they check to see if there is room around them to drop one? Or is it just a random chance to drop some? If a grass gekko is too close while it is growing to a new phase, will that stop it from dropping a twig? Additionally, what is the minimum distance other trees have to be to make sure that it will drop a twig? As for the gekkos, will grass turn into gekkos if there is already a herd in that area? Thank you if you know the answer to any of these questions! Link to comment https://forums.kleientertainment.com/forums/topic/72903-behaviour-of-twiggy-trees-and-grass-gekkos/ Share on other sites More sharing options...
HutGenerator Posted December 28, 2016 Share Posted December 28, 2016 I am not sure about twiggy tree. But as for grass gecko, grass will not turn into grass gecko if there is an exsisting herd, which consists of 6 gecko, is nearby. And again, I'm not sure the exact distance it check for it. So imo, if you want a herd of geckos that consist of around 20+ units, just spawn 6 by 6 in different areas and then chase them into one pen. Unfortunately, I never seen a twiggy tree spawned in my world before :/ Link to comment https://forums.kleientertainment.com/forums/topic/72903-behaviour-of-twiggy-trees-and-grass-gekkos/#findComment-853512 Share on other sites More sharing options...
CammoAmmo Posted December 28, 2016 Author Share Posted December 28, 2016 Great, thanks! Ill just try to spawn them a bit of a distance away to be sure. Link to comment https://forums.kleientertainment.com/forums/topic/72903-behaviour-of-twiggy-trees-and-grass-gekkos/#findComment-853520 Share on other sites More sharing options...
Kzisor Posted December 28, 2016 Share Posted December 28, 2016 Twiggy Trees drop 1 twig every time they go into a small tree. I don't know if its unlimited or not. Link to comment https://forums.kleientertainment.com/forums/topic/72903-behaviour-of-twiggy-trees-and-grass-gekkos/#findComment-853539 Share on other sites More sharing options...
mochilo Posted December 28, 2016 Share Posted December 28, 2016 I think twigy trees will keep dropping twigs every time it restart the growing process no matter what there is on the ground Link to comment https://forums.kleientertainment.com/forums/topic/72903-behaviour-of-twiggy-trees-and-grass-gekkos/#findComment-853545 Share on other sites More sharing options...
GuyNamedChris Posted December 28, 2016 Share Posted December 28, 2016 I'm pretty sure it's an X% chance for twiggy trees to drop a twig every time it changes growth state? Link to comment https://forums.kleientertainment.com/forums/topic/72903-behaviour-of-twiggy-trees-and-grass-gekkos/#findComment-853547 Share on other sites More sharing options...
Kzisor Posted December 28, 2016 Share Posted December 28, 2016 Per the Twiggy Tree code: local function DoRebirthLoot(inst) local rebirth_loot = GetBuild(inst).rebirth_loot if rebirth_loot ~= nil then local x,y,z = inst.Transform:GetWorldPosition() local ents = TheSim:FindEntities(x,y,z, 8) local numloot = 0 for i,ent in ipairs(ents) do if ent.prefab == rebirth_loot.loot then numloot = numloot + 1 end end local prob = 1-(numloot/rebirth_loot.max) if math.random() < prob then inst:DoTaskInTime(17*FRAMES, function() inst.components.lootdropper:SpawnLootPrefab(rebirth_loot.loot) end) end inst._lastrebirth = GetTime() end end Maximum loot to be dropped within 8 pixels of the tree is 2. On 'rebirth', going from dead to short form, search area around tree. Determine the probability of which it can drop (1 minus number of loots around divided by maximum number of loot allowed), if random percentage is below probability then spawn loot. I know this math is actually broken as I've seen more twigs near twiggy trees, so I think something is actually broken with the math. Link to comment https://forums.kleientertainment.com/forums/topic/72903-behaviour-of-twiggy-trees-and-grass-gekkos/#findComment-853551 Share on other sites More sharing options...
HutGenerator Posted December 28, 2016 Share Posted December 28, 2016 Can anyone tell me how to spawn twiggy tree naturally? I know geckos can be spawned by harvesting normal grass turf. I just cant find any twiggy tree in my world Link to comment https://forums.kleientertainment.com/forums/topic/72903-behaviour-of-twiggy-trees-and-grass-gekkos/#findComment-853552 Share on other sites More sharing options...
Electroely Posted December 28, 2016 Share Posted December 28, 2016 40 minutes ago, HutGenerator said: Can anyone tell me how to spawn twiggy tree naturally? I know geckos can be spawned by harvesting normal grass turf. I just cant find any twiggy tree in my world Just wait. They have their ways of overpopulating themselves. You'll be seeing a ton by winter. Even on a world without twiggy trees. Link to comment https://forums.kleientertainment.com/forums/topic/72903-behaviour-of-twiggy-trees-and-grass-gekkos/#findComment-853565 Share on other sites More sharing options...
CammoAmmo Posted December 28, 2016 Author Share Posted December 28, 2016 Thank you @Kzisor & @HutGenerator! This forum has so many great members helping out Looks like I might need to separate the twiggy trees and grass gekkos a bit. Link to comment https://forums.kleientertainment.com/forums/topic/72903-behaviour-of-twiggy-trees-and-grass-gekkos/#findComment-853579 Share on other sites More sharing options...
HutGenerator Posted December 28, 2016 Share Posted December 28, 2016 45 minutes ago, Electroely said: Just wait. They have their ways of overpopulating themselves. You'll be seeing a ton by winter. Even on a world without twiggy trees. I have been waiting for around 100~200 days.. but just couldn't find it. By the way, my world is generated before ANR beta release. Even way back before disease is a thing. Do I need to harvest twigs to trigger the event? As I know for gecko is yes. Link to comment https://forums.kleientertainment.com/forums/topic/72903-behaviour-of-twiggy-trees-and-grass-gekkos/#findComment-853580 Share on other sites More sharing options...
Electroely Posted December 28, 2016 Share Posted December 28, 2016 7 hours ago, HutGenerator said: I have been waiting for around 100~200 days.. but just couldn't find it. By the way, my world is generated before ANR beta release. Even way back before disease is a thing. Do I need to harvest twigs to trigger the event? As I know for gecko is yes. I dunno, maybe you need a new world. Every SINGLE world I've been in after ANR has so many twiggy trees I see them literally everywhere they can grow. I even see baby twiggy trees by day 3. Harvesting twigs doesn't have anything to do with Twiggy trees growing. Link to comment https://forums.kleientertainment.com/forums/topic/72903-behaviour-of-twiggy-trees-and-grass-gekkos/#findComment-853650 Share on other sites More sharing options...
pofil Posted December 28, 2016 Share Posted December 28, 2016 To be honest with you, no matter what I do, I can't get a decent harvest of twigs from our twiggy trees. So I can't say you are missing much. Grass geccos are nice for late game, just build a pen near a place you pass by on the regular and you will get all the grass you need without having to harvest. The trees need soooo much space though, and I've never been able to get the effect of a half flingomatic range of saplings. If they don't spawn naturally, and you really want them, just spawn a few with console and cut them down when tier 3, they will drop 2 pinecones for you to plant. I have a pre-beta world as well, and I had all kinds of problems with it. Beequeen didn't spawn naturally. toadstool keeps appearing always at the same spawner although there are 4 of them (not that I'm complaining), our no disease settings poofed and we nearly lost all of our saplings... And most recently when the Klaus sack appeared I was like "Yay a new boss which I won't have to console in to fight", however we didn't have the antlers at that time. It was then winter and the deers had'nt spawned since the update was just introduced. Now it's mid autumn, no eyed deers still haven't spawned in our world to this moment. Not only that, but the Klaus sack just disappeared. We searched for both the deers and the sack and they aren't there. Used both old school world exploring and the console. Nada.. I'm just waiting for the beta to be over so I can generate a new world at this point. Link to comment https://forums.kleientertainment.com/forums/topic/72903-behaviour-of-twiggy-trees-and-grass-gekkos/#findComment-853654 Share on other sites More sharing options...
HutGenerator Posted December 28, 2016 Share Posted December 28, 2016 4 hours ago, pofil said: Now it's mid autumn, no eyed deers still haven't spawned in our world to this moment. I have to wait for 3 seasons of autumn for no eye deer to spawn. its weird, i think you need to spend more time wandering around deciduous forest during autumn. Mine spawned suddenly in front of me while I was just walking. 4 hours ago, pofil said: To be honest with you, no matter what I do, I can't get a decent harvest of twigs from our twiggy trees. So I can't say you are missing much. I need them for decorations . I know saplings are better version, but you know, twiggy trees is special, is another different thing to make your world beautiful xD. Link to comment https://forums.kleientertainment.com/forums/topic/72903-behaviour-of-twiggy-trees-and-grass-gekkos/#findComment-853727 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.