Frictional Games Forum (read-only)

Full Version: Help on getting eddited .dds to show in level editor
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
1. I opened GIMP with the .dds plugin.
2. Opened up the .dds for this particular static object.
3. Wrote some random junk for testing.
4. Saved it, got a warning dialog. Saved anyways.
[Image: unled2zo.png]
5.[Image: unledyyn.jpg]
On the left is the ModelView of the static object, which has my edited texture. On the right is the LevelEditor, which does not display the texture as shown on the left...
What am I doing wrong, and how can I fix it?

http://img714.imageshack.us/img714/3892/unledhb.jpg

Instead of linking to an ImageShack page, there's the direct link. Really hate the site the past few years. Far too many advertisements and limitations.
Have the same problem...
If you have copied the folder and replaced the texture make sure that the new mat file points to your new texture and not the old one.
I have switched to the castlebase_wall_welder_convex because its much easier with 4 files for testing purposes than the elevator door which had like 9 or 10 files.

Code:
<Material>
    <Main DepthTest="True" HeightMapScale="0.05" PhysicsMaterial="Rock" Type="SolidDiffuse" />
    <TextureUnits>
        <Diffuse AnimFrameTime="" AnimMode="" File="C:\Program Files\Steam\steamapps\common\amnesia the dark descent\static_objects\castlebase\wallGIMP\castlebase_wall_welder_convex.dds" Mipmaps="true" Type="2D" Wrap="Repeat" />
        <NMap AnimFrameTime="" AnimMode="" File="C:\Program Files\Steam\steamapps\common\amnesia the dark descent\static_objects\castlebase\wallGIMP\castlebase_wall_welder_convex_nrm.dds" Mipmaps="true" Type="2D" Wrap="Repeat" />
        <Specular AnimFrameTime="" AnimMode="" File="C:\Program Files\Steam\steamapps\common\amnesia the dark descent\static_objects\castlebase\wallGIMP\castlebase_wall_welder_convex_spec.dds" Mipmaps="true" Type="2D" Wrap="Repeat" />
    </TextureUnits>
</Material>
I tried to put a direct path for it, but it still won't work.
When that error in GIMP popped up for me, I saved the image as a .tga, then saved it as a .dds

It has something to do with merging visible layers.
(09-01-2011, 12:41 PM)Juby Wrote: [ -> ]When that error in GIMP popped up for me, I saved the image as a .tga, then saved it as a .dds

It has something to do with merging visible layers.
Will that fix up my problem?

Usually when you get an error like that, it means the layer isn't a power of two. You probably know it should be, but there may be a transparent part. Go to Layer>Autocrop Layer

Also, I don't know if you should be saving it as a volume map, but i'm not certain Smile
Okay I have been having problems with making custom skins for pre-made entities and I honestly JUST at this moment figured it out. I'll be making a video explaining it soon and I'll pm you it first before I upload it to the forum.