Page 1 of 1

Weird crash

Posted: Thu Apr 15, 2010 3:34 pm
by martin105038
Hi, I´m making a map and when I try to play it in Battlefront II the game sometimes crashes and I get this message:

Message Severity: 3
C:\Battlefront2\main\RedEngineFL\Graphics\Pc\Shaders\pcTerrainShader2.cpp(293)
TerrainShader_: detail texture expects L8 format!

As I read in the BFront2.log errors explained post, it is caused by RLE compression.

The problem is that I didn't get this message before. It started after adding a hunt mode (I only had conquest mode before) and I haven´t added any new tga since then. When I run it in the BF2modtools, the ground texture disappears (I´m using the default Yavin one). I also tried deleting all the objects in zeroeditor and the msh folder, but it still sometimes crashes.

The weirdest thing of all is that I only have this problem when I play my map first in one mode and then in the other one. When I play my map and then play any other map, there is no problem, not even when I play it two times in the same mode (in this cases the severity 3 message above doesn´t appear). It is only when I play both modes one after the other one that it crashes.

Anyone knows what can be wrong? It isn´t a big deal as both modes work, the only problem is that you can´t play them one after the other one, but I would like to fix it if it is possible.

Thanks

Re: Weird crash

Posted: Thu Apr 15, 2010 7:56 pm
by lucasfart
martin105038 wrote: Message Severity: 3
C:\Battlefront2\main\RedEngineFL\Graphics\Pc\Shaders\pcTerrainShader2.cpp(293)
TerrainShader_: detail texture expects L8 format!
Try selecting all your textures in ZE texture mode, and get rid of all the detail textures. I'm not sure if that'll fix it, but its worth a try...

Could you post the full error log?

Re: Weird crash

Posted: Fri Apr 16, 2010 12:39 pm
by martin105038
I tried this, but it didn´t work. I must have done something wrong, but it doesn´t matter. I ended up using the assault mode instead of the hunt mode and it works fine now. Thanks anyway.