External lightmaps created with no -external switch?


(Rummie) #1

Hi,

Having a weird problem with a friends map. It is a RTCW map and when we compile we are getting external lightmaps created even though we are not using the -external switch. Obviously this is bad since RTCW doesn’t support external maps. What could be causing this?

Thanks!


(ydnar) #2

Your map has one of the following:

  • light with a “style” key
  • light with a “targetname” key
  • shader with q3map_lightstyle

Non-Raven games don’t support lightstyles natively, so Q3Map2 generates external lightmaps.

y


(ratty redemption) #3

am I right in thinking q3map_lightmapsize also creates external lightmaps?


(Rummie) #4

Thanks ydnar!


(ydnar) #5

Yes, that is correct. If the lightmap size specified is nonstandard then that lightmap will be exported/external.

y


(ratty redemption) #6

understood and I`m moving over to et to build, test my maps in, what q3map_lightmapsize do you recommend?


(ydnar) #7

You can control it from the command line with -lightmapsize N.

I recommend 256 or 512, but not any larger.

y


(ratty redemption) #8

thanx and I guess the advantage of the command line version is that it works for all lightmapped shaders, not just ones where we`ve used q3map_lightmapsize?

and is the default size 128?