View Single Post
Old 03-25-14, 06:05 PM   #3058
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,214
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by TheDarkWraith View Post
This is a variable in the patch file where the user can define an amount to add to the nighttime multiplier. I have this set to 1.0 for units other than player's unit. Player's unit has a value of 2.5.
I see, good idea!

Is the same constant (night time multiplier addition) applied at night (i.e. when the daytime test fails)? It should

Quote:
Originally Posted by TheDarkWraith View Post
- subtract sunlight value - used to determine if nighttime (0.238) from start of nighttime value (0.5 - gets range) - result is 0.262
...
- subtract sunlight value - used to determine if nighttime (0.238) from current available sunlight (0.35) - result is 0.112
wasn't game's nighttime value equal to 0.283? Was that a mistyping by you, or you have added ways to customize that parameter too?

P.S: well done with your new function
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote