Author Topic: DoColorShift  (Read 1274 times)

I recently made a fax machine prop,it works fine, shows up on the add on list, ya, but it is always black when i spawn it and hold it, and pink if you look at it from a angle.The model is already colored,too.
This is how the code goes:
Code: [Select]
//gui stuff
uiName = "Fax Machine";
iconName = "./icon_fax";
doColorShift = true;
colorShiftColor = "1.0 1.0 1.0 1.0";

// Dynamic properties defined by the scripts
image = faxImage;
canDrop = true;
};
Idk what to do.
Im in a bit of a pickle.

Do you have this line somewhere before that code?

Code: [Select]
datablock ItemData(faxMachineItem) {
EDIT:
If the model is colored properly, why do you need to color shift?
« Last Edit: December 27, 2008, 08:28:44 PM by Truce »

I just said doColorShift=False, and it is still black
EDIT:I forgot the Item part at the end of "fax" and the } was in the wrong place.

Colorshift is just for the item icon. This is a problem with your textures. Make sure you included all of them in the zip, and that (if you used milkshape) there LOD's are the same number. ;D

Colorshift is just for the item icon. This is a problem with your textures. Make sure you included all of them in the zip, and that (if you used milkshape) there LOD's are the same number. ;D
Silly.

Colorshift is for making models with the blank texture into different colors, and Badspot just added the icon colorshifting for a goodie I guess.

The problem is with the model and its shading. What program are you using for this?

I used blender.
I dont know if it exported with color, and i dont know how to see it. Can somone tell me?
Link:http://www.mediafire.com/?03yyin3gywz
« Last Edit: December 28, 2008, 01:50:44 PM by Mustard »

When I attempted to make models in Blender, I found a similar problem with shading (everything becomes high contrast, especially if you turn to different angles) if you resize or scale the model before exporting to DTS. Did you?

No..But, it might of been DTS quick exports fault, because i cant use the DTS normal exporter.