************ error ************


(twt_thunder) #1

hey dudes,
started on mapping again after a break and got this wierd message when i should compile :

************ ERROR ************
Line 15 is incomplete

and i do not see what in line 15 that is incomplete, do you? :

// entity 0
{
"classname" "worldspawn"
"gridsize" "512 512 512"
"vertexremapshader0" "textures/trail_alpha_1/terrain_0;textures/%METASHADER_NAME%_base"
"vertexremapshader1" "textures/trail_alpha_1/terrain_1;textures/%METASHADER_NAME%_base"
"vertexremapshader2" "textures/trail_alpha_1/terrain_2;textures/%METASHADER_NAME%_base"
"vertexremapshader3" "textures/trail_alpha_1/terrain_3;textures/%METASHADER_NAME%_base"
"vertexremapshader4" "textures/trail_alpha_1/terrain_4;textures/%METASHADER_NAME%_base"
"vertexremapshader5" "textures/trail_alpha_1/terrain_0to1;textures/%METASHADER_NAME%_base"
"vertexremapshader6" "textures/trail_alpha_1/terrain_0to2;textures/%METASHADER_NAME%_base"
"vertexremapshader7" "textures/trail_alpha_1/terrain_0to3;textures/%METASHADER_NAME%_base"
"vertexremapshader8" "textures/trail_alpha_1/terrain_0to4;textures/%METASHADER_NAME%_base"
"vertexremapshader9" "textures/trail_alpha_1/terrain_1to2;textures/%METASHADER_NAME%_base"
"vertexremapshader10" "textures/trail_alpha_1/terrain_1to3;textures/%METASHADER_NAME%_base"
"vertexremapshader11" "textures/trail_alpha_1/terrain_1to4;textures/%METASHADER_NAME%_base"
"vertexremapshader12" "textures/trail_alpha_1/terrain_2to3;textures/%METASHADER_NAME%_base"
"vertexremapshader13" "textures/trail_alpha_1/terrain_2to4;textures/%METASHADER_NAME%_base"
"vertexremapshader14" "textures/trail_alpha_1/terrain_3to4;textures/%METASHADER_NAME%_base"
// brush 0

here are the 20 first lines… can anybody help me out here?


(ailmanki) #2

ERROR: Line {Insert line number here} is incomplete

A :
In the previous case, this was fixed by easily copy the entire map in text form (open up the .map file in a text editor and copy everything), and then paste it into a new .txt file, then rename it to .map and open it. Run a brush clean up, and you should be good to go. [fjoggs]

http://www.katsbits.com/tutorials/idtech/q3map2-error-messages.php


(twt_thunder) #3

nah, didnt work :frowning: :frowning: but thanx for the tip


(Destroy666) #4

http://q3a.ath.cx/?editing=errors#ErrorLine


(twt_thunder) #5

Destroy666 Re: ************ error ************


http://q3a.ath.cx/?editing=errors#ErrorLine

might be, i dont know its made by easygen, and have always worked… but i can post the shader:

textures/trail_alpha_1/terrain_0
{
	q3map_baseshader textures/trail_alpha_1/terrain_base
	qer_editorimage textures/temperate_sd/sand_patchnoise.tga
	surfaceparm landmine
	surfaceparm grasssteps
	{
		map textures/temperate_sd/sand_patchnoise.tga
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/trail_alpha_1/terrain_1
{
	q3map_baseshader textures/trail_alpha_1/terrain_base
	qer_editorimage textures/jungle_tex/moss.tga
	surfaceparm landmine
	surfaceparm grasssteps
	{
		map textures/jungle_tex/moss.tga
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/trail_alpha_1/terrain_2
{
	q3map_baseshader textures/trail_alpha_1/terrain_base
	qer_editorimage textures/jungle_tex/rock_jungle.tga
	surfaceparm landmine
	surfaceparm grasssteps
	{
		map textures/jungle_tex/rock_jungle.tga
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/trail_alpha_1/terrain_3
{
	q3map_baseshader textures/trail_alpha_1/terrain_base
	qer_editorimage textures/desert_sd/sand_patchy.tga
	surfaceparm landmine
	surfaceparm grasssteps
	{
		map textures/desert_sd/sand_patchy.tga
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/trail_alpha_1/terrain_4
{
	q3map_baseshader textures/trail_alpha_1/terrain_base
	qer_editorimage textures/jungle_tex/forrest_ground.tga
	surfaceparm landmine
	surfaceparm grasssteps
	{
		map textures/jungle_tex/forrest_ground.tga
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/trail_alpha_1/terrain_0to1
{
	q3map_baseshader textures/trail_alpha_1/terrain_base
	qer_editorimage textures/temperate_sd/sand_patchnoise.tga
	surfaceparm landmine
	surfaceparm grasssteps
	{
		map textures/temperate_sd/sand_patchnoise.tga
	}
	{
		map textures/jungle_tex/moss.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaGen vertex
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/trail_alpha_1/terrain_0to2
{
	q3map_baseshader textures/trail_alpha_1/terrain_base
	qer_editorimage textures/temperate_sd/sand_patchnoise.tga
	surfaceparm landmine
	surfaceparm grasssteps
	{
		map textures/temperate_sd/sand_patchnoise.tga
	}
	{
		map textures/jungle_tex/rock_jungle.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaGen vertex
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/trail_alpha_1/terrain_0to3
{
	q3map_baseshader textures/trail_alpha_1/terrain_base
	qer_editorimage textures/temperate_sd/sand_patchnoise.tga
	surfaceparm landmine
	surfaceparm grasssteps
	{
		map textures/temperate_sd/sand_patchnoise.tga
	}
	{
		map textures/desert_sd/sand_patchy.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaGen vertex
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/trail_alpha_1/terrain_0to4
{
	q3map_baseshader textures/trail_alpha_1/terrain_base
	qer_editorimage textures/temperate_sd/sand_patchnoise.tga
	surfaceparm landmine
	surfaceparm grasssteps
	{
		map textures/temperate_sd/sand_patchnoise.tga
	}
	{
		map textures/jungle_tex/forrest_ground.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaGen vertex
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/trail_alpha_1/terrain_1to2
{
	q3map_baseshader textures/trail_alpha_1/terrain_base
	qer_editorimage textures/jungle_tex/moss.tga
	surfaceparm landmine
	surfaceparm grasssteps
	{
		map textures/jungle_tex/moss.tga
	}
	{
		map textures/jungle_tex/rock_jungle.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaGen vertex
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/trail_alpha_1/terrain_1to3
{
	q3map_baseshader textures/trail_alpha_1/terrain_base
	qer_editorimage textures/jungle_tex/moss.tga
	surfaceparm landmine
	surfaceparm grasssteps
	{
		map textures/jungle_tex/moss.tga
	}
	{
		map textures/desert_sd/sand_patchy.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaGen vertex
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/trail_alpha_1/terrain_1to4
{
	q3map_baseshader textures/trail_alpha_1/terrain_base
	qer_editorimage textures/jungle_tex/moss.tga
	surfaceparm landmine
	surfaceparm grasssteps
	{
		map textures/jungle_tex/moss.tga
	}
	{
		map textures/jungle_tex/forrest_ground.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaGen vertex
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/trail_alpha_1/terrain_2to3
{
	q3map_baseshader textures/trail_alpha_1/terrain_base
	qer_editorimage textures/jungle_tex/rock_jungle.tga
	surfaceparm landmine
	surfaceparm grasssteps
	{
		map textures/jungle_tex/rock_jungle.tga
	}
	{
		map textures/desert_sd/sand_patchy.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaGen vertex
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/trail_alpha_1/terrain_2to4
{
	q3map_baseshader textures/trail_alpha_1/terrain_base
	qer_editorimage textures/jungle_tex/rock_jungle.tga
	surfaceparm landmine
	surfaceparm grasssteps
	{
		map textures/jungle_tex/rock_jungle.tga
	}
	{
		map textures/jungle_tex/forrest_ground.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaGen vertex
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/trail_alpha_1/terrain_3to4
{
	q3map_baseshader textures/trail_alpha_1/terrain_base
	qer_editorimage textures/desert_sd/sand_patchy.tga
	surfaceparm landmine
	surfaceparm grasssteps
	{
		map textures/desert_sd/sand_patchy.tga
	}
	{
		map textures/jungle_tex/forrest_ground.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaGen vertex
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/trail_alpha_1/terrain_base
{
	nopicmips
	q3map_lightmapaxis z
	q3map_lightmapmergable
	q3map_tcGen ivector ( 512 0 0 ) ( 0 512 0 )
}

(twt_thunder) #6

never mind, i will uninstall everything and delete directorys… it wont bsp anything…so forget this thread, but thanx for trying… probably will get the map working when doing this :smiley:


(Pray-N-Spray) #7

Didnt use easygen in a while but try to move last script on the top

textures/trail_alpha_1/terrain_base
{
nopicmips
q3map_lightmapaxis z
q3map_lightmapmergable
q3map_tcGen ivector ( 512 0 0 ) ( 0 512 0 )
}

Maybe will work.


(ailmanki) #8

There are a few more things which have to be set to get metashaders to work.
Maybe you missed one?
Entity keys, and the terrain.pcx - though for the later it would have an error msg. But I suppose if you are missing vital keys for metashader, it will not handle them correctly - and maybe throw the error you got.
http://en.wikibooks.org/wiki/Q3Map2/Entity_keys


(twt_thunder) #9

a reinstall fixed the problem :slight_smile: