SpamBot0147 Posted October 12, 2025 Share Posted October 12, 2025 Hi, so Im interested in checking out how game’s generation works, and trying to generate a specific set-pieces. I saw a doc file where there were a lot of set pieces and info on them, but I didn’t save it. Does anyone know where such info can collected (besides wiki ofc), or may be you have the doc? Besides, I was kinda interested if there is something in the code. Like may be there is a function that generates a set-piece? I am new to the whole lua and dst files, so any ideas where it might be helpful to start!? TY Link to comment https://forums.kleientertainment.com/forums/topic/168398-question/ Share on other sites More sharing options...
FerniFrenito Posted October 12, 2025 Share Posted October 12, 2025 Do you mean generating terrain, like bioma or an island? Link to comment https://forums.kleientertainment.com/forums/topic/168398-question/#findComment-1839868 Share on other sites More sharing options...
SpamBot0147 Posted October 12, 2025 Author Share Posted October 12, 2025 45 minutes ago, FerniFrenito said: Do you mean generating terrain, like bioma or an island? Hmmm, I mean lets say I generate a world and then want to add a set-piece (lets say reed trap) somewhere. Here is a thing, from forums I came to conclusion that it is not possible to spawn them with a console, but during last Klei stream I saw one of the devs spawn in the new “rare” ocean chest set-piece. So I thought I might ask knowing people on forums. In case it is not possible, how could I learn to manipulate the set-piece via code. (I don’t want to use workshop mods, I would like to try it myself). Thank you. Link to comment https://forums.kleientertainment.com/forums/topic/168398-question/#findComment-1839877 Share on other sites More sharing options...
Haruhi Kawaii Posted October 13, 2025 Share Posted October 13, 2025 (edited) 7 hours ago, SpamBot0147 said: Hmmm, I mean lets say I generate a world and then want to add a set-piece (lets say reed trap) somewhere. Here is a thing, from forums I came to conclusion that it is not possible to spawn them with a console, but during last Klei stream I saw one of the devs spawn in the new “rare” ocean chest set-piece. So I thought I might ask knowing people on forums. In case it is not possible, how could I learn to manipulate the set-piece via code. (I don’t want to use workshop mods, I would like to try it myself). Thank you. You can spawn a new set piece using the following command: require "debugcommands" d_spawnlayout("tenticle_reeds") To check the list of available set pieces, go to the map directory and search for: StaticLayout.Get("map/static_layouts Edited October 13, 2025 by Haruhi Kawaii 1 Link to comment https://forums.kleientertainment.com/forums/topic/168398-question/#findComment-1839904 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now