Jump to content

Recommended Posts

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

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.

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 by Haruhi Kawaii
  • Health 1

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...