Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsJedi Outcast and Jedi Academy Editing Forum → Terrain problems
Terrain problems
2004-12-29, 5:58 AM #1
I have a problem, a while ago, i made a terrain with easygen that finaly works. I have placed some normal brushes in it, but now i am experiancing a problem, when i load it ingame, the terrain turns completely black. The normal brushes and other entities keep there textures, I am sure that the paths to the .pcx and the .shader file are allright. How do i fix this
2004-12-29, 9:56 AM #2
Did you make sure you started the map, if its MP, with sv_pure 0?
SnailIracing:n(500tpostshpereline)pants
-----------------------------@%
2004-12-29, 10:18 AM #3
it is SP
2004-12-29, 11:14 AM #4
Post the part of your shader that contains the $lightmap stage.
2004-12-29, 7:02 PM #5
yeah, post the lightmap stage, and if you're using fog, post the fog shader, because I had a syntax error once in my custom fog shader. It worked fine with normal brushes/patches, but once I had terrain in there, everything went pitch black.
Flipsides crackers are the best crackers to have ever existed
2004-12-30, 12:02 AM #6
sorry, I dunno what the lightmap part is so you must do with the complete shader:

Code:
textures/yavin_bigfight/terrain_base
{
	nopicmips
	q3map_lightmapaxis z
	q3map_lightmapmergable
	q3map_tcGen ivector ( 512 0 0 ) ( 0 512 0 )
}

textures/yavin_bigfight/terrain_0
{
	q3map_baseshader textures/yavin_bigfight/terrain_base
	qer_editorimage textures/yavin/rock3.jpg
	{
		map textures/yavin/rock3.jpg
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/yavin_bigfight/terrain_1
{
	q3map_baseshader textures/yavin_bigfight/terrain_base
	qer_editorimage textures/yavin/s_mud2.jpg
	{
		map textures/yavin/s_mud2.jpg
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/yavin_bigfight/terrain_2
{
	q3map_baseshader textures/yavin_bigfight/terrain_base
	qer_editorimage textures/yavin/rockmossy.jpg
	{
		map textures/yavin/rockmossy.jpg
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/yavin_bigfight/terrain_0to1
{
	q3map_baseshader textures/yavin_bigfight/terrain_base
	qer_editorimage textures/yavin/rock3.jpg
	{
		map textures/yavin/rock3.jpg
	}
	{
		map textures/yavin/s_mud2.jpg
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaGen vertex
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/yavin_bigfight/terrain_0to2
{
	q3map_baseshader textures/yavin_bigfight/terrain_base
	qer_editorimage textures/yavin/rock3.jpg
	{
		map textures/yavin/rock3.jpg
	}
	{
		map textures/yavin/rockmossy.jpg
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaGen vertex
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/yavin_bigfight/terrain_1to2
{
	q3map_baseshader textures/yavin_bigfight/terrain_base
	qer_editorimage textures/yavin/s_mud2.jpg
	{
		map textures/yavin/s_mud2.jpg
	}
	{
		map textures/yavin/rockmossy.jpg
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaGen vertex
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}
2005-01-02, 10:21 AM #7
Does somebody have an answer or idea...Or i need to start over again...and that is like, pure crap because i didnt saved the Easygen file...yeah, go on and kill me, just like i called my first JA map 'quicksave', hehehehe.
2005-01-02, 10:24 AM #8
Are you sure the terrain is a func_group?
SnailIracing:n(500tpostshpereline)pants
-----------------------------@%
2005-01-02, 12:23 PM #9
yes it is a func_group, i need to sleep now. Tomorrow i will post screenies and more details about the terrain
2005-01-03, 6:49 AM #10
What terrain generator are you using?
I was just petting the bunny, and it went into the soup can, and part of my hand went with it. - Red vs Blue
2005-01-05, 1:51 AM #11
easygen ofcourse...BTW: details

Quote:
..:::Loading details:::..

--- LoadMapFile ---

D:/games/LucasArts/Star Wars Jedi Knight Jedi Academy/GameData/Base/maps/yavin_bigfight.map
2366 brushes
197 entities
20.17 second(s) load time


Quote:
..:::terrain details:::..

Alphamap => yavin_bigfight.pcx
Shader => yavin_bigfight/terrain
Layers => 3
Terrain => 1
Classname => func_group
2005-01-05, 4:26 PM #12
Go into your level in SP with the problem terrain, and open the console. Then tell us what is in there.
SnailIracing:n(500tpostshpereline)pants
-----------------------------@%
2005-01-06, 4:22 AM #13
Quote:
directly from the console

----- server intialization -----

JA: v1.0.0.0 win x86 aug 5 2000
Server: yavin_bigfight
loading shader text.....
.....3713 shader definitions loaded

----- game initialization -----

Gamename: base
Gamedate: jul 23 2003

------------------------------------------
------------------------------------------
GlGetError () = 0x502
......loaded 1319 faces, 21 meshes, 133 trisurfaces, 0 flares


BTW. the strange thing is...when i load it in game...all the normal brushes and entity's are light...but the ground is black, no notex, no see-trough. Its just black

↑ Up to the top!