Jump to content
The Dark Mod Forums

my bad luck with textures.


Theothesnopp

Recommended Posts

I was bored and decided to try to make a texture problem is i dont know much about it but the wiki was very helpfull and helped me out alot.

 

so i finished a small one the size is : w:1024 h:512

 

it looks like this in the DR : post-2536-1237837127_thumb.jpg (paint blurred the pic a bit)

 

and in game its all balck

 

so i aplied another texture to one of the brushes, and then i get a leak.

 

its really weird.

 

 

any help would be much appreciated

Link to comment
Share on other sites

I was bored and decided to try to make a texture problem is i dont know much about it but the wiki was very helpfull and helped me out alot.

 

so i finished a small one the size is : w:1024 h:512

 

it looks like this in the DR : post-2536-1237837127_thumb.jpg (paint blurred the pic a bit)

 

and in game its all balck

For me that's usually a path error. Perhaps the console gave you an error message (couldn't find ...). If so check the paths and make sure they are set right in the material file. Or maybe a typo in the material file? The console should tell you something about that too.

Link to comment
Share on other sites

For me that's usually a path error. Perhaps the console gave you an error message (couldn't find ...). If so check the paths and make sure they are set right in the material file. Or maybe a typo in the material file? The console should tell you something about that too.

 

 

i'll see.

Link to comment
Share on other sites

here it is.

 

i werent alowed to upload the mtr but i can paste the text inside it

 

textures/darkmod/Theothesnopp/Stone/MarbleFloor1

{



stone



qer_editorimage textures/darkmod/stone/flat/MarbleFloor1_ed



diffusemap textures/darkmod/stone/flat/MarbleFloor1

specularmap textures/darkmod/stone/flat/MarbleFloor1_s

bumpmap textures/darkmod/stone/flat/MarbleFloor1_local

{

if ( parm11 > 0 )

blend gl_dst_color, gl_one

map _white.tga

rgb 0.40 * parm11

}

{

textures/darkmod/Theothesnopp/Wood/Board/WornMulticolor01

{



wood



qer_editorimage textures/darkmod/wood/board/WornMulticolor01_ed



diffusemap textures/darkmod/wood/board/WornMulticolor01

bumpmap textures/darkmod/wood/board/WornMulticolor01_local

{ 

if ( parm11 > 0 )

blend gl_dst_color, gl_one

map _white.tga

rgb 0.40 * parm11

}

Link to comment
Share on other sites

Is this exactly what the file contains or did you just copy parts of it? Because that's an incomplete material definition.

 

 

nope its the full, i copied a mtr that i found somewere and just changed names here n there, im to lazy with the complicated text (code?) its rlly confusing :P

Link to comment
Share on other sites

This is a correct material definition:

textures/darkmod/stone/brick/rough_blocks02
{
   stone

   qer_editorimage textures/darkmod/stone/brick/rough_blocks02_ed
   diffusemap      textures/darkmod/stone/brick/rough_blocks02
   bumpmap         textures/darkmod/stone/brick/rough_blocks02_local

   {
       if ( parm11 > 0 )
       blend       gl_dst_color, gl_one
       map         _white
       rgb         0.40 * parm11
   }
   {
       if ( parm11 > 0 )
       blend       add
       map         textures/darkmod/stone/brick/rough_blocks02
       rgb         0.15 * parm11
   }

   // TDM Ambient Method Related
{
	blend	add
	map		textures/darkmod/stone/brick/rough_blocks02
	red		global2
	green	global3
	blue	global4
}
}

You can modify that for now and ask when there are problems.

Link to comment
Share on other sites

Yes, make sure the all the { and } are in the right places. Use tabs like in Baal's example to show what lines are in a block enclosed with a { and }.

 

The texture looks nice btw. But there's and obvious seam, can be in the diffuse or the normal map.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recent Status Updates

    • Ansome

      Query: when was the last time a zombie in a video game was unnerving or scary to you? I'm chipping away at my anniversary submission and I've been trying to gather opinions on the subject. I'm perfectly capable of lighting them well, changing their sfx, and creating effective ambience, but I'm worried that zombies at their core are just too overdone to be an effective payoff to the tension I'm creating.
      · 4 replies
    • nbohr1more

      The Lieutenant 3 is out! Congrats Frost_Salamander! ( raising awareness )
      · 2 replies
    • OrbWeaver

      Has anyone had any luck with textures from Polyhaven? Their OpenEXR normal maps seem too washed out and give incorrect shading in the engine.
      · 5 replies
    • datiswous

      I tried to upscale the TDM logo video. First try:

      briefing_video.mp4 You can test it ingame by making a copy of the core tdm_gui.mtr and place it in your-tdm-root/materials/ , then edit line 249 of that file into the location where you placed the new briefing.mp4 file.
      What I did was I extracted all the image files, then used Upscayl to upscale the images using General photo (Real-Esrgan) upscale setting and then turn it back into a video.
      I might have to crop it a bit, the logo looks smaller on screen (or maybe it's actually better this way?). My video editor turned it into a 16:9 video, which I think overal looks better than 1:1 video of original.
      · 1 reply
    • nbohr1more

      Trying to be productive on my down-time before Capcom releases Akuma and my son is constantly on my PC playing Street Fighter...
      · 1 reply
×
×
  • Create New...