Easygen/ Et problem


(Stephan) #1

I’m trying to make my terrain but i got some freaky problems

I made a terrain with Easygen and saved all needen stuff etc.

I added the shadername to the shaderlist.txt

here is my shaderfile:


textures//terrain.vertex
{
	surfaceparm nolightmap
	q3map_novertexshadows
	q3map_forcesunlight
	{
		map textures/snow_sd/snow_var02.tga
		rgbGen vertex
		tcmod scale 0.015 0.015
	}
}


textures//terrain_0
{
	surfaceparm nolightmap
	q3map_novertexshadows
	q3map_forcesunlight
	{
		map textures/snow_sd/snow_var02.tga
		rgbGen vertex
		tcmod scale 0.015 0.015
	}
}

textures//terrain_1
{
	surfaceparm nolightmap
	q3map_novertexshadows
	q3map_forcesunlight
	{
		map textures/snow_sd/bigrock_rounded_faint.tga
		rgbGen vertex
		tcmod scale 0.015 0.015
	}
}

textures//terrain_2
{
	surfaceparm nolightmap
	q3map_novertexshadows
	q3map_forcesunlight
	{
		map textures/snow_sd/sub1_snow2.tga
		rgbGen vertex
		tcmod scale 0.015 0.015
	}
}

textures//terrain_3
{
	surfaceparm nolightmap
	q3map_novertexshadows
	q3map_forcesunlight
	{
		map textures/snow_sd/icelake2.tga
		rgbGen vertex
		tcmod scale 0.015 0.015
	}
}

textures//terrain_0to1
{
	surfaceparm nolightmap
	q3map_novertexshadows
	q3map_forcesunlight
	{
		map textures/snow_sd/snow_var02.tga
		rgbGen vertex
		alphaGen vertex
		tcmod scale 0.015 0.015
	}
	{
		map textures/snow_sd/bigrock_rounded_faint.tga
		rgbGen vertex
		alphaGen vertex
		tcmod scale 0.015 0.015
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
	}
}

textures//terrain_0to2
{
	surfaceparm nolightmap
	q3map_novertexshadows
	q3map_forcesunlight
	{
		map textures/snow_sd/snow_var02.tga
		rgbGen vertex
		alphaGen vertex
		tcmod scale 0.015 0.015
	}
	{
		map textures/snow_sd/sub1_snow2.tga
		rgbGen vertex
		alphaGen vertex
		tcmod scale 0.015 0.015
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
	}
}

textures//terrain_0to3
{
	surfaceparm nolightmap
	q3map_novertexshadows
	q3map_forcesunlight
	{
		map textures/snow_sd/snow_var02.tga
		rgbGen vertex
		alphaGen vertex
		tcmod scale 0.015 0.015
	}
	{
		map textures/snow_sd/icelake2.tga
		rgbGen vertex
		alphaGen vertex
		tcmod scale 0.015 0.015
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
	}
}

textures//terrain_1to2
{
	surfaceparm nolightmap
	q3map_novertexshadows
	q3map_forcesunlight
	{
		map textures/snow_sd/bigrock_rounded_faint.tga
		rgbGen vertex
		alphaGen vertex
		tcmod scale 0.015 0.015
	}
	{
		map textures/snow_sd/sub1_snow2.tga
		rgbGen vertex
		alphaGen vertex
		tcmod scale 0.015 0.015
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
	}
}

textures//terrain_1to3
{
	surfaceparm nolightmap
	q3map_novertexshadows
	q3map_forcesunlight
	{
		map textures/snow_sd/bigrock_rounded_faint.tga
		rgbGen vertex
		alphaGen vertex
		tcmod scale 0.015 0.015
	}
	{
		map textures/snow_sd/icelake2.tga
		rgbGen vertex
		alphaGen vertex
		tcmod scale 0.015 0.015
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
	}
}

textures//terrain_2to3
{
	surfaceparm nolightmap
	q3map_novertexshadows
	q3map_forcesunlight
	{
		map textures/snow_sd/sub1_snow2.tga
		rgbGen vertex
		alphaGen vertex
		tcmod scale 0.015 0.015
	}
	{
		map textures/snow_sd/icelake2.tga
		rgbGen vertex
		alphaGen vertex
		tcmod scale 0.015 0.015
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
	}
}

all stuff of my map is called “snowland”

when i’m testing him i only got orange and black squares :frowning:

Screenshot:

How can i fix this :???:


(Shaderman) #2
Edit:

The map name is missing between the two forward slashes


(RayBan) #3

it looks like the paths are messed up, from what i can see… take the last one for instance,
textures//terrain_2to3

shouldnt it be
textures/snowland/terrain_2to3

?

and if so, then you have to add that to them all


(Stephan) #4

ill try it thanks

EDIT:

its working very thank you :clap: