PDA

View Full Version : water and lighting


Snipperdepipper
Mar 11, 2012, 11:56 PM
I'm working on a level at this moment, with a custom build tileset and the following issue occurs; When I activate the waterlevel during testing, my lighting resets completely (from 80% back to 100%), which is quite strange, since I've done the same thing as they've done in the 2d JJR2 beach level.
Any suggestions what causes it?
Thanks!

Violet CLM
Mar 12, 2012, 12:10 AM
This is just how JJ2 works. If water has been activated, then ambient lighting <a href="http://www.jazz2online.com/jcsref/node.php?node=71&mode=id&menu=topics">affects the water color</a> (although only in 8-bit color mode) but not the lighting for the part of the level that is outside of the water. There is no way to disable this behavior, and moreover, no way to deactivate water within a level once it's been activated. Sorry.

ETA: In the name of being overly helpful, I guess you could try to find the memory addresses used for water and edit them using JJM-Script? I don't know if anyone actually uses JJM, though, and water might not be one of the values it can reliably edit (given that <a href="http://www.jazz2online.com/wiki/List+of+Jazz+Jackrabbit+2+Memory+Addresses">its address doesn't appear to be known</a>).