TombEngine
TombEngine copied to clipboard
LUA script to add dynamic lights to static doesn't affect UNIQUELY placed statics placed in a FlipMap room.
Hello. I have a LUA script to add dynamic lights to all statics that are static #2, a null mesh. It currently works on regular rooms, but won't ACTIVATE as expected on FlipMaps. I know that statics placed in regular rooms then turned into flipmaps don't exactly have ID's. However, even if you place a unique statics in the flipmap room that come with static ID's in Tomb Editor, it still won't work in game.
Sometimes the level will play, other times activating flipmap will crash the level.
My current workaround has been to make my "flipmap room" with dynamic lights the regular room. Then make the boring room without dynamic lights my flipmap room as seen in 05:20 in this video: https://www.youtube.com/watch?v=9D5Dn3epqQM