franksouza183 Posted March 15, 2019 Share Posted March 15, 2019 So, I've made a model in blender, imported to unity and exported to .unity3d file. I just can not create paintable models, I've already assigned the "shape" property to "New" in xml, but when I do, the template becomes invisible in the game, what am I doing wrong? How this is supposed to work? Link to comment Share on other sites More sharing options...
Guppycur Posted March 15, 2019 Share Posted March 15, 2019 The way the game is set up you can only paint the code generated shapes that tfp has made. No models with mesh as yet I'm afraid. It's why you can't paint doors and workbenches. You can however, usually tint them. But if you want a texture on a new block you must do it in unity. Link to comment Share on other sites More sharing options...
franksouza183 Posted March 15, 2019 Author Share Posted March 15, 2019 Thanks. Aside that, do you know if multiple prefabs in .unity3d file can share the same texture in the memory and in game? As you can see, my concern is about low memory consumption, that's why I like the idea of paintable models. Link to comment Share on other sites More sharing options...
Guppycur Posted March 15, 2019 Share Posted March 15, 2019 Yep. When you package them into the unity3d file it'll only (or should) package the single material even if multiple models use it. Link to comment Share on other sites More sharing options...
n2n1 Posted March 15, 2019 Share Posted March 15, 2019 Yes, unfortunately these blocks consist of separate planes. It's not a complete mesh. They are designated specifically for painting from different sides. Link to comment Share on other sites More sharing options...
franksouza183 Posted March 15, 2019 Author Share Posted March 15, 2019 Yes, unfortunately these blocks consist of separate planes. It's not a complete mesh. They are designated specifically for painting from different sides. I also imagined this, which was made up of several separate meshes. This is certainly inconvenient for productivity, since we would need to create the same block for several different textures, not to mention the probability of editing some mesh, we'll need to edit all that use the same mesh shape. At least several prefabs can share the same texture in memory, something to not worry so much about. Link to comment Share on other sites More sharing options...
Guppycur Posted March 15, 2019 Share Posted March 15, 2019 Best (sarcasm) thing is, even if you bring in the paint texture from the game to use on a block, if you put it up against a painted block in game, the shader used will make it look different. My secret doors were not so secret. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.