Hi! I was wondering how to create the object available to be bought on the flea market which came with the city living. I couldn't find anything about that. If I copy the object which appears there by default and then change the mesh and/or texture, will it appear then? Or maybe only recolors can work? I'm sorry for my English, I know it isn't good, but I hope my question is understandable enough.
Hey. A quick search over the flea market files reveals that the game uses the generic spawners that spawn anything else at any of the festivals. This means that the furniture that shows up is predefined, which is a shame as I hoped it would have been based on tags, extending the value of that festival a lot.
There are around 180 spawner files responsible for spawning the furniture you can purchase, but you only would want to focus on the spawning objects. These are four examples that I could easily find, there could be more of them.
These contain lists of objects that will be spawned. The spawner itself is an object, with a spawning component, that selects a random spawning tuning file and creates the object to sell. To do this, you would need to clone a SpawnerTuning file from the flea market, change the ID inside of it to your object, and then add it to one of these lists. You can do it either via hard tuning overrides or via a python script.
I'm sorry if you're expecting a detailed explanation on how to do it, that would take some time to go over. You can do all of this in S4S, making a hard tuning override. It would conflict with any other mod that does this as well though, so remember that.
Comments
There are around 180 spawner files responsible for spawning the furniture you can purchase, but you only would want to focus on the spawning objects. These are four examples that I could easily find, there could be more of them.
These contain lists of objects that will be spawned. The spawner itself is an object, with a spawning component, that selects a random spawning tuning file and creates the object to sell. To do this, you would need to clone a SpawnerTuning file from the flea market, change the ID inside of it to your object, and then add it to one of these lists. You can do it either via hard tuning overrides or via a python script.
I'm sorry if you're expecting a detailed explanation on how to do it, that would take some time to go over. You can do all of this in S4S, making a hard tuning override. It would conflict with any other mod that does this as well though, so remember that.