Jump to content

teatraybat

Members
  • Posts

    2
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

teatraybat's Achievements

Wolf Bait

Wolf Bait (1/9)

2

Reputation

  1. Yep, it's the green. The textures aren't being referenced - it shouldn't be the 'face' direction but the name of the texture. The block json handles which face the textures go on (which model viewer has done as you've UV mapped it), blocktype just defines which textures are needed by the block. Like telling the game 'load this 3d model/block with these textures'. For example, in model viewer, I'm using the game textures 'vintage' (glass) and 'floor' (chest) assigned to my model. These are the file names of the png textures. You can find what texture is assigned to what shape in the block json under 'elements': I would honestly just copy the "textures" bit from your block json and paste it in place of the green text in your blocktype json - make sure to specify if you're using game assets using 'game:' prefix and your brackets match up! Example using custom texture in blocktype json: below 'oak1' is a game texture, 'oak1corner' is a texture I made and would come with the mod. Side note, textures in the block json don't seem to need the game: prefix. I've just left them be as model viewer makes them, and amended the ones in the blocktype json as appropriate. Hopefully that should fix it!
  2. Hey Karmatose, (You might have got this by now, but posting just in case!) Pretty new at VS modding myself, but I think what you're after is 'Entity Texturing Mode'. In the model creator with your model loaded, select any block and go to Project, then tick Entity Texturing Mode. You can also specify what texture size you want just below it. It may just be the model I was working on, but I think you have to uncheck 'Auto-Unwrap' for each shape on the Face panel to be able to click and drag UV sides around. It can be a bit fiddly! You can use the Side selection drop box to help. (sorry for the messy map - was just testing) You could make the UV map for a single shape, a group of shapes, or for the whole model - I'd just move the stuff I don't need out of the grid while mapping/exporting what you want. Once everything is in place, up in top right is Export - Export UV map. The textures are generally too small for the shape names to show (if they do - haven't tested above 64x), but it is colour coded by Side direction: Hope this helps!
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.