View Single Post
Old 03-25-14, 10:38 AM   #3046
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by gap View Post
Trust me or not, the one possible linear function which interpolates the two extremes derived min. signal strength (x1) - derived min signal strength x game's nighttime multiplier, is the one I have suggested at post #3032
You're hung up on something. The code I posted is a linear function. I tested it in the debugger to ensure it was linear. Giving available light as 0.499999 results in minimum signal strength of original minimum signal strength. Giving available light as 0.283 (game's nighttime value) results in minimum signal strength * 3.0. Giving available light as 0.3915 (half-way point) results in minimum signal strength * 1.5. How is that not linear?
TheDarkWraith is offline   Reply With Quote