Jump to content
The Dark Mod Forums

Paintings: skins


Bikerdude

Recommended Posts

yep, as I can see the textures in the media inspector and place the texture on brush etc.

 

but even if the textures path was wrong or had a typo the skin should still appear in the entity inspector. Yet if I look through the entire list for all models in the skin inspector its not appearing there either.

 

In a further effrot to diagnose the issue I moved all the textures to tdm default locations, but skin still no appearing.

Link to comment
Share on other sites

I have updated the skin def -

skin 01merchant
{
    model models/darkmod/decorative/wall/painting01.lwo

    painting01 01merchant
}

And here is the material def -

01merchant
{
    surftype15
    description "painting"

    qer_editorimage models/darkmod/props/textures/01merchant_ed
    diffusemap      models/darkmod/props/textures/01merchant
    bumpmap         models/darkmod/props/textures/01merchant_local

    {
        if ( parm11 > 0 )
        blend       gl_dst_color, gl_one
        map         _white
        rgb         0.40 * parm11
    }
    {
        if ( parm11 > 0 )
        blend       add
        map         models/darkmod/props/textures/01merchant
        rgb         0.15 * parm11
    }

	// TDM Ambient Method Related 
	{							
		if (global5 == 1)		
		blend add				
		map			models/darkmod/props/textures/01merchant
		scale			1, 1		
		red			global2	
		green			global3	
		blue			global4	
	}							
	{							
		if (global5 == 2)		
		blend add				
		program	ambientEnvironment.vfp	
		vertexParm		0		1, 1, 1, 1		// UV Scales for Diffuse and Bump	
		vertexParm		1		1, 1, 1, 1	// (X,Y) UV Scale for specular		
		vertexParm		2		global2, global3, global4, 1	
																
		fragmentMap		0		cubeMap env/gen1				
		fragmentMap		1		models/darkmod/props/textures/01merchant_local		// Bump				
		fragmentMap		2		models/darkmod/props/textures/01merchant		// Diffuse			
		fragmentMap		3		_black							// Specular			
	}
}
Link to comment
Share on other sites

doh your never gonna beleive what the issue was....

 

I tried opening the file in windows and it refused to let me set a default app to open it with, and it was at that point I noticed that the file name was 'my_skins_skin' instead of 'my_skin.skin'

 

<face palm>

Link to comment
Share on other sites

Bikerdude: Are you using Windows Explorer?

Come the time of peril, did the ground gape, and did the dead rest unquiet 'gainst us. Our bands of iron and hammers of stone prevailed not, and some did doubt the Builder's plan. But the seals held strong, and the few did triumph, and the doubters were lain into the foundations of the new sanctum. -- Collected letters of the Smith-in-Exile, Civitas Approved

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

    • nbohr1more

      Was checking out old translation packs and decided to fire up TDM 1.07. Rightful Property with sub-20 FPS areas yay! ( same areas run at 180FPS with cranked eye candy on 2.12 )
      · 0 replies
    • taffernicus

      i am so euphoric to see new FMs keep coming out and I am keen to try it out in my leisure time, then suddenly my PC is spouting a couple of S.M.A.R.T errors...
      tbf i cannot afford myself to miss my network emulator image file&progress, important ebooks, hyper-v checkpoint & hyper-v export and the precious thief & TDM gamesaves. Don't fall yourself into & lay your hands on crappy SSD
       
      · 3 replies
    • OrbWeaver

      Does anyone actually use the Normalise button in the Surface inspector? Even after looking at the code I'm not quite sure what it's for.
      · 7 replies
    • Ansome

      Turns out my 15th anniversary mission idea has already been done once or twice before! I've been beaten to the punch once again, but I suppose that's to be expected when there's over 170 FMs out there, eh? I'm not complaining though, I love learning new tricks and taking inspiration from past FMs. Best of luck on your own fan missions!
      · 4 replies
    • The Black Arrow

      I wanna play Doom 3, but fhDoom has much better features than dhewm3, yet fhDoom is old, outdated and probably not supported. Damn!
      Makes me think that TDM engine for Doom 3 itself would actually be perfect.
      · 6 replies
×
×
  • Create New...