Facepunch / garrysmod-requests

Feature requests for Garry's Mod
86 stars 24 forks source link

Increase maximum uniquely named lights #2233

Closed JohnOakman closed 12 months ago

JohnOakman commented 12 months ago

Details

I've been working on a map for 3 months now and I'm doing the finishing touches, modifying certain parts of the map to fit the gameplay I want to offer to players. However I've run into a problem, and that is the maximum number of uniquely named lights, or like vbsp.exe tells it: Too many switched lights (error at light 1), max = 32

To reproduce this error, simply create a map and name 33 lights differently.

Could this number be increased to at least 64 or more? For the time being, I'll have to scale down my ambitions to this limit.

Thank you!

Goldermor commented 12 months ago

if you have lights that turn off at the same time, give them the same names

JohnOakman commented 12 months ago

Yes, that's what I'm already doing. I've named sets of light and spots (named the same) that each correspond to a certain part of my map. Add on top of that lights for alarm/special effects. It turns out 32 just isn't enough for what I'm doing, but 64 would be enough.

robotboy655 commented 12 months ago

Increased by 64. Let's see if this breaks anything.