Maximum number of lights

Discussions about UT99
Post Reply
hee
Average
Posts: 68
Joined: Wed Jan 16, 2019 2:11 am

Maximum number of lights

Post by hee » Wed Oct 14, 2020 4:42 am

So there seems to be a max number of lights and when you exceed that number, the game crashes very badly.

User avatar
EvilGrins
Godlike
Posts: 7430
Joined: Thu Jun 30, 2011 8:12 pm
Personal rank: God of Fudge
Location: Palo Alto, CA
Contact:

Re: Maximum number of lights

Post by EvilGrins » Wed Oct 14, 2020 8:57 am

Then don't use that many lights.
Sorry, I'm a trekkie.
Attachments
573.jpg
http://unreal-games.livejournal.com/
Image
medor wrote:Replace Skaarj with EvilGrins :mrgreen:
Smilies · viewtopic.php?f=8&t=13758

hee
Average
Posts: 68
Joined: Wed Jan 16, 2019 2:11 am

Re: Maximum number of lights

Post by hee » Wed Oct 14, 2020 3:56 pm

Classic (though they stole the idea from 1984).

As for the OP. It was a community service announcement. I am working on reducing the number of lights and still be able to see.

User avatar
Feralidragon
Godlike
Posts: 5229
Joined: Wed Feb 27, 2008 6:24 pm
Personal rank: Work In Progress
Location: Liandri

Re: Maximum number of lights

Post by Feralidragon » Wed Oct 14, 2020 5:25 pm

Which game and editor version are you using? Is it v436 with UEd 2.0?

If so, that's normal, I had the same issue with my one of my latest maps, and it was fixed in the v469 patch, with an updated editor (UEd 2.2).

User avatar
Hook
Masterful
Posts: 745
Joined: Tue Apr 22, 2008 11:21 pm
Personal rank: UT99 Promoter/Admin
Location: Minnesota USA
Contact:

Re: Maximum number of lights

Post by Hook » Wed Oct 14, 2020 6:48 pm

If you are maxing out on lights in a map, you certainly are using way too many lights!
The more lights in a map, the larger the map file size is.
Using a large quantity of light actors in a map can contribute a lot to the map's file size.
Adjust your lights to illuminate larger areas, rather than using more light actors, where you can do this of course.
Also, make use of zone lighting where applicable, instead of using a bunch of lights all over. :tu:
=Hook=(Member# 626)
Active Forums: http://hooksutplace.freeforums.net
UT99 Server -> CROSSBONES Missile Madness {CMM}

* Newest Versions of: PRO-Redeemers | PRO-SNIPER-Redeemers | PRO-SEEKER-Redeemers <-(the Original)
and Now with FOOD FIGHT and Frying Pan arena !!!
IP: 68.232.181.236:7777
{CMH} CROSSBONES Monster Hunt (MH) by Mars007 (The Original) - IP: 108.61.238.93:7777

hee
Average
Posts: 68
Joined: Wed Jan 16, 2019 2:11 am

Re: Maximum number of lights

Post by hee » Wed Oct 21, 2020 4:19 am

Thanks for the info. I had a large outdoor area and had max range on the lights, but too much overlap. I was able to reduce the number quite a bit.

For general information, the maximum lights that did not crash was 737.

User avatar
TexasGtar
Skilled
Posts: 210
Joined: Sun Feb 16, 2020 5:52 pm

Re: Maximum number of lights

Post by TexasGtar » Fri Oct 23, 2020 2:38 am

737..................and that's a magic number.

Image

User avatar
sektor2111
Godlike
Posts: 4801
Joined: Sun May 09, 2010 6:15 pm
Location: On the roof.

Re: Maximum number of lights

Post by sektor2111 » Fri Oct 23, 2020 10:26 pm

Are you done ? Good...
Now let me detonate the fake news number from above description. We have a recent posting which demonstrates a few good looking things. Take a look here:
Shadow_Lights.PNG
You don't need to believe me, check the post and demo map posted... This LightPath is a subclass of Light - A Light class after all.
fake "Dynamics" shadows again..
We can talk about what is supported in Editor as Dynamic Lightning vs Textured View - these are not the same things... and I think I could figure whatever map by Alexanderr if I'm not mistaking and one by Ferali which definitely are having more lights than whatever 700+.

And then... the true story is how much memory can be accessed on 32 bits. When memory is full filled then you can expect the unexpected... or when certain constant goes over boundary, Engine will die, else render will die due to lightning data, and so on. It's crashing in less than an eye blink.

And moving to Dynamic Lightning:
4000AndSomething.PNG
If you are having issues with drivers that's a different story, my rig can open maps with more than 4000 lights and then 700 it's not a limitation but a bunch of lights in the same place are not supported - LightPath sample map demonstrates that.

Post Reply