Tile width 12 texture offset

MagicBanana

Terrarian
Im trying to create a tile 12x8 but the texture keeps doing odd thing and i just can't figure it out.
UkI75uv.png

the torches are lenght and width of tile and were the texture should be.

xQpgFWg.png

The texture i want to display

Code:
        public override void SetDefaults()
        {
            Main.tileFrameImportant[Type] = true;
            TileObjectData.newTile.CopyFrom(TileObjectData.Style6x3);
            TileObjectData.newTile.Height = 8;
            TileObjectData.newTile.Width = 10;
            TileObjectData.newTile.CoordinateHeights = new[] { 16, 16, 16, 16, 16, 16, 16, 16 };
            TileObjectData.newTile.StyleHorizontal = true;
            TileObjectData.newTile.StyleWrapLimit = 0;
            TileObjectData.newTile.Origin = new Point16(0, 0);
            TileObjectData.addTile(Type);
            dustType = 1;
            disableSmartCursor = true;
            ModTranslation name = CreateMapEntryName();
            name.SetDefault("test");
            AddMapEntry(new Color(13, 88, 130), name);
        }

Any help would be great
 
Back
Top Bottom