Frictional Games Forum (read-only)
Help on getting eddited .dds to show in level editor - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: Help on getting eddited .dds to show in level editor (/thread-10092.html)



Help on getting eddited .dds to show in level editor - Rapture - 09-01-2011

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?




RE: Help on getting eddited .dds to show in level editor - MegaScience - 09-01-2011

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.


RE: Help on getting eddited .dds to show in level editor - AloneAndUnafraid - 09-01-2011

Have the same problem...


RE: Help on getting eddited .dds to show in level editor - Acies - 09-01-2011

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.


RE: Help on getting eddited .dds to show in level editor - Rapture - 09-01-2011

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.


RE: Help on getting eddited .dds to show in level editor - Juby - 09-01-2011

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.


RE: Help on getting eddited .dds to show in level editor - Rapture - 09-01-2011

(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?




RE: Help on getting eddited .dds to show in level editor - DRedshot - 09-01-2011

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


RE: Help on getting eddited .dds to show in level editor - ZRPT - 09-03-2011

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.