[Gtkradiant] [Bug 89] implement Quake 1 support

Tig gtkradiant@zerowing.idsoftware.com
Tue, 25 Mar 2003 00:27:01 +0100


On Mon, 24 Mar 2003 14:43:37 +0100
Timothee Besset <ttimo@idsoftware.com> wrote:

> Well, I suppose you made a pack with some Q1 shader files holding qer_
> directives for transparency and stuff? Maybe you'd want to let us use
> this?

More than welcome to use it. As I'm converting Q3 maps to Q1 format, I
place extracted Q1 textures into a texture sub folder (q1_defaults),
make a shader called common.shader in a scritps folder and a
shaderlist.txt with the entry common.shader. It all works great for me.

No need for a common.pk3

However with wad file support I'm guessing this would be a little
different.

copy of my common.shader.

// works with textures extracted from the wad files. 
// Note the '#' prefix for liquid textures.
// standard quake textures in textures/q1_default
// common editing textures in textures/common

textures/common/clip
{
	qer_trans 0.3
}

textures/common/trigger
{
	qer_trans 0.3

} 

textures/common/caulk
{
	// tenebrae can use/understand caulk
	qer_trans 0.50
}

// teleporter
textures/q1_defaults/#teleport
{	
	// transparent in tenebare
	qer_trans 0.50
}

// water
textures/q1_defaults/#04water1
{	
	qer_trans 0.50
}

textures/q1_defaults/#04water2
{	
	qer_trans 0.50
}

textures/q1_defaults/#water0
{	
	qer_trans 0.50
}

textures/q1_defaults/#water1
{	
	qer_trans 0.50
}

textures/q1_defaults/#water2
{	
	qer_trans 0.50
}

// slime
textures/q1_defaults/#slime
{	
	qer_trans 0.50
}

textures/q1_defaults/#slime0
{	
	qer_trans 0.50
}

// lava
textures/q1_defaults/#lava1
{	
	qer_trans 0.50
}