Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
Granted, I used your script as a base / inspiration for the script, it is quite different from yours although does the same thing. I do apologize for not asking you if I could take your script and overhaul it. However, the last time your script was updated was back in 2015, and while I have used your script for a long time it has become a bit outdated. Therefore, I thought it would fair game to do my own support for the script. My current version of the script has quite a few more features than the original, such as including and balancing drill inventory.
This script generates a color value between the starting color and ending color using interpolation function built into the vrage library.
It technically handles every percent between 0 and 100. I believe there is an exception to that is if you choose 2 colors very close to each other.
an example though not correctly calculated
starting R: 0; G: 255; B: 0
ending R:255; G:0; B:0
currently at 55%
ending color will look something like R: 140.25; G: 140.25; B:0;
for the actual math behind it look at interpolation(LERP) http://en.wikipedia.org/wiki/Linear_interpolation