Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
New textures for hpl2 Level Editor
Catalyst Offline
Member

Posts: 213
Threads: 32
Joined: Aug 2014
Reputation: 3
#1
New textures for hpl2 Level Editor

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...

Egypt CS
[Image: 27003.png]
09-26-2014, 12:11 PM
Find
DnALANGE Offline
Banned

Posts: 1,549
Threads: 73
Joined: Jan 2012
#2
RE: New textures for hpl2 Level Editor

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!
(This post was last modified: 09-26-2014, 12:43 PM by DnALANGE.)
09-26-2014, 12:39 PM
Find
Catalyst Offline
Member

Posts: 213
Threads: 32
Joined: Aug 2014
Reputation: 3
#3
RE: New textures for hpl2 Level Editor

Thank you very much Smile

Egypt CS
[Image: 27003.png]
09-26-2014, 03:54 PM
Find
Catalyst Offline
Member

Posts: 213
Threads: 32
Joined: Aug 2014
Reputation: 3
#4
RE: New textures for hpl2 Level Editor

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...

Egypt CS
[Image: 27003.png]
(This post was last modified: 09-27-2014, 02:57 PM by Catalyst.)
09-27-2014, 02:49 PM
Find
7heDubz Offline
Posting Freak

Posts: 1,329
Threads: 40
Joined: Feb 2013
Reputation: 41
#5
RE: New textures for hpl2 Level Editor

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.

09-27-2014, 05:14 PM
Find
Radical Batz Offline
Posting Freak

Posts: 953
Threads: 145
Joined: Dec 2013
Reputation: 25
#6
RE: New textures for hpl2 Level Editor

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

(This post was last modified: 09-27-2014, 05:18 PM by Radical Batz.)
09-27-2014, 05:17 PM
Find
DnALANGE Offline
Banned

Posts: 1,549
Threads: 73
Joined: Jan 2012
#7
RE: New textures for hpl2 Level Editor

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.
(This post was last modified: 09-27-2014, 06:31 PM by DnALANGE.)
09-27-2014, 06:30 PM
Find
Catalyst Offline
Member

Posts: 213
Threads: 32
Joined: Aug 2014
Reputation: 3
#8
RE: New textures for hpl2 Level Editor

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

Egypt CS
[Image: 27003.png]
(This post was last modified: 09-27-2014, 07:21 PM by Catalyst.)
09-27-2014, 07:15 PM
Find
7heDubz Offline
Posting Freak

Posts: 1,329
Threads: 40
Joined: Feb 2013
Reputation: 41
#9
RE: New textures for hpl2 Level Editor

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

(This post was last modified: 09-27-2014, 07:38 PM by 7heDubz.)
09-27-2014, 07:38 PM
Find
Catalyst Offline
Member

Posts: 213
Threads: 32
Joined: Aug 2014
Reputation: 3
#10
RE: New textures for hpl2 Level Editor

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

Egypt CS
[Image: 27003.png]
09-27-2014, 07:47 PM
Find




Users browsing this thread: 2 Guest(s)