Shadow problem [SOLVED]

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
MandeRek
Sith Master
Sith Master
Posts: 2766
Joined: Tue Oct 02, 2007 10:51 am
Projects :: Battlefront Zer0
Games I'm Playing :: SWTOR
xbox live or psn: No gamertag set
Location: Ghosting around GT
Contact:

Shadow problem [SOLVED]

Post by MandeRek »

I've got a lot of problems lately.. Finally working on a map again. Anyhow, my map worked fine. Then, I removed an old object with a new objects. This new object had a 'shadowvolume' mesh instead of a 'sv_shield' mesh besides the main one. I also added a mustafar door, from the assets, unedited. And last, I made a new prop, just a normal one, also with a 'shadowvolume' mesh, and a lowrez ofcourse. Then what might be interesting is that the first model has all polygons transparent.

Then, my map crashed, before teamchoice, with this, I think the right, error:

Code: Select all

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Graphics\PC\pcRedStencilShadow.cpp(892)
No shadow data!
I thought: this has to do with my 2 new objects, since i gave them 'shadowvolume' meshes and not 'sv_...' ones. I removed from both object those meshes, re-exported, and still it gives me this crash. Anyone got an idea?
Last edited by MandeRek on Thu Jul 02, 2009 4:45 pm, edited 1 time in total.
User avatar
Super_Clone
High General
High General
Posts: 803
Joined: Sat Jul 12, 2008 7:58 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Florida

Re: Shadow problem

Post by Super_Clone »

Yea, my side test (Not the one i just had help with today) crashes with this problem... help would also be appreciated
MandeRek
Sith Master
Sith Master
Posts: 2766
Joined: Tue Oct 02, 2007 10:51 am
Projects :: Battlefront Zer0
Games I'm Playing :: SWTOR
xbox live or psn: No gamertag set
Location: Ghosting around GT
Contact:

Re: Shadow problem [TOP PRIORITY]

Post by MandeRek »

Okay, I changed both meshes again, and added sv_... meshes. Still, the crash. I also removed the Mustafar door.. Still, a crash.. Has this something to do with objectcount? I'm clueless and don't want to sacrifice my map for it.

Someone got experience with this kind off crashes?


EDIT
Okay, this is bugging me. Sorry for the double post, but I got a huge problem. I munged another map, so another data_... folder and all that, and now the MUNGED modes crash with the same error. All assets' maps work fine, other mod maps too. But when I munge something now, the thing i munged it for crashed with this error again:

Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Graphics\PC\pcRedStencilShadow.cpp(892)
No shadow data!

I'll try and open that file, see if something is wrong.. But i really need help before my whole BF2_ModTools map is messed up. I think my problem lays in the fact that i added all stuff from the assets Animations folder, to data_DB1\Animations, and edited the munge, as said in FragMe!'s tut. Still, after removing this, and clean/munge, still the same errors..
Post Reply