Author Topic: Messed up colors  (Read 2034 times)

I'm using Blender 2.49, FYI.

I made a weapon, then UV mapped it. I thought the color for one part was too dark, so I replaced that color with a brighter one. Now, no matter what I do, the colors that I replaced are reversed in game.

How it shows up in-game:

How it's supposed to show up:

Are you changing the material, or the .png inside of the add-on? The way DTS handles materials is that any named meshes use the texture with a .png inside the add-on. Unfortunately, I can't help you much UI-wise, because I usually do my work in 2.6 then export in 2.49.

Are you changing the material, or the .png inside of the add-on? The way DTS handles materials is that any named meshes use the texture with a .png inside the add-on. Unfortunately, I can't help you much UI-wise, because I usually do my work in 2.6 then export in 2.49.
I replaced the material, then changed it, but it's not recognizing the change.

I replaced the material, then changed it, but it's not recognizing the change.
Odd. Unfortunately, I can't really help you, I'm a noob at this myself. I'm basically just paraphrasing from tutorials I've been reading.

I replaced the material, then changed it, but it's not recognizing the change.
You need to change the PNG image file, not the material in your 3D editor. Blockland only recognizes the PNG file.

You need to change the PNG image file, not the material in your 3D editor. Blockland only recognizes the PNG file.
I've already tried manually changing each face to a new color, but they still show up as the other color. I even went back to a save I had before I tried replacing the color, but it still messes up.

I've already tried manually changing each face to a new color, but they still show up as the other color. I even went back to a save I had before I tried replacing the color, but it still messes up.
Post a screenshot of the Add-On folder.

I've already tried manually changing each face to a new color, but they still show up as the other color. I even went back to a save I had before I tried replacing the color, but it still messes up.
Again, you are changing the color in your 3D application. That color is not exported. That color is irrelevant. Blockland cannot read that color because that color is not exported in the first place. What IS exported is your material name.

Let's say your material name is "pink". The color of this material named "pink" is green in your modeling application. You export your model and make a PNG named "pink" in the same folder as the model. This PNG is an image and that image contains one color: blue. When you open Blockland and spawn your model, your model is the color blue.

Again, you are changing the color in your 3D application. That color is not exported. That color is irrelevant. Blockland cannot read that color because that color is not exported in the first place. What IS exported is your material name.

Let's say your material name is "pink". The color of this material named "pink" is green in your modeling application. You export your model and make a PNG named "pink" in the same folder as the model. This PNG is an image and that image contains one color: blue. When you open Blockland and spawn your model, your model is the color blue.
I'm using multiple .png files. I've already done that. The problem is that parts of my gun have the wrong textures on them in game, whereas they show up normally inside of Blender.

But are the .pngs the exact color you want them to be? If they are, then your problem lies in the fact that you UV mapped. Don't UV map normal materials for BL. Just assign them to the set of polygons that you want the color on.

I'm using multiple .png files. I've already done that. The problem is that parts of my gun have the wrong textures on them in game, whereas they show up normally inside of Blender.
PM me the .blend file.

Tip of the hat and a bow to you sir. You taught me something new. It never occurred me that you could color a model by UV unwrapping and using UV textures.

Tip of the hat and a bow to you sir. You taught me something new. It never occurred me that you could color a model by UV unwrapping and using UV textures.
Add this to Blender megathread with a tutorial. I really want to know how to do this.

Add this to Blender megathread with a tutorial. I really want to know how to do this.
It's a rather roundabout way of doing it since you're doing the exporters work yourself. It's much easier to simply assign materials to faces.

Tip of the hat and a bow to you sir. You taught me something new. It never occurred me that you could color a model by UV unwrapping and using UV textures.
Can't honestly say I did this myself. One of the tutorials said something about UV mapping, so I just looked up how to UV map.