Strange light error, crashes game occasionally

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
User avatar
asleeponduty
Private First Class
Posts: 77
Joined: Tue Jul 22, 2008 3:05 pm
Games I'm Playing :: AaaaaAAaaaAAAaaAAAA
xbox live or psn: No gamertag set
Location: Illinois

Strange light error, crashes game occasionally

Post by asleeponduty »

I am havng some serious problem here with my map, it will randomly crash with a million of these severity 3's (see hidden). However its only one type of severity 3, and i could use some help fixing this
Thanks in advance!
Hidden/Spoiler:
Message Severity: 3
.\Graphics\Pc\pcRedRenderer.cpp(2206)
Out of space in lighting state pool!
Edit:
Yes, i know that Red means out of space
User avatar
bobfinkl
Rebel Colonel
Rebel Colonel
Posts: 593
Joined: Sun Jul 13, 2008 9:01 am
Projects :: Lots of unreleased stuff
Games I'm Playing :: Life
xbox live or psn: No gamertag set
Location: The quaint little city gametoast.

Re: Strange light error, crashes game occasionally

Post by bobfinkl »

I get similar errors all the time when I'm working with custom sides, if you have any I suggest you go look through them very carefully manual clean then munge and see if it works. If it doesn't work backtrack what you last did before you munged and it didn't work, undo things one by one until you find the error (it's a slow process I know but there really is no other way).
User avatar
asleeponduty
Private First Class
Posts: 77
Joined: Tue Jul 22, 2008 3:05 pm
Games I'm Playing :: AaaaaAAaaaAAAaaAAAA
xbox live or psn: No gamertag set
Location: Illinois

Re: Strange light error, crashes game occasionally

Post by asleeponduty »

In the mode it crashes in, i am not using custom sides though...
Any other suggestions?
User avatar
bobfinkl
Rebel Colonel
Rebel Colonel
Posts: 593
Joined: Sun Jul 13, 2008 9:01 am
Projects :: Lots of unreleased stuff
Games I'm Playing :: Life
xbox live or psn: No gamertag set
Location: The quaint little city gametoast.

Re: Strange light error, crashes game occasionally

Post by bobfinkl »

How many units do you have? That can cause a crash at random moments if you have too many, but if that's not it what did you do right before it started crashing?
User avatar
asleeponduty
Private First Class
Posts: 77
Joined: Tue Jul 22, 2008 3:05 pm
Games I'm Playing :: AaaaaAAaaaAAAaaAAAA
xbox live or psn: No gamertag set
Location: Illinois

Re: Strange light error, crashes game occasionally

Post by asleeponduty »

I thought this was the problem, but it still crashes, yet not as often.

Code: Select all

	SetupTeams{
		rep = {
			team = REP,
			units = 20,
			reinforcements = 150,
			soldier  = { "rep_inf_ep3_rifleman",9, 25},
			assault  = { "rep_inf_ep3_rocketeer",1, 4},
			engineer = { "rep_inf_ep3_engineer",1, 4},
			sniper   = { "rep_inf_ep3_sniper",1, 4},
			officer = {"rep_inf_ep3_officer",1, 4},
			special = { "rep_inf_ep3_jettrooper",1, 4},
	        
		},
		cis = {
			team = CIS,
			units = 20,  [i]I previously had this at 32, but it still crashes at times[/i]
			reinforcements = 150,
			soldier  = { "cis_inf_rifleman",9, 25},
			assault  = { "cis_inf_rocketeer",1, 4},
			engineer = { "cis_inf_engineer",1, 4},
			sniper   = { "cis_inf_sniper",1, 4},
			officer = {"cis_inf_officer",1, 4},
			special = { "cis_inf_droideka",1, 4},
		}
	}
     
    SetHeroClass(CIS, "cis_hero_darthmaul")
    SetHeroClass(REP, "rep_hero_anakin")
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: Strange light error, crashes game occasionally

Post by DarthD.U.C.K. »

what kind of map are you making? did you place many odf/ZE-lights or something similiar?
User avatar
asleeponduty
Private First Class
Posts: 77
Joined: Tue Jul 22, 2008 3:05 pm
Games I'm Playing :: AaaaaAAaaaAAAaaAAAA
xbox live or psn: No gamertag set
Location: Illinois

Re: Strange light error, crashes game occasionally

Post by asleeponduty »

Originally i had several lights, but they were slowing it down so i deleted them.
In the map, i'm using some trees from Endor which have "godray" .odf's attached.
Should I delete those out of the tree odf?
Hidden/Spoiler:
(Its a big map which I had made for my younger brother as a birthday present, he's a fanatic for battlefront II)
Post Reply