PDA

View Full Version : weird error message when compiling.


wannadie
03-23-2003, 11:23 PM
I get this error when I compile my map with both JKR & GTK:


entering c:/games/jediou~1/gamedata/base/shaders/skies.shader
entering c:/games/jediou~1/gamedata/base/shaders/sprites.shader
entering c:/games/jediou~1/gamedata/base/shaders/system.shader
entering c:/games/jediou~1/gamedata/base/shaders/test.shader
entering c:/games/jediou~1/gamedata/base/shaders/text_crawl.shader
entering c:/games/jediou~1/gamedata/base/shaders/ui.shader
entering c:/games/jediou~1/gamedata/base/shaders/yavin.shader
entering c:/games/jediou~1/gamedata/base/shaders/zoom.shader
entering c:/games/jediou~1/gamedata/base/shaders/sb-desert512.shader
Unknown surfaceparm: "nolightmap" processing textures/desert/desert_skybox
entering c:/games/jediou~1/gamedata/base/shaders/canyon_terrain.shader
Unknown surfaceparm: "nolightmap" processing textures/terrain/vxmpcanyon
Unknown surfaceparm: "nolightmap" processing textures/terrain/vxmpcanyon1
Unknown surfaceparm: "nolightmap" processing textures/terrain/canyon_0
Unknown surfaceparm: "nolightmap" processing textures/terrain/canyon_1
Unknown surfaceparm: "nolightmap" processing textures/terrain/canyon_2
Unknown surfaceparm: "nolightmap" processing textures/terrain/canyon_0to1
Unknown surfaceparm: "nolightmap" processing textures/terrain/canyon_0to2
Unknown surfaceparm: "nolightmap" processing textures/terrain/canyon_1to2
entering c:/games/jediou~1/gamedata/base/shaders/gall_spaceport.shader
Reading c:/games/jediou~1/gamedata//base/maps/desert/terrain3.bsp
Unspecified error - please contact John or Rick.


I was making terrain using the bottom brush as a simple patch mesh, I think that is the reason for error, but I was taught that method from a tutorial. The map is about 4000x3000 units. Any ideas why It does'nt compile?

yangyan
03-24-2003, 01:21 AM
I had this prob before so I'll tell you. There is no surfaceparm called "nolightmap". The nolightmap is used in the General keywords. Replace in the position of "surfaceparm nolightmap", with "q3map_nolightmap". That should fix it. It has nothing to do with the patch-meshes. By the way, where is this tutorial?

That part where it says "Reading c:/games/jediou~1/gamedata//base/maps/desert/terrain3.bsp", shouldn't it say "Reading c:/games/jediou~1/gamedata//base/maps/desert/terrain3.map"?

Leslie Judge
03-24-2003, 10:29 AM
Yes, it should read the .map file not the .bsp.

wannadie
03-27-2003, 11:02 PM
Originally posted by yangyan
...... Replace in the position of "surfaceparm nolightmap", with "q3map_nolightmap". That should fix it......

how and where do I replace that? do I replace it in radiant?

Originally posted by yangyan
That part where it says "Reading c:/games/jediou~1/gamedata//base/maps/desert/terrain3.bsp", shouldn't it say "Reading c:/games/jediou~1/gamedata//base/maps/desert/terrain3.map"?

How do I stop it from reading "terrain3.bsp", and instead make it read "terrain3.map"?

I can compile other maps without any problems, I would have thought that my GTK settings would apply to all maps I compile.

Leslie Judge
03-28-2003, 01:57 AM
First, nolightmap: you have to make the changes in the .shader files. In your case sb-desert512.shader and canyon_terrain.shader. They are in the base/shaders directory.

Second, reading BSP: I took a closer look. You are using sof2map for compiles. I assuming the part you posted is from the light phase. In that case it's OK it is reading from the BSP not the map.

That unspecified error is a bad thing. Nobody has an answer for it. Maybe John and Rick. :) We in the forums encourage people to switch to q3map2 (http://www.shaderlab.com/q3map2/2.5) as compiler.