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
@Daemonjax, I didn't fork this form Github. I code the code form a guy who got the code form a guy...But I can make one if it's helpful?
not sure if you also do C# dev for this mod, but I found the light cone to be too unnatural, because it just stops without fading. If you change AngledGlowFlooder.cs.addCellIndex to take the distance from the light source as argument, you can easily calculate the intensity as
double intensity = 1.0 - (double)distance/targetDistance;
and then use that to create a an individual light for each cell
ColorAtCellIndex = isBlocked ? new Color32(0, 0, 0, 0) : new Color32((byte)(254 * intensity), (byte)(255 * intensity), (byte)(179 * intensity), 0);
instead of using the standard Color = new Color32(254, 255, 179, 0);
This gives a good fade out effect to the light cone. Tried it out myself, I just do not want to fork the mod again. Cheers!