Posted by CogKing on March 18, 1998 at 18:20:17:
In Reply to: AddDynamicAdd() verb (CogKing?) posted by Osan`gar on March 18, 1998 at 18:09:08:
> Any ideas on what this does. Pele and I were discussing it while going over a cog, and we began to wonder what it was used for and what it's parameters are. Does it add a Tint to the players screen? I wouldn't think it was that since there is already AddDynamicTint(). CK, I'm assuming you can help out with this one. :)
> -Osan`gar
AddDynamicAdd(player, R256, G256, B256);
AddDynamicTint(player, R1, G1, B1);
The adds are simply an addition to a color in the palette : suppose you add
red, well simply everything goes up in red. The tints are modifications in such
a way as to make the light remaing more or less identical : if you tint red JK
will add to the red component, but also subtract from the blue and green.
Tints RGB components are from 0.0 to 1.0, while add RGB components are
from 0 to 255. These Adds and Tints are dynamic, meaning they wear off over
time.
-CogKing