Wazowskyy Posted May 27, 2022 Share Posted May 27, 2022 Hello guys, i have my world with over 300 days. However no tallbird fort has spawned. I do have a mod that can spawn in when generating the world but i need it to spawn in already created world at certain location. Im sure it is possible to spawn it via command. Is here any guy who knows something about codding and would be able to put such command together ? I would be very greateful for that. Thanks for replies. Link to comment https://forums.kleientertainment.com/forums/topic/140508-tallbird-fort-spawn-command/ Share on other sites More sharing options...
Eughstein Posted May 27, 2022 Share Posted May 27, 2022 I mean, theoretically i think it's possible but, why would you need it? Link to comment https://forums.kleientertainment.com/forums/topic/140508-tallbird-fort-spawn-command/#findComment-1573330 Share on other sites More sharing options...
Wazowskyy Posted May 27, 2022 Author Share Posted May 27, 2022 Just for my own pleasure, i want to make a farm Just killed ancient fuelweaver and soon i will have nothing else to do Link to comment https://forums.kleientertainment.com/forums/topic/140508-tallbird-fort-spawn-command/#findComment-1573337 Share on other sites More sharing options...
hhh2 Posted May 27, 2022 Share Posted May 27, 2022 it's not possible. Well, there aren't any functions that can do that post world generation. Link to comment https://forums.kleientertainment.com/forums/topic/140508-tallbird-fort-spawn-command/#findComment-1573347 Share on other sites More sharing options...
Wazowskyy Posted May 27, 2022 Author Share Posted May 27, 2022 What if u make a long command where u specify where exactly u want certain things to spawn ? Link to comment https://forums.kleientertainment.com/forums/topic/140508-tallbird-fort-spawn-command/#findComment-1573358 Share on other sites More sharing options...
kuroite Posted May 27, 2022 Share Posted May 27, 2022 c_spawn("tallbirdnest") doesnt work ? Link to comment https://forums.kleientertainment.com/forums/topic/140508-tallbird-fort-spawn-command/#findComment-1573365 Share on other sites More sharing options...
Wazowskyy Posted May 27, 2022 Author Share Posted May 27, 2022 That works for sure but i would have to do it manually for every single one. Lets see if someone finds the solution, if not. I will have to do it this way Link to comment https://forums.kleientertainment.com/forums/topic/140508-tallbird-fort-spawn-command/#findComment-1573373 Share on other sites More sharing options...
hhh2 Posted May 27, 2022 Share Posted May 27, 2022 The only way i could see this working is if you parse the information in the tallbird fort layout file and spawn it like that. Also this thread should be moved to the tools and modding section of the DST fourms Link to comment https://forums.kleientertainment.com/forums/topic/140508-tallbird-fort-spawn-command/#findComment-1573374 Share on other sites More sharing options...
Fornax Posted May 27, 2022 Share Posted May 27, 2022 It is possible, I know this command from @fall211: sp="tallbird_rocks" angle=0 s=16 is=256 ca=angle/180.*math.pi cc=math.cos(ca) cs=math.sin(ca) pos=ThePlayer:GetPosition() rt=require("map/static_layouts/"..sp) for k,v in pairs(rt.layers[2].objects) do dx=(v.x-is)/s dz=(v.y-is)/s x=cc*dx+cs*dz z=-cs*dx+cc*dz u=SpawnPrefab(v.type) u.Transform:SetPosition(pos.x+x,0,pos.z+z) end Link to comment https://forums.kleientertainment.com/forums/topic/140508-tallbird-fort-spawn-command/#findComment-1573387 Share on other sites More sharing options...
Wazowskyy Posted May 27, 2022 Author Share Posted May 27, 2022 U are legend guys, i tried to search everywhere and coundt find anything. Just tried that command on my test world and works just fine. Many thanks to both of u <3 Link to comment https://forums.kleientertainment.com/forums/topic/140508-tallbird-fort-spawn-command/#findComment-1573393 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.