Frictional Games Forum (read-only)
New textures for hpl2 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)
+--- Thread: New textures for hpl2 Level Editor (/thread-26363.html)

Pages: 1 2 3


New textures for hpl2 Level Editor - Catalyst - 09-26-2014

Greetings, i need some help suggestions:

How I can create my own static object with my textures and put it in editor?
I have a great idea but without that, my story will not look so nice...


RE: New textures for hpl2 Level Editor - DnALANGE - 09-26-2014

static objects or PLANES?
Here we go for Static Objects.
Look forn the NAME of the SO (Static Object)
Then open the .DEA with NOTEPAD++ for exzample.
Look what .MAT it is using.
THen OPEN the .MAT and look what .jpg or .DDS it is using.
It can easely be 1 2 3 4 5 lines.
Then find those files and you will see all those .dds or .jpg Then open those witch you prefer with Paint for example and channge it to what you want.
That is 1 option.
The other is to open the .DEA with MAYA2011 and change it in there.
Quote:NEVER OVERWRITE -> ALWAYS MAKE A COPY OF THE ORIGINAL FILE!!!
AND CHANGE IT FOR EXAMPLE TO CAVE_CUSTOM!
------
About creating your own .mat files (textures) for planes.
Quote:ALWAYS make then a POW 2 SIZE. ( meaning -> 2x2 4x4 64x64 512x512 etc etc.. OR like 512x256 1024x512 46x12 like that) IF NOT, the editor will crash!
Then;
IF you have the file opened in like paint.. Then save as .JPG and put it in YOUR MOD\STORY.
open the material editor and look for your .JPG \ .Tga (or just open an original .mat file and just change the ... in YOUR .jpg)
ALWAYS make it SOLLID FUSE (that is the best for walls and floors)
then you can change the ALPHA\Diffuse etcetc..
What i suggest is make 2 named ;
1Big GrinIFFUSE + SPECULAR and save
2Big GrinIffuse ONLY! and save.

The Diffuse is just the texture
The DIffuse + Specular is ading a lightsource idea. looks great for floor tiles witch shine a lot.
--
Try saving the file in the same map\folder as the .JPG or.Tga (more easy to find everything for yourself)
Then create a plane and select the file you created.
Finished!
---
Hope this is what you wanted.
Good Luck!


RE: New textures for hpl2 Level Editor - Catalyst - 09-26-2014

Thank you very much Smile


RE: New textures for hpl2 Level Editor - Catalyst - 09-27-2014

but there is another problem... in editor the planes lose directory to textures, but ingame all is showing excellent. How i can fix this problem?

[Image: IMG_27092014_165131.jpg]

But in game looks :

[Image: Screen_Screenshot_004.jpg]

I can't continue my story if I can't see what i'm creating...


RE: New textures for hpl2 Level Editor - 7heDubz - 09-27-2014

Starting off, That looks pretty damn cool.

Another note, where are the textures that your using held?

What I think you did was move them around after putting them into the editor.


RE: New textures for hpl2 Level Editor - Radical Batz - 09-27-2014

(09-27-2014, 02:49 PM)Catalyst Wrote: but there is another problem... in editor the planes lose directory to textures, but ingame all is showing excellent. How i can fix this problem?

[Image: IMG_27092014_165131.jpg]

But in game looks :

[Image: Screen_Screenshot_004.jpg]

I can't continue my story if I can't see what i'm creating...

Where is the level editor loading these files from, if they are loading them from your custom story then I found the problem, copy all the textures from your cs and put them in the static objects folder in the redist folder and it should fix it Big Grin

Happened to me once, fixed it like that, Hope this helps!


RE: New textures for hpl2 Level Editor - DnALANGE - 09-27-2014

Quote:copy all the textures from your cs and put them in the static objects folder in the redist folder and it should fix it
NEVER do this!
because other people will maybe NOT have some planes\texztures!
You have to go to the RESOURCES and put your mod on TOP.
That will fix it for now.


RE: New textures for hpl2 Level Editor - Catalyst - 09-27-2014

(09-27-2014, 06:30 PM)DnALANGE Wrote:
Quote:copy all the textures from your cs and put them in the static objects folder in the redist folder and it should fix it
NEVER do this!
because other people will maybe NOT have some planes\texztures!
You have to go to the RESOURCES and put your mod on TOP.
That will fix it for now.

Waht do you mean? I don't have resource folder in game.

(09-27-2014, 05:17 PM)Mr. Badcatz Wrote:
(09-27-2014, 02:49 PM)Catalyst Wrote: but there is another problem... in editor the planes lose directory to textures, but ingame all is showing excellent. How i can fix this problem?

[Image: IMG_27092014_165131.jpg]

But in game looks :

[Image: Screen_Screenshot_004.jpg]

I can't continue my story if I can't see what i'm creating...

Where is the level editor loading these files from, if they are loading them from your custom story then I found the problem, copy all the textures from your cs and put them in the static objects folder in the redist folder and it should fix it Big Grin

Happened to me once, fixed it like that, Hope this helps!

these textures is not from cs, I found them in internet

Now I just loaded my story and all textures faded...


RE: New textures for hpl2 Level Editor - 7heDubz - 09-27-2014

http://puu.sh/bQ8kM/1d80894ecc.png


RE: New textures for hpl2 Level Editor - Catalyst - 09-27-2014

(09-27-2014, 07:38 PM)7heDubz Wrote: http://puu.sh/bQ8kM/1d80894ecc.png

ok, what i should change?

<Resources>
<Directory Path="/_temp" AddSubDirs="true" />
<Directory Path="/fonts" AddSubDirs="false" />
<Directory Path="/maps" AddSubDirs="true" />
<Directory Path="/textures" AddSubDirs="true" />
<Directory Path="/models" AddSubDirs="true" />
<Directory Path="/gui" AddSubDirs="true" />
<Directory Path="/static_objects" AddSubDirs="true" />
<Directory Path="/sounds" AddSubDirs="true" />
<Directory Path="/main_menu" AddSubDirs="true" />
<Directory Path="/shaders" AddSubDirs="true" />
<Directory Path="/lights" AddSubDirs="true" />
<Directory Path="/billboards" AddSubDirs="true" />
<Directory Path="/entities" AddSubDirs="true" />
<Directory Path="/graphics" AddSubDirs="true" />
<Directory Path="/viewer" AddSubDirs="true" />
<Directory Path="/particles" AddSubDirs="true" />
<Directory Path="/models" AddSubDirs="true" />
<Directory Path="/music" AddSubDirs="true" />
<Directory Path="/flashbacks" AddSubDirs="true" />
<Directory Path="/textures" AddSubDirs="true" />
<Directory Path="/misc" AddSubDirs="true" />
<Directory Path="/commentary" AddSubDirs="true" />
</Resources>