Don't use the brush command. Try simply loading in the texture then applying it to the mesh
Take out all references to the brush, and use vertex colouring. Also, mind and stick in the addvertex commands i put above.
EntityTexture side,sideTexture
Take out all references to the brush, and use vertex colouring. Also, mind and stick in the addvertex commands i put above.