DeeperThought, on Jul 16 2010, 06:51 PM, said:
I agree, and I think that hardcoded lights should be kept to a minimum. In addition to the performance issue, there's the fact that mappers didn't consider many sprites to be light sources. Take switches, for example. Sometimes switches that are supposed to be hidden give themselves away in Polymer because of the light they give off. And there is another issue. In a TC, there may be a completely different tile of that number which the light doesn't fit, and it just adds one more annoying hardcoded thing for the scripter to deal with.
I agree with DeeperThoght, hardcoded sprite lights should be kept to a minimum and applied very carefully. There's another issue with them: when there are many light-emitting sprites on a small area, their effects on the textures are added together an the result looks completely "overexposed". The room with the slime babes and explosives in E3L1 is a good example.
High Treason, on Jul 16 2010, 08:15 PM, said:
I've had an idea, how difficult would it be to add a feature to Mapster32 where point lights show a circle on the 2D View like ambient sounds? This would be really useful. Just an idea.
Micky C, on Jul 17 2010, 09:41 AM, said:
I always thought it'd be nice if there was some way to see what colour polymer lights are in 2D mode, the only way to tell at the moment is to switch into 3D mode, which usually takes a few seconds, and it can be a bit time consuming if you have to make constant corrections to get the colour right. Although High Treason's idea would be more practical and easier to implement.
Been hacking that the whole evening (way too long), it's implemented in m32script. To fully display the projection of a spotlight would be pretty tricky, so only the general direction is shown. By the way, you don't need to tweak light parameters in 2d mode: if you enable EVENT_PREKEYS3D, some keypad keys will be overridden for SE light manipulations and some Polymer texture parameters, the usage is documented in a.m32. If you want the script extensions loaded when Mapster starts, you can now have a file m32_autoexec.cfg somewhere on you load path with
include samples/a
enableevent all
I've fixed that Mapster crash but, TX, there's something strange going on with the caching system it seems...