Little help with easygen/textures


(Izion) #1

Hello, I seem to be having a few texture problems with my map (im just learning not a work in progress) and was looking for a little help.
I have made a landscape with easygen to use as part of my map but the textures i have selected are not showing and the map is using a snow and rock texture which i know notting about. Here is the info:

root dir: \Wolf Mod\Wolfenstein - Enemy Territory\etmain
textures: \Wolf Mod\Wolfenstein - Enemy Territory\etmain extures\fort (rock.jpg,sand.jpg,ddirt.jpg)
shaders: \Wolf Mod\Wolfenstein - Enemy Territory\etmain\scripts
Shader file: (fort.shader)

textures/fort/terrain_0
{
	surfaceparm nolightmap
	q3map_novertexshadows
	q3map_forcesunlight
	{
		map textures/fort/rock.jpg
		rgbGen vertex
		tcmod scale 0.083 0.083
	}
}

textures/fort/terrain_1
{
	surfaceparm nolightmap
	q3map_novertexshadows
	q3map_forcesunlight
	{
		map textures/fort/sand.jpg
		rgbGen vertex
		tcmod scale 0.083 0.083
	}
}

textures/fort/terrain_2
{
	surfaceparm nolightmap
	q3map_novertexshadows
	q3map_forcesunlight
	{
		map textures/fort/ddirt.jpg
		rgbGen vertex
		tcmod scale 0.083 0.083
	}
}

textures/fort/terrain_0to1
{
	surfaceparm nolightmap
	q3map_novertexshadows
	q3map_forcesunlight
	{
		map textures/fort/rock.jpg
		rgbGen vertex
		alphaGen vertex
		tcmod scale 0.083 0.083
	}
	{
		map textures/fort/sand.jpg
		rgbGen vertex
		alphaGen vertex
		tcmod scale 0.083 0.083
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
	}
}

textures/fort/terrain_0to2
{
	surfaceparm nolightmap
	q3map_novertexshadows
	q3map_forcesunlight
	{
		map textures/fort/rock.jpg
		rgbGen vertex
		alphaGen vertex
		tcmod scale 0.083 0.083
	}
	{
		map textures/fort/ddirt.jpg
		rgbGen vertex
		alphaGen vertex
		tcmod scale 0.083 0.083
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
	}
}

textures/fort/terrain_1to2
{
	surfaceparm nolightmap
	q3map_novertexshadows
	q3map_forcesunlight
	{
		map textures/fort/sand.jpg
		rgbGen vertex
		alphaGen vertex
		tcmod scale 0.083 0.083
	}
	{
		map textures/fort/ddirt.jpg
		rgbGen vertex
		alphaGen vertex
		tcmod scale 0.083 0.083
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
	}
}

textures/fort/terrain.vertex
{
	surfaceparm nolightmap
	q3map_novertexshadows
	q3map_forcesunlight
	{
		map textures/fort/rock.jpg
		rgbGen vertex
		tcmod scale 0.083 0.083
	}
}

It was compiled using : Q3map2(test)BSP -meta -vis -light -fast -filter

The textures are just downloaded from the net and resaved to .jpg in PS.

Anything else you may need to know?

Thank You :slight_smile:


(cropkiller) #2

have u added ur fort.shader to the shaderlist??


(nUllSkillZ) #3

Not sure about the last part “textures/fort/terrain.vertex”.
AFAIR it should not be vertexlightning.
And the last part could belong to the start of the shaderfile.

Like:


textures/fort/terrain.vertex
{
...
}

textures/fort/terrain_0
{
...
}

textures/fort/terrain_1
{
...
}

textures/fort/terrain_2
{
...
}

textures/fort/terrain_0to1
{
...
}

textures/fort/terrain_0to2
{
...
}

textures/fort/terrain_1to2
{
...
}

You should try to take a look in a tutorial.


(Pray-N-Spray) #4

You have to chose wolfet and then you have to fix the shader.

Look these pictures

Cut those last lines and copy it on the top of your shader.
Be sure that you will delete it in the last row!

That works fine for me.
Hope this helped you!
:slight_smile:


(nUllSkillZ) #5

May be you will need wolfet templates.
I haven’t found a download link here in the forums.
But here is a link to the file on my HP:
http://www.nullskillz.de/et/template_wolfet.zip

A text file within the zip describes the installation.
As far as I remember you only have to copy three files and edit another one.
So very easy.


(Izion) #6

Thank you all for your help, The wolfet template was missing indeed :wink:

Pray-N-Spray thanx for the pics i didnt expect so much detail :smiley:

will let you know how it goes!


(Pray-N-Spray) #7

You’re welcome :slight_smile: