View Single Post
  #2  
Old 10-17-2011, 02:06 AM
ebarstad ebarstad is offline
Expert
 
Join Date: Nov 2010
Posts: 66
Default

Ok, so that IS the file I want to override -- I edited it directly and got the black outlines I wanted. Now, how do I create a mod that overrides that file so that I don't have to change the file directly? I tried creating a mod_black_outlines.zip file which included a Shaders folder and a file called mod_black_outlines.sdr. In the file I put:

Code:
OutlineBlack overrides OutlineCyan
{
	cull Front
	deformVerts Offset 1.0
	highlightsSurface 1

	{
		texture Textures/white.tga
		colorGen OriginAndConstant Black
	}
}

OutlineBlack overrides OutlineGreen
{
	cull Front
	deformVerts Offset 1.0
	highlightsSurface 1

	{
		texture Textures/white.tga
		colorGen OriginAndConstant Black
	}
}

OutlineBlack overrides OutlineWhite
{
	cull Front
	deformVerts Offset 1.0
	highlightsSurface 1

	{
		texture Textures/white.tga
		colorGen OriginAndConstant Black
	}
}

OutlineBlack overrides OutlineOrange
{
	cull Front
	deformVerts Offset 1.0
	highlightsSurface 1

	{
		texture Textures/white.tga
		colorGen OriginAndConstant Black
	}
}

OutlineBlack overrides OutlineBlue
{
	cull Front
	deformVerts Offset 1.0
	highlightsSurface 1

	{
		texture Textures/white.tga
		colorGen OriginAndConstant Black
	}
}

OutlineBlack overrides OutlineRed
{
	cull Front
	deformVerts Offset 1.0
	highlightsSurface 1

	{
		texture Textures/white.tga
		colorGen OriginAndConstant Black
	}
}
However, this didn't work. Basically, I just copied this text from system.sdr and added "OutlineBlack overrides" to each function. Any tips would be welcome.

Also, is there a way to make it so the outlines are always on, not just when you mouse over an NPC?
Reply With Quote