Any ideas why custom entities would appear very very dark (nearly all black) inside the editor?
They show up fine in the game (in text or regular mode), but it's most annoying to try and orient them when I can't make out the texture faces.
See attached screenshot.
Here's the particulars of my entity creation process
1) I am using Character Shop to create and export the .x files
2) using copied .fpe files
3) using .tga textures
4) using "local" textures and .x files (that is my path contains only the name of the .x file or texture because they are in the same directory as the entity so Bed1.fpe would look like this
;header
desc = Bulkhead Bed
;ai
aiinit = appear1.fpi
aimain = default.fpi
aidestroy = disappear1.fpi
;spawn
spawnmax = 0
spawndelay = 0
spawnqty = 0
;orientation
model = bed1.x
scale = 15
offx = 0
offy = 0
offz = 0
rotx = 0
roty = 0
rotz = 0
defaultstatic = 1
;visualinfo
textured = bed1.tga
effect = effectbankbumpbump.fx
castshadow = 0
5) Just to be extra safe here is bed1.x file in case I am missing something obvious here
xof 0302txt 0032
// This model was made with Cartography Shop
// http://www.leadwerks.com
Header
{
1;
0;
1;
}
Material material_1
{
1.0;1.0;1.0;1.0;;
11.3137;
0.0;0.0;0.0;;
0.012549;0.0360784;0.0109804;;
TextureFilename
{
"bed1.tga";
}
}
Frame World
{
FrameTransformMatrix
{
1.0,0.0,0.0,0.0,
0.0,1.0,0.0,0.0,
0.0,0.0,1.0,0.0,
0.0,0.0,0.0,1.0;;
}
Mesh object1
{
24;
-96.000000;94.000000;2.000000;,
-96.000000;10.000000;2.000000;,
274.000000;10.000000;2.000000;,
274.000000;94.000000;2.000000;,
-96.000000;94.000000;270.000000;,
-96.000000;10.000000;270.000000;,
274.000000;10.000000;270.000000;,
274.000000;94.000000;270.000000;,
-96.000000;94.000000;2.000000;,
-96.000000;10.000000;2.000000;,
-96.000000;10.000000;270.000000;,
-96.000000;94.000000;270.000000;,
274.000000;94.000000;2.000000;,
274.000000;10.000000;2.000000;,
274.000000;10.000000;270.000000;,
274.000000;94.000000;270.000000;,
274.000000;10.000000;2.000000;,
-96.000000;10.000000;2.000000;,
-96.000000;10.000000;270.000000;,
274.000000;10.000000;270.000000;,
274.000000;94.000000;2.000000;,
-96.000000;94.000000;2.000000;,
-96.000000;94.000000;270.000000;,
274.000000;94.000000;270.000000;;
12;
3;0,2,1;,
3;2,0,3;,
3;5,6,4;,
3;7,4,6;,
3;9,10,8;,
3;11,8,10;,
3;12,14,13;,
3;14,12,15;,
3;16,18,17;,
3;18,16,19;,
3;21,22,20;,
3;23,20,22;;
MeshTextureCoords
{
24;
-0.152500;-0.183594;,
-0.152500;-0.019531;,
-0.875156;-0.019531;,
-0.875156;-0.183594;,
-0.849500;-1.183594;,
-0.849500;-1.019531;,
-0.126844;-1.019531;,
-0.126844;-1.183594;,
0.111947;0.003906;,
0.011909;0.003906;,
0.011909;0.527344;,
0.111947;0.527344;,
-0.532382;-0.183594;,
-0.532382;-0.019531;,
-0.851551;-0.019531;,
-0.851551;-0.183594;,
-0.124844;-0.733906;,
-0.847500;-0.733906;,
-0.847500;-1.257344;,
-0.124844;-1.257344;,
-0.875156;-0.238906;,
-0.152500;-0.238906;,
-0.152500;-0.762344;,
-0.875156;-0.762344;;
}
MeshMaterialList
{
6;
12;
0,
0,
1,
1,
2,
2,
3,
3,
4,
4,
5,
5;;
{ material_1 }
{ material_1 }
{ material_1 }
{ material_1 }
{ material_1 }
{ material_1 }
}
}
Mesh object2
{
24;
242.000000;178.000000;2.000000;,
106.000000;94.000000;2.000000;,
274.000000;94.000000;2.000000;,
274.000000;178.000000;2.000000;,
242.000000;178.000000;270.000000;,
106.000000;94.000000;270.000000;,
274.000000;94.000000;270.000000;,
274.000000;178.000000;270.000000;,
242.000000;178.000000;2.000000;,
106.000000;94.000000;2.000000;,
106.000000;94.000000;270.000000;,
242.000000;178.000000;270.000000;,
274.000000;178.000000;2.000000;,
274.000000;94.000000;2.000000;,
274.000000;94.000000;270.000000;,
274.000000;178.000000;270.000000;,
274.000000;94.000000;2.000000;,
106.000000;94.000000;2.000000;,
106.000000;94.000000;270.000000;,
274.000000;94.000000;270.000000;,
274.000000;178.000000;2.000000;,
242.000000;178.000000;2.000000;,
242.000000;178.000000;270.000000;,
274.000000;178.000000;270.000000;;
12;
3;0,2,1;,
3;2,0,3;,
3;5,6,4;,
3;7,4,6;,
3;9,10,8;,
3;11,8,10;,
3;12,14,13;,
3;14,12,15;,
3;16,18,17;,
3;18,16,19;,
3;21,22,20;,
3;23,20,22;;
MeshTextureCoords
{
24;
-0.812656;-0.387656;,
-0.547031;-0.223594;,
-0.875156;-0.223594;,
-0.875156;-0.387656;,
0.422656;-0.387656;,
0.157031;-0.223594;,
0.485156;-0.223594;,
0.485156;-0.387656;,
-0.826870;-0.238906;,
-0.545603;-0.238906;,
-0.545603;-0.762344;,
-0.826870;-0.762344;,
-0.532382;-0.377656;,
-0.532382;-0.213594;,
-0.851551;-0.213594;,
-0.851551;-0.377656;,
0.535156;-0.003906;,
0.207031;-0.003906;,
0.207031;-0.527344;,
0.535156;-0.527344;,
-1.455156;-0.238906;,
-1.392656;-0.238906;,
-1.392656;-0.762344;,
-1.455156;-0.762344;;
}
MeshMaterialList
{
6;
12;
0,
0,
1,
1,
2,
2,
3,
3,
4,
4,
5,
5;;
{ material_1 }
{ material_1 }
{ material_1 }
{ material_1 }
{ material_1 }
{ material_1 }
}
}
Mesh object3
{
24;
-284.000000;94.000000;2.000000;,
-284.000000;10.000000;2.000000;,
-96.000000;10.000000;2.000000;,
-96.000000;94.000000;2.000000;,
-284.000000;94.000000;270.000000;,
-284.000000;10.000000;270.000000;,
-96.000000;10.000000;270.000000;,
-96.000000;94.000000;270.000000;,
-284.000000;94.000000;2.000000;,
-284.000000;10.000000;2.000000;,
-284.000000;10.000000;270.000000;,
-284.000000;94.000000;270.000000;,
-96.000000;94.000000;2.000000;,
-96.000000;10.000000;2.000000;,
-96.000000;10.000000;270.000000;,
-96.000000;94.000000;270.000000;,
-96.000000;10.000000;2.000000;,
-284.000000;10.000000;2.000000;,
-284.000000;10.000000;270.000000;,
-96.000000;10.000000;270.000000;,
-96.000000;94.000000;2.000000;,
-284.000000;94.000000;2.000000;,
-284.000000;94.000000;270.000000;,
-96.000000;94.000000;270.000000;;
12;
3;0,2,1;,
3;2,0,3;,
3;5,6,4;,
3;7,4,6;,
3;9,10,8;,
3;11,8,10;,
3;12,14,13;,
3;14,12,15;,
3;16,18,17;,
3;18,16,19;,
3;21,22,20;,
3;23,20,22;;
MeshTextureCoords
{
24;
-0.115313;-0.183594;,
-0.115313;-0.019531;,
-0.482500;-0.019531;,
-0.482500;-0.183594;,
-1.499687;-1.183594;,
-1.499687;-1.019531;,
-1.132500;-1.019531;,
-1.132500;-1.183594;,
-0.467618;-0.183594;,
-0.467618;-0.019531;,
-0.148449;-0.019531;,
-0.148449;-0.183594;,
0.112634;-0.003906;,
0.011982;-0.003906;,
0.011982;-0.527344;,
0.112634;-0.527344;,
-0.517500;-0.733906;,
-0.884688;-0.733906;,
-0.884688;-1.257344;,
-0.517500;-1.257344;,
-0.482500;-0.238906;,
-0.115313;-0.238906;,
-0.115313;-0.762344;,
-0.482500;-0.762344;;
}
MeshMaterialList
{
6;
12;
0,
0,
1,
1,
2,
2,
3,
3,
4,
4,
5,
5;;
{ material_1 }
{ material_1 }
{ material_1 }
{ material_1 }
{ material_1 }
{ material_1 }
}
}
}
Is this a bug or am I doing something wrong here???
Thanks for any help!!!
EDIT - my bed in the picture is the drak one to the right. The bed on the left is a normal FPSC entity placed for comparison.