KatsBits Community

Game Editing => Q3Map / Q3Map2 Compile Errors => Topic started by: kat on June 26, 2015, 02:58:39 AM

Title: StyleNum == MAX_SWITCHED_LIGHTS
Post by: kat on June 26, 2015, 02:58:39 AM
Problem
I've placed some lights with targets (I don't know exactly if it causes the problem or not). Then when I complied I got this error.

Code: [Select]
StyleNum == MAX_SWITCHED_LIGHTS
What does this mean? [3tehakanyuksel]

Solution
This occurs with targeted lights. It's a Quake/Quake 2 vestige where targetnames were indexed for lightstyles. Since Quake 3 has no lightstyles (no flickering lights), you can't target light entities. [ydnar]